Hi Narayan,
I have had a look at the file you left thank you and I see that it works fine.
To try and understand it though I have taken it apart and this is where I have got to...
Row 1 =IF(D4="",0,IF(D4=0,-999,1)) I understand and is looking for a fine value, a blank or a zero. it then put...