Seeking to use MATCH, ignoring first character

auto.pilot

Well-known Member
Joined
Sep 27, 2007
Messages
734
Office Version
  1. 365
Platform
  1. Windows
I have a long column of populated data that contains both numbers and letters (source). On a separate sheet, I have another column with the same information in a different order (destination). In the source column, the first character is missing from several entries. I need a method using MATCH on the destination sheet that will match all but the first character. Other considerations: I can't sort either worksheet. All entries in the destination column are 9 characters. Some of the entries in the source column are 8 characters (first one missing).

I've searched but can't find anything quite like this.

Would appreciate any thoughts.

Thanks

Jim
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
You can use an array to do it.

Code:
{=INDEX([DATA TO RETURN],MATCH([SHORT ENTRY],RIGHT([SOURCE COLUMN],LEN([SOURCE COLUMN])-1,0))}

Replace DATA TO RETURN with the column that contains the data you want to find, SHORT ENTRY with the reference with the missing first digit, SOURCE COLUMN the whole column with the full reference.

This is an array, so don't add the curly brackets. Once you've put the formula in, CTRL+SHIFT+ENTER to make it an array.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,326
Members
452,635
Latest member
laura12345

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