INDEX MATCH Error with multiple criteria

%3CLINGO-SUB%20id%3D%22lingo-sub-1164328%22%20slang%3D%22en-US%22%3EINDEX%20MATCH%20Error%20with%20multiple%20criteria%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1164328%22%20slang%3D%22en-US%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20trying%20to%20pull%20through%20data%20with%20multiple%20criteria%20using%20the%20INDEX%20MATCH%20functions%20but%20I'm%20getting%20this%20error%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Excel%20ran%20out%20of%20resources%20while%20attempting%20to%20calculate%20one%20or%20more%20formulas.%20As%20a%20result%2C%20these%20formulas%20cannot%20be%20evaluated%22%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20formula%20I'm%20using%20in%20cell%20B3%20%22Chart%20Data%22%20tab%20(attached)%20is%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3DINDEX(February!A1%3AAQ47%2CMATCH((February!AA2%3DFebruary!2%3A2)*('Chart%20Data'!A3%3DFebruary!3%3A3)*(B2%3DFebruary!A%3AA)%2C0)).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20cell%20should%20return%2083%25%2C%20criteria%20being%20%22Client%201%22%2C%20%22wk%205%22%2C%20%22Activated%25%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20tried%20specifying%20the%20range%20when%20referencing%20%22February%22%20tab%2C%20but%20it%20returns%20the%20SPILL!%20error.%20%26nbsp%3BAny%20help%20would%20be%20appreciated.%20I'm%20working%20with%20Excel%202016%20in%20Mac%20OS.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1164328%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExcel%20on%20Mac%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1164422%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20MATCH%20Error%20with%20multiple%20criteria%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1164422%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F526806%22%20target%3D%22_blank%22%3E%40A819A1L%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%20of%20all%2C%20I%20assume%20you%20want%20to%20populate%20B7%20(Client%201%2C%20wk5)%2C%20not%20B3%20(Client%201%2C%20wk%201).%3C%2FP%3E%3CP%3EOne%20of%20your%20problems%20is%20that%20you%20have%204%20times%20a%20column%20header%20%22wk%205%22%2C%20%22wk%206%22%20etc.%20in%20the%20February%20sheet.%20You%20need%20to%20make%20the%20headers%20unique%20if%20you%20want%20to%20be%20able%20to%20match%20them.%20Then%20you%20may%20have%20the%20same%20client%20in%20every%20%22KA-section%22%2C%20although%20I%20don't%20really%20understand%20what%20these%20sections%20stand%20for.%20So%2C%20you%20can't%20can't%20index%2Fmatch%20the%20same%20client%20in%20multiple%20sections%20in%20one%20formula.%20Thus%2C%20separate%20each%20%22KA-section%22.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIn%20the%20attached%20workbook%2C%20I%20have%20named%20the%20%22wk%205%22%20column%20with%20the%2083%25%20to%20%22wk%205%20%25%22%20and%20I%20have%20added%20the%20%25%20to%20each%20row%20header%20in%20the%20Chart%20Data.%20The%20formula%20in%20B7%20returns%20the%20desired%2083%25.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1164602%22%20slang%3D%22en-US%22%3ERe%3A%20INDEX%20MATCH%20Error%20with%20multiple%20criteria%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1164602%22%20slang%3D%22en-US%22%3E%3CP%3EHI%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3Bthanks%20for%20your%20input.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20assumption%20is%20right%2C%20I%20was%20trying%20to%20create%20a%20formula%20that%20would%20return%20a%20value%20based%20on%20the%20client%20name%20and%20week.%20%26nbsp%3BSo%2C%20specifically%20B7%20would%20return%20the%2083%25%20not%20B3%2C%20my%20mistake.%20%26nbsp%3BThe%20clients%20names%20are%20different%20for%20each%20KA%20(Key%20Account)%20category%20going%20forward%20so%20there's%20no%20issue%20there%2C%20I%20was%20just%20putting%20in%20names%20for%20arguments%20sake.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20was%20trying%20to%20see%20if%20there's%20a%20way%20to%20return%20a%20value%20that%20has%20two%20column%20heading%20criteria%20i.e.%20%22wk%205%22%20and%20%22Activated%25%22%20so%20that%20I%20would%20be%20able%20to%20keep%20the%204%20column%20%22wk%205%22%20headers%20the%20same%2C%20but%20your%20solution%20is%20much%20simpler.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hello,

 

I'm trying to pull through data with multiple criteria using the INDEX MATCH functions but I'm getting this error:

 

"Excel ran out of resources while attempting to calculate one or more formulas. As a result, these formulas cannot be evaluated"

 

The formula I'm using in cell B3 "Chart Data" tab (attached) is: 

 

=INDEX(February!A1:AQ47,MATCH((February!AA2=February!2:2)*('Chart Data'!A3=February!3:3)*(B2=February!A:A),0)).

 

The cell should return 83%, criteria being "Client 1", "wk 5", "Activated%".

 

I've tried specifying the range when referencing "February" tab, but it returns the SPILL! error.  Any help would be appreciated. I'm working with Excel 2016 in Mac OS.

 

Cheers,

 

2 Replies
Highlighted

@A819A1L 

First of all, I assume you want to populate B7 (Client 1, wk5), not B3 (Client 1, wk 1).

One of your problems is that you have 4 times a column header "wk 5", "wk 6" etc. in the February sheet. You need to make the headers unique if you want to be able to match them. Then you may have the same client in every "KA-section", although I don't really understand what these sections stand for. So, you can't can't index/match the same client in multiple sections in one formula. Thus, separate each "KA-section". 

 

In the attached workbook, I have named the "wk 5" column with the 83% to "wk 5 %" and I have added the % to each row header in the Chart Data. The formula in B7 returns the desired 83%.

Highlighted

HI @Riny_van_Eekelen thanks for your input.

 

Your assumption is right, I was trying to create a formula that would return a value based on the client name and week.  So, specifically B7 would return the 83% not B3, my mistake.  The clients names are different for each KA (Key Account) category going forward so there's no issue there, I was just putting in names for arguments sake.

 

I was trying to see if there's a way to return a value that has two column heading criteria i.e. "wk 5" and "Activated%" so that I would be able to keep the 4 column "wk 5" headers the same, but your solution is much simpler. 

 

Thank you!