Thank you very much bosco_yip Sir,
You solved my problem. You gave me exact solution.
Although I got the solution, I have another question about the same Excel Sheet i.e. Can I get the values using colour which I highlighted in the same Excel Sheet?
Means for example instead of using 'X', can I search for Blue Cells and take only those values and calculate?