View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default Which function? Biggest distance to the Nearest city ...

Yes, David, but the OP put it in the form I used in his posting.

Pete

On Oct 11, 1:43 pm, "David Biddulph" <groups [at] biddulph.org.uk
wrote:
"Pete_UK" wrote in message
...
You can apply your formula to each cell, something like:


=(($B4-D$2)^2 +($C4-D$3)^2)^0.5


...

Or, if you prefer, =SQRT(SUMSQ($B4-D$2,$C4-D$3))
--
David Biddulph