XLookup -or- Countif with leading numbers then Character

cjmueller08

New Member
Joined
Aug 28, 2009
Messages
18
I keep running into this problem while trying to perform xlookups from system outputted data in a .csv format.

Scenario is I have a column that changes total numbers and also will and will not have a character at the end. I have the same data in both columns I'm trying to extract a xlookup value from, but I cannot get the two to talk.

Example of data (would be present in the lookup column, and array column)

1530 - Match
1555W - Match
16990 - NO Match
16990W - Match

I've tried helper columns but due to the 16990 (no match) and 16990W (match) I can't do much character extraction for multiple Xlookup's or countifs.

Any insight into this would be appreciated.
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
What version of Excel are you using ?
What is the formula you are using ?
If you change the column to Currency do both the 1530 AND the 16990 change ?
Also show us the data layout if you are using a picture include the Row and Column references.
 
Upvote 0

Forum statistics

Threads
1,223,876
Messages
6,175,129
Members
452,614
Latest member
MRSWIN2709

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