INDEX and MATCH and LEFT?

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
611
Office Version
  1. 2019
Platform
  1. Windows
Hi:

Tab1: Mike Sales & Service $4,500.00

Tab2: Mike Sales & Service (MSS)

I want to get value from tab 1 for Mike Sales. Value is in column F. I cannot change name in tab 2.

Formula below is returning #N/A.

INDEX('tab1'!$F$5:$F$31,MATCH(LEFT(A3,10),'tab1'!$E$5:$E$31,0))

Could you suggest a fix please?

Regards,
Sean
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

RoryA

MrExcel MVP, Moderator
Joined
May 2, 2008
Messages
37,563
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2010
Platform
  1. Windows
  2. MacOS
You need to add a wildcard:

INDEX('tab1'!$F$5:$F$31,MATCH(LEFT(A3,10)&"*",'tab1'!$E$5:$E$31,0))
 

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
611
Office Version
  1. 2019
Platform
  1. Windows
Thank you very much.

Regards,
Sean
 

Forum statistics

Threads
1,144,515
Messages
5,724,811
Members
422,579
Latest member
parsnipsnatcher

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
Top