vlookup surveying

Marie81

New Member
Joined
Aug 21, 2017
Messages
7
Location (SSM)
Easting
Nothing
WAS 001
391428
6470346
WAS 002
400141
6470614
WAS 003
402232
6464061
WAS 004
394873
6474355
WAS 005
393893
6464097
WAS 006
396395
6468007
WAS 007
394026
6467774
WAS 008
396126
6472008
WAS 009
398779
6469584
WAS 010
390263
6464358
WAS 011
396514
6461943
WAS 012
398355
6465536
WAS 013
388091
6467173
WAS 014
402582
6466305
WAS 015
393924
6458361
WAS 016
392549
6472449
WAS 017
396136
6459788
WAS 018
388528
6465303
WAS 019
392105
6468441
WAS 020
392324
6461243

<tbody>
</tbody>


Hi everyone,

Can help for the above data. Your senior surveyor has asked you to write an excel program that will determine the closest SSM that the company has in its database to the location where any of the surveyors in the company working. From the list in the spreadsheet above, you are to:

1) input the location of the surveyor
2) determine the closest SSM
3) output the distance to the SSM from the location of the surveyor
(distance =SQRT(DiffEasting^2 - DiffNorthing^2)
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
*Yep homework, tried to work it out but can't seem to get it.

Location (SSM)EastingNorthingDistanceSurveyor LocationWAS 019
WAS 00139142864703468717.121
WAS 00240014164706140.000
WAS 00340223264640616878.524
WAS 00439487364743556461.184Closest SSMWAS 015
WAS 00539389364640979028.222
WAS 00639639564680074563.876
WAS 00739402664677746742.316
WAS 00839612664720084250.113Distance#VALUE!
WAS 00939877964695841707.614
WAS 010390263646435811692.409
WAS 01139651464619439399.009
WAS 01239835564655365382.925
WAS 013388091646717312531.679
WAS 01440258264663054952.369
WAS 015393924645836113739.982
WAS 01639254964724497810.614
WAS 017396136645978811543.063
WAS 018388528646530312769.827
WAS 01939210564684418324.616
WAS 020392324646124312203.325

<colgroup><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,607
Messages
6,125,818
Members
449,262
Latest member
hideto94

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top