Index Match left of lookup and left of value

RockandGrohl

Well-known Member
Joined
Aug 1, 2018
Messages
788
Office Version
  1. 2010
Platform
  1. Windows
Hi guys

Comparing long chains of numbers, where say, the first 10 digits of the lookup value and the array they are stored in match, however the right side of the digits don't match for whatever stupid reason.


Anyway to do an index match that's like...
Excel Formula:
Index([answer column],match(left([Lookup value],10),left([lookup array],10),0))
?

Cheers!


For further clarification, the string of numbers is 17 digits long, but only the first 15 digits match. For some god-forsaken reason on one sheet they all end with a 0, and on the other it's a random digit.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
If I can do something similar to this:


Where I lookup the first 14 digits, plus a wildcard, that would possibly work.

Excel Formula:
=INDEX('UHB BES Total Data 20-08-21.csv'!$I:$I,MATCH(LEFT($H2,14)&"*",'UHB BES Total Data 20-08-21.csv'!$AK:$AK,0))

However, this does not work.
 
Upvote 0
Why not give us some sample data and expected results with XL2BB so that we can test?
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,728
Members
448,987
Latest member
marion_davis

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