I think earlier in this post I have described my problem wrongly though the formula given buy Hui works great but my need is different. I want to use values from the column A in the same row where there is blank cell in column B
Col A Col B
1000 2
2000 4
1000
2000 5
3000 3
4000 <= (Col A 4000 is the ans i need to use that cell value in other formula)