Index Match Based on a formulated value

boll55

New Member
Joined
Nov 13, 2012
Messages
29
I really enjoy using index match for look up purposes, i find it very useful but i am struggling with this one instance. I have a formula in column T that reads =LEFT(U7, LEN(U7)-1) and generates a number for me. I want to Index match off of this number but it is not working and only returning N/A. I know my index match formula is correct but the only thing i can assume is it cant generate off this formula but i generate off of formulas all the time so idk why this is an issue this time. Please help!!

Thanks!
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
LEFT returns a TEXT value. To convert to an actual value, try one of the following
=LEFT(U7, LEN(U7)-1)+0
=LEFT(U7, LEN(U7)-1)*1
--LEFT(U7, LEN(U7)-1)
 
Upvote 0
The Left function (as well as Right and Mid) returns a TEXT String, not a number.
Even if the result is numerical characters.

Try adding 0 to the end of the left function..
=LEFT(U7, LEN(U7)-1)+0

Note, this will return an error if the result of the left function is NOT numerical characters.
 
Upvote 0
Your formula returns a string, so if you are trying to match result against numeric values it won't work.

You need to convert the result of the formula to a number.

Here's one way to do it.

=LEFT(U7-LEN(U7)-1)+0
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,334
Members
449,077
Latest member
Jocksteriom

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