hi, i want to write a formula to find the closed point of one list to one specified point, attached file show my question solved whit spreed sheet, but i want to convert it to one formula (VBA). can every one help me?
hi, i want to write a formula to find the closed point of one list to one specified point, attached file show my question solved whit spreed sheet, but i want to convert it to one formula (VBA). can every one help me?
If you want to eliminate column G and use a single formula then try this "array formula"
=MIN(TEXT(SQRT((D$3-A3:A500)^2+(E$3-B3:B500)^2+(F$3-C3:C500)^2),"[>0]General;99999")+0)
confirmed with CTRL+SHIFT+ENTER
Audere est facere
oh my god! tank you man) i don't know what is the array formula!!! but tanks a lot!
but a minor question: i can't drag down this formula to apply to another row in blue color! (yes i add some another data below the blue column !) when i prefix reference in formula whit $ for drag down, it doesn't work
An array formula is one that should be entered with Ctrl+Shift+Enter after putting your insertion point in the formula bar.
The formula will then be delimited by braces. ( adding braces manually will NOT work)
Any change in the formula requires you have to commit again with CSE
i got it ! tanx
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks