INDEX MATCH LEFT for first 25 characters (all text)

lawi227

Board Regular
Joined
Mar 17, 2016
Messages
123
I conducted a survey and I am trying to return a value using index match. I am realizing that some of the text of the survey has been edited, so my index match isn't finding what it needs to. I thought I would have a better return rate if I instead of matching the whole cell, I would match just the first 25 characters.

I am attempting to use this formula:
=INDEX(Data!$B$4:$B$134,MATCH(LEFT(Calculation!$E5,25),Data!$B$4:$B$134,0))

It is not returning any matches.

I've tried variations like this:
=INDEX(Data!$B$4:$B$134,MATCH(LEFT(Calculation!$E9,25)*1,Data!$B$4:$B$134,0))

Still doesn't work.

Does anyone know how to use the left formula or is there a better way to try to match text and return a value?
 

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.
Try:

Code:
=INDEX(Data!$B$4:$B$134,MATCH(LEFT(Calculation!$E9,25),LEFT(Data!$B$4:$B$134,25),0))

Entered using Ctrl+Shift+Enter (array formula)

WBD

Or what Eric says :)
 
Last edited:
Upvote 0
Code:
=INDEX(Data!$B$4:$B$134,MATCH(LEFT(Calculation!$E5,25),Data!$B$4:$B$134,0))
Does the data in column B match the first 25 characters in column E?

if you have "I like the mr excel fourm a lot." in column b and the first 25 characters in column E are "I like the mr excel fourm" you would not get a match. you would need to use the left function on column B
 
Upvote 0

Forum statistics

Threads
1,214,967
Messages
6,122,503
Members
449,090
Latest member
RandomExceller01

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