Index Match with * LEFT

MrsFraser07

New Member
Joined
Aug 16, 2017
Messages
46
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi all,

I got a spreadsheet from someone else and I'm curious as to what part of the formula does. It seems to work without the *LEFT($G5,2) in it. Here is my formula:

=INDEX('AER Export'!$A:$N,MATCH($B5,'AER Export'!$A:$A,0,8)*LEFT($G5,2)

I have never used the * as part of an INDEX MATCH before. What does it do? Really appreciate the help, I tried Googling all of this but didn't get my answers.

Shari
 

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.
Firstly that formula doesn't formula doesn't work,can you check that you have entered it correctly?
Also what is in G5?
 
Upvote 0
Firstly that formula doesn't formula doesn't work,can you check that you have entered it correctly?
Also what is in G5?

The formula does work, sorry I missed a bracket when typing it here. It should have been: =INDEX('AER Export'!$A:$N,MATCH($B5,'AER Export'!$A:$A,0),8)*LEFT($G5,2)

I actually think I got it figured out. In Cell G5 there was a space before the first character in the text string. This is what is in cell G5. " 1 [PVS_Abandoned_Well] " So, the formula is finding a match and then multiplying it by 1. For some reason I thought the *LEFT($G5,2) was part of the INDEX MATCH and I couldn't see what it was doing, but yet it worked! Wanted to know why.
 
Upvote 0
Glad you figured it out & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,169
Members
453,021
Latest member
Justyna P

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