Lookup using Multiple criteria in Excel/VBA

arunt_28

New Member
Joined
Apr 4, 2014
Messages
1
Hi All,

I'm trying to solve the below problem, Can any experts help me to solve it, Thank You

In the below table, if i enter X,Y&Z i need the corresponding Node which is near to this X,Y& Z values. Example if Enter X= 8900, Y=1000,Z=1000, the output should be Node:2

NodeXYZ
1100010001000
2880010001000
31670010001000
42450010001000
51000100010700
624500100010700
71000100020050
88800100020050
916700100020050
1024500100020050
11100060001000
12880060001000
131670060001000
142450060001000
151000600010700
1624500600010700
171000600020050
188800600020050
1916700600020050
2024500600020050

<colgroup><col><col span="3"></colgroup><tbody>
</tbody>


<colgroup><col><col span="3"></colgroup><tbody>
</tbody>

<colgroup><col><col span="3"></colgroup><tbody>
</tbody>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Welcome to the board!

I don't think you given enough info for us to help you.

Is it always just X that deviates from the values in the list or can the deviation be with Y and Z as well?
Can the deviation be in more than one of the 3 columns at the same time?
Are you trying to do this with formulas or VBA code?

At first glance, I would say sum X,Y,Z in column "E" and compare that to the sum of the X, Y, Z that you enter. That should narrow the list
substantially. Maybe if you subtract one sum from the other the smallest absolute value will be your solution. I guess it depends on the answers to the questions above.

Gary
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,936
Members
449,094
Latest member
teemeren

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