Hi,
I have the following formula, which is calculating the set of coordinates that are closest to another given set of coordinates, from a list:
=IF(B3<>"",(SMALL(ACOS(SIN(RADIANS(E3))*SIN(RADIANS($E$3:$E$67))+COS(RADIANS(E3))*COS(RADIANS($E$3:$E$67))*COS(RADIANS($F$3:$F$67-F3))-1*10^-14)*6371,2)),"")
This formula works up until row 67, but then if I expand this downwards further into my range (where there are blanks, e.g. row 68 has a blank in E68) it gives me a value error. I want to expand my range to $E$3:$E$10002 (the extent of my range). So, what I need to know is, is there way to make the formula ignore blank entries and calculate from all populated ones? so that I can use the full range down to 10002.
FYI - The "blanks" I talk about are "" results from a formula, not true blanks - so there are formulas in those cells.
Example file can be found here: https://1drv.ms/x/s!AtIvkRgReIvwjx3i...fMvEI?e=c6ySJK
Also posted on Mr.EXCEL: https://www.mrexcel.com/board/thread...2#post-6048615
Thanks in advance!
Olly.
Bookmarks