May 09 2022 07:14 AM
Dear excel community,
I need your help on figuring out why my index match formula is not working. see below screenshots with the formula in orange on "DRD581IVO BARN" sheet..
I am trying to automate administrative templates for my company to not have to manually enter each piece of information, and this way avoid human mistakes...
However, when I try to use the index/match formula, with several criteria, it is not going anywhere. I am pulling all my array data from the "array sheet", and what I need as a result is the "option ID" for the corresponding SKU "DRD581IVO" only for the "BARN" DC (Distribution Center) only.
So my formula currently looks like:
='INDEX('array sheet'!D2:D385,MATCH(1,(O5='array sheet'!C2:C385)*(U5='array sheet'!E2:E385),0))
Could someone please explain to me why it is not working and what the solution is? (Im using office 2019 version)
- is it because I am pulling data from another sheet?
- is it because some of the data I am using have formulas in (O5 and U5)?
- or any other reason :\ ?
I have been on this for hours it seems like, would very much appreciate some help!!
Thanks A LOT in advance
Marina
May 09 2022 07:28 AM
='INDEX('array sheet'!B2:B385,MATCH(1,(O5='array sheet'!A2:A385)*(U5='array sheet'!C2:C385),0))
Does this work in your sheet? The value from cell U5 is "BARN" and it appears in column C in the 'array sheet'. The value "DRD581IVO" from cell O5 should be in column A in the 'array sheet' i suppose. The "option ID" is in column B in the 'array sheet'.
May 09 2022 07:29 AM
May 09 2022 07:36 AM
=INDEX('array sheet'!B2:B385,MATCH(1,(O5='array sheet'!A2:A385)*(U5='array sheet'!C2:C385),0))
Sorry i forgot to say that you have to enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.
May 09 2022 07:45 AM - edited May 09 2022 07:45 AM
I tried to do that but it didn't seem to work so I must not be doing the right thing....
1. I enter the formula in the bar
2. then hold ctrl+shift+enter?
When I do so I get again the same popup
Sorry Quadruple_Pawn I am still quite beginner at more advanced formulas!!
May 09 2022 07:56 AM
I managed to confirm the formula! but it is now giving me N/A error as a result :D The result should be the cell B281...
Could it be that it is because B281:B285 have the same data so it confuses the formula?
May 09 2022 08:07 AM
Solution=INDEX('array sheet'!B2:B385,MATCH(1,(O5='array sheet'!A2:A385)*(U5='array sheet'!C2:C385),0))
Great. I think it will work if you change the formula as above. The distribution center is in column C in the 'array sheet' and therefore the formula should have: (U5='array sheet'!C2:C385).
May 09 2022 08:08 AM
I have reduced my array range, to test and see if it helps, so only B68 should be the result... but it is still giving me N/A error
May 09 2022 08:10 AM
May 09 2022 08:07 AM
Solution=INDEX('array sheet'!B2:B385,MATCH(1,(O5='array sheet'!A2:A385)*(U5='array sheet'!C2:C385),0))
Great. I think it will work if you change the formula as above. The distribution center is in column C in the 'array sheet' and therefore the formula should have: (U5='array sheet'!C2:C385).