Index Match question

billfinn

Board Regular
Joined
Jun 7, 2018
Messages
114
Office Version
  1. 2016
Platform
  1. Windows
Good morning!
I am trying to teach myself how to use Index Match to address a request from my VP and am running into an issue. I think I know what's causing it but want to be sure. I'm creating a summary section with multiple types of data and the columns aren't consistent. I have a description in E58 that I want to find in the workbook Item Master and return the Item Number . I want the Item Number to be shown in D58, which is where the formula is located. Formula is
Code:
=INDEX('Item Master'!A:A,MATCH(E58,E58:E60,0))

I can successfully do an index match in the Item Master worksheet that has consistent columns with the same data type. That's what makes me think my layout could be a problem.
My file is quite large , I can try to create a sample file if that is what's required

Any thoughts or suggestions are very much appreciated
thanks,
Bill
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Never mind, I figure out what I was doing wrong. I needed to reference the Item Master sheet on both ends of the formula and hadn't. Working fine now.
sorry for the interruption.
Bill
 
Upvote 0
Im not quite sure what was intended in your formula but i dont think its a reference to a sheet thats your entire issue. This for instance always produces whatever is in cell A1 of Item Master sheet provided E58 isnt blank or an error:

=INDEX('Item Master'!A:A,MATCH(E58,E58:E60,0))

The match will always produce 1 or an error so the index is always fed 1 and of a column reference that is the first cell in that column.
 
Upvote 0

Forum statistics

Threads
1,223,707
Messages
6,174,000
Members
452,542
Latest member
Bricklin

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