Mixed Data Type using Index Match

Shetara

New Member
Joined
Feb 17, 2017
Messages
43
Hello,

I am trying to pull from a column within a table that has mixed data types (numbers & Text comine) and place it into another table. When I am doing so, some items return as the exact match and others read a "N/A". I am looking for an excel formula to return/match all items needed.

Here is sample data:
(Where I would like the data to go) - Item Call
Ref NumberItem Call
912364Purse
18666B6N/A

<tbody>
</tbody>

Data Source:
Ref Number (Match)Item Call (Index)
912364Purse
18666B4Shoes

<tbody>
</tbody>
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi,

Your description is not clear. Are you saying you want 18666B6 to be a match for 18666B4?, or are you saying you don't want the #NA error to show?
 
Upvote 0
Hi,

I guess the easiest solution would be to just use a helper-column in the data source to convert all values to text, and then use the TEXT function to convert the lookup value to text.

Another solution is to use the IFERROR function, and use the same index match twice, but forcing the lookup value to numbers for the first, and text for the second if the first results in an error.
 
Upvote 0

Forum statistics

Threads
1,216,216
Messages
6,129,564
Members
449,516
Latest member
lukaderanged

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