Find closest match in a horizontal

edtwiest

New Member
Joined
Sep 1, 2010
Messages
31
Office Version
  1. 365
Platform
  1. Windows
I have items with a current value and now we have done some calculations en the new results are columns E-L

If i want to have the nearest match to item 1-002, the nearest match should be 150 [closer to 167,39 then 207]

I've tried to do index and match with multiple criteria, but all i got was errors.
Maybe some kind of matrix-formule??

I hope some wizzkid overhere is able to help me out.

Thanks in advance, Edwin
1646123323793.png
 

Attachments

  • 1646123219673.png
    1646123219673.png
    18.4 KB · Views: 4

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
With 2016:

Excel Formula:
=AGGREGATE(14,6,INDEX(F$2:L$9,MATCH(A2,E$2:E$9,0),0)/(ABS(INDEX(F$2:L$9,MATCH(A2,E$2:E$9,0),0)-B2)=MIN(ABS(INDEX(F$2:L$9,MATCH(A2,E$2:E$9,0),0)-B2))),1)
 
Upvote 0

Forum statistics

Threads
1,215,674
Messages
6,126,144
Members
449,294
Latest member
Jitesh_Sharma

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