Vlookup - criteria is using the result of an index match array - gets 0

MixedUpExcel

Board Regular
Joined
Apr 7, 2015
Messages
222
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I have 2 formula's in 2 cells.

Cell 1 - is using iferror / index / match (concatenate)
Cell 2 - is a vlookup

Cell 1 returns the value (text) that I am expecting
Cell 2 returns a 0 when I am using the Cell 1 as the criteria for the lookup (this is not the correct result)

As I have confirmed Cell 1 with SHIFT + CTRL + ENTER, I'm assuming that the vlookup can't use the array as a criteria? or at least without something else in there to help.

Can anyone tell me how this is usually fixed so that result is correct and not 0?

Thanks.

Simon
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Hi,

In this case, I'm not sure why the formula is relevant as I was just wondering if this was a common issue to do a look up using the result of an array as the criteria in a vlookup and how this would be usually fixed, however, here are the formulas:

The sheet name that both of these are on is ' Template '

Cell C7 -
Code:
=VLOOKUP(E7,'[CODES.xlsx]Fascias'!$A:$B,2,0)
Cell E7 -
Code:
{=IFERROR(INDEX('RIGID LH'!G:G,MATCH(CONCATENATE('O7,P7,Q7),'RIGID LH'!L:L,0)),"")}

Thanks.
 
Upvote 0
The 2nd formula doesnt need to be array entered. The vlookup will happlily use the result in cell E7 for its lookup value. If the result is 0 then either the result really is a zero or the cell in column B of the Fascias sheet is blank.
 
Upvote 0
Hi Steve,

Thanks for the tip about not using an array, I'm so used to using Index Match Match... however, that didn't sort my issue but did lead to the solution.

What excel wasn't telling me initially was that there was a circular reference using the cell I was trying to put the formula into. When I typed my VLOOKUP in an unrelated cell, regardless of how I had confirmed the Index Match formula, it brought back the result I was expecting.. so the issue was 'circular reference'.

Thank you for your time in looking into this.

Simon
 
Upvote 0

Forum statistics

Threads
1,214,543
Messages
6,120,123
Members
448,947
Latest member
test111

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