Index Match , three conditions, Excel 2016

Yecart77

New Member
Joined
Nov 8, 2022
Messages
20
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
Platform
  1. Windows
Hi All,

Using Excel 2016 for this task that I need some guidance on to see if I can get index match to work. I have given it a go but cannot make it work.

The table in B2:O10 is an IBM Planning Analytics custom report that has values generated from DBRW formulas and is refreshed regularly.

The table in C15:O19 is to drive a chart.

If you select a different branch from the drop down in C14 the data in D16:O19 will update if it satisfies three conditions, using cell D16 as an example.
1. The value in C14 'Branch A' finds an exact match in the range B3:B10.
2. The value in C16 'Current Budget' find an exact match in the range C3:C10; and
3. The value in D15 'Jul" finds and exact match in the range D2:O2.

Thank you in advance for any suggestions, it is greatly appreciated and will end my frustration.

Cheers,
Tracey
 

Attachments

  • mrexcel.png
    mrexcel.png
    32.4 KB · Views: 15

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I changed the values for Branch B to demonstrate the difference. In future, you could help the volunteers by providing a copy of your data using the XL2BB add in, or alternatively, sharing your file via Google Drive, Dropbox or similar file sharing platform to prevent helpers having to type out your data to test formulas/code etc.

Book1
ABCDEFGHIJKLMNO
1
2Branch nameVersionJulAugSepOctNovDecJanFebMarAprMayJun
3Branch ACurrent Budget350003000026000180001500015000210003200033000450003800036000
4Branch AActual349143123428569
5Branch ACommitment
6Branch AForecast180001500015000210003200033000450003800036000
7Branch BCurrent Budget340002900025000170001400014000200003100032000440003700035000
8Branch BActual339143023427569
9Branch BCommitment
10Branch BForecast170001400014000200003100032000440003700035000
11
12
13select
14Branch A
15VersionJulAugSepOctNovDecJanFebMarAprMayJun
16Current Budget350003000026000180001500015000210003200033000450003800036000
17Actual349143123428569000000000
18Commitment000000000000
19Forecast000180001500015000210003200033000450003800036000
Sheet1
Cell Formulas
RangeFormula
D16:O19D16=SUMPRODUCT(($B$3:$B$10=$C$14)*($D$2:$O$2=D$15)*($C$3:$C$10=$C16),$D$3:$O$10)
Cells with Data Validation
CellAllowCriteria
C14ListBranch A,Branch B
 
Upvote 0
Taking advantage of @kevin9999 kindly setting up some sample data ;), this is variation on using Index Match.
PS: I have the formula spread over 3 lines so you might need to make your formula bar bigger.

Book4
ABCDEFGHIJKLMNO
1
2Branch nameVersionJulAugSepOctNovDecJanFebMarAprMayJun
3Branch ACurrent Budget350003000026000180001500015000210003200033000450003800036000
4Branch AActual349143123428569
5Branch ACommitment
6Branch AForecast180001500015000210003200033000450003800036000
7Branch BCurrent Budget340002900025000170001400014000200003100032000440003700035000
8Branch BActual339143023427569
9Branch BCommitment
10Branch BForecast170001400014000200003100032000440003700035000
11
12
13select
14Branch A
15VersionJulAugSepOctNovDecJanFebMarAprMayJun
16Current Budget350003000026000180001500015000210003200033000450003800036000
17Actual349143123428569000000000
18Commitment000000000000
19Forecast000180001500015000210003200033000450003800036000
Mine
Cell Formulas
RangeFormula
D16:O19D16=SUMIFS(INDEX($D$3:$O$10,0,MATCH(D$15,$D$2:$O$2,0)), $C$3:$C$10,$C16, $B$3:$B$10,$C$14)
 
Upvote 0

Forum statistics

Threads
1,223,238
Messages
6,170,939
Members
452,368
Latest member
jayp2104

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