Help with INDEX MATCH to find absolute closest value

Maverick27

Active Member
Joined
Sep 23, 2010
Messages
329
Office Version
  1. 2013
Platform
  1. Windows
I need help troubleshooting 2 diff "Index Match Formulas" to find closest match btwn Col A & Col C of my worksheet :rolleyes:


  • The range in Col C is where I want to find the specific value.

  • A2 is the searching value that I want to be compared with (Function to be copied across down the Col)

The 2 functions I'm trying to troublesheet :

Code:
[FONT=verdana]=INDEX(C2:C20000,MATCH(MIN(ABS(C2:C20000-A2)),ABS(C2:C20000-A2),0))[/FONT]


Code:
[FONT=verdana]=INDEX(A2:A10000,MATCH(TRUE,ABS(C2:C20000-A2)=MIN(ABS(C2:C20000-A2)),0))[/FONT]


Unfortunately both functions are returning a result of "#VALUE!"

The expected result for closest match to 876-SCALE in A2 should be:
0876-SCALE (Row 5449 of Col C)



Somebody pls help
:confused:
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
the abs() function works with numbers only but your data are both numbers and texts thus the #value errors
 
Upvote 0

Forum statistics

Threads
1,216,073
Messages
6,128,645
Members
449,461
Latest member
kokoanutt

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