By: Mahfuza Anika Era

In reply to Zsolt.

Hi Zsolt!

You are most welcome. It seems to me that you are trying to write a decimal number using a comma (,) instead of a decimal point(.). If you write the latitudes and longitudes as 42.328674 and -72.664658 instead of 42,328674 and -72,664658 the function should not return any error and you should get your expected result.

Regards,
Nafis
ExcelDemy