Index match with multiple criteria, sheets & columns

Tbaileyco

New Member
Joined
Oct 3, 2013
Messages
5
Office Version
  1. 365
Hello All,

I am trying to get a Index Match formula to work on my sheet Currently I am trying to use the following but its not working. =INDEX(NewDemand!$A$1:$CA$55,MATCH($C$1,NewDemand!$A$1:$A$55,0),MATCH($E18,NewDemand!$A$1:$CA$1,0),MATCH($O$1,NewDemand!$Q$1:$Q$55,0))

First Sheet:

Demand Plan1.xlsx
ABCDEFGHIJKLMNO
11111TotReq
2PIRCon
3CusReq
4CusAck
5SPLY
6PAB
7
8AVG Weekly Usage:NOTES:
9
10
11
12
13
14
15
16StartEndPeriod C.Y.On-HandDemandSupplyNote
1711/11/2311/17/23Prior582100-
1811/18/2311/24/232023/47482#REF!-G18 - should pull in 560
1911/25/2312/01/232023/48#REF!#REF!-
2012/02/2312/08/232023/49#REF!#REF!-
2112/09/2312/15/232023/50#REF!#REF!-G21 - should pull in 280
2212/16/2312/22/232023/51#REF!#REF!-
2312/23/2312/29/232023/52#REF!#REF!-
2412/30/2301/05/242024/1#REF!#REF!500
2501/06/2401/12/242024/2#REF!#REF!-
2601/13/2401/19/242024/3#REF!#REF!-
2701/20/2401/26/242024/4#REF!#REF!-
2801/27/2402/02/242024/5#REF!#REF!-
2902/03/2402/09/242024/6#REF!#REF!-
3002/10/2402/16/242024/7#REF!#REF!-
3102/17/2402/23/242024/8#REF!#REF!-
3202/24/2403/01/242024/9#REF!#REF!5,000
3303/02/2403/08/242024/10#REF!#REF!-
3403/09/2403/15/242024/11#REF!#REF!-
3503/16/2403/22/242024/12#REF!#REF!-
3603/23/2403/29/242024/13#REF!#REF!-
3703/30/2404/05/242024/14#REF!#REF!-
3804/06/2404/12/242024/15#REF!#REF!-
3904/13/2404/19/242024/16#REF!#REF!-
4004/20/2404/26/242024/17#REF!#REF!500
4104/27/2405/03/242024/18#REF!#REF!-
4205/04/2405/10/242024/19#REF!#REF!-
4305/11/2405/17/242024/20#REF!#REF!-
4405/18/2405/24/242024/21#REF!#REF!-
4505/25/2405/31/242024/22#REF!#REF!-
4606/01/2406/07/242024/23#REF!#REF!-
4706/08/2406/14/242024/24#REF!#REF!-
4806/15/2406/21/242024/25#REF!#REF!5,000
4906/22/2406/28/242024/26#REF!#REF!-
5006/29/2407/05/242024/27#REF!#REF!-
5107/06/2407/12/242024/28#REF!#REF!-
5207/13/2407/19/242024/29#REF!#REF!-
5307/20/2407/26/242024/30#REF!#REF!-
5407/27/2408/02/242024/31#REF!#REF!-
5508/03/2408/09/242024/32#REF!#REF!-
5608/10/2408/16/242024/33#REF!#REF!500
5708/17/2408/23/242024/34#REF!#REF!-
5808/24/2408/30/242024/35#REF!#REF!-
5908/31/2409/06/242024/36#REF!#REF!-
6009/07/2409/13/242024/37#REF!#REF!-
6109/14/2409/20/242024/38#REF!#REF!-
6209/21/2409/27/242024/39#REF!#REF!-
6309/28/2410/04/242024/40#REF!#REF!-
6410/05/2410/11/242024/41#REF!#REF!900
6510/12/2410/18/242024/42#REF!#REF!-
6610/19/2410/25/242024/43#REF!#REF!-
6710/26/2411/01/242024/44#REF!#REF!-
6811/02/2411/08/242024/45#REF!#REF!-
6911/09/2411/15/242024/46#REF!#REF!-
7011/16/2411/22/242024/47#REF!#REF!-
7111/23/2411/29/242024/48#REF!#N/A-
7211/30/2412/06/242024/49#REF!#N/A2,000
7312/07/2412/13/242024/50#REF!#N/A-
7412/14/2412/20/242024/51#REF!#N/A-
7512/21/2412/27/242024/52#REF!#N/A-
DemandPlan
Cell Formulas
RangeFormula
F18:F75F18=F17-G17+H17
G18:G75G18=INDEX(NewDemand!$A$1:$CA$55,MATCH($C$1,NewDemand!$A$1:$A$55,0),MATCH($E18,NewDemand!$A$1:$CA$1,0),MATCH($O$1,NewDemand!$Q$1:$Q$55,0))
Named Ranges
NameRefers ToCells
NewDemand!_FilterDatabase=NewDemand!$A$1:$CA$55G18:G75
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F17:F75Cell Value<0textNO
F17:F75Cell Value>1textNO



Second Sheet:

Demand Plan1.xlsx
AQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBVBW
1MaterialElementPrior2023/472023/482023/492023/502023/512023/522024/12024/22024/32024/42024/52024/62024/72024/82024/92024/102024/112024/122024/132024/142024/152024/162024/172024/182024/192024/202024/212024/222024/232024/242024/252024/262024/272024/282024/292024/302024/312024/322024/332024/342024/352024/362024/372024/382024/392024/402024/412024/422024/432024/442024/452024/462024/472024/002024/012024/02Total
21111TotReq58256000##00000##0##0##0##000000##0##000##000##0000##0##0##000##00##00000##0##
31111PIRCon0000000000000000000000000000000000000000000000000000000000
41111CusReq0000000000000000000000000000000000000000000000000000000000
51111CusAck0000000000000000000000000000000000000000000000000000000000
61111SPLY0000000000000000000000####0000000000000000000##000##000000000##
71111PAB1354794794############################################################################################################0
82222TotReq118695200##0##0##0####00##########################################################################################
92222PIRCon0000000000000000000000000000000000000000000000000000000000
102222CusReq0000000000000000000000000000000000000000000000000000000000
112222CusAck0000000000000000000000000000000000000000000000000000000000
122222SPLY39800####00000############0##0##00##0##00##00##00##00####000######00##########000##00##
132222PAB-26526-36046-36046############################################################################################################0
143333TotReq0022400000##00####0##0######################################################################################
153333PIRCon0000000000000000000000000000000000000000000000000000000000
NewDemand
Cell Formulas
RangeFormula
S7S7=R7-S2
 
Glad to help & thanks for the feedback.
 
Upvote 0

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,223,888
Messages
6,175,207
Members
452,618
Latest member
Tam84

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