Index with three Matches

bchager

New Member
Joined
Dec 15, 2017
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I have original budget numbers and updated budget numbers and I need to compare the spread of budgeting between the two by project ID, cost type, and date. I am trying to accomplish this through the use of an Index/Match formula with 3 matches; one for project ID, one for cost type, and one for date. The formula appears to be working for the first month of the year, but not the others. Is it possible to use three matches in this formula?

Here is a link to the file. The formulas are in the Original Budget sheet. Pictures are attached if the link doesn't work.

Thanks in advance to anyone who can help!
 

Attachments

  • 1.JPG
    1.JPG
    117.5 KB · Views: 13
  • 2.JPG
    2.JPG
    177.7 KB · Views: 10

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Maybe:
This is an array formula and must be entered with CTRL-SHIFT-ENTER

=IFERROR(INDEX('New Budget'!$C$2:$N$5,MATCH($A2&$B2,'New Budget'!$A$2:$A$5&'New Budget'!$B$2:$B$5,0),MATCH(C$1,'New Budget'!$C$1:$N$1,0)),0)

What version of Excel are you using?
It would be a good idea to update your profile with your version of Excel as the best solution can depend on the version.
 
Upvote 0
Solution
Maybe:
This is an array formula and must be entered with CTRL-SHIFT-ENTER

=IFERROR(INDEX('New Budget'!$C$2:$N$5,MATCH($A2&$B2,'New Budget'!$A$2:$A$5&'New Budget'!$B$2:$B$5,0),MATCH(C$1,'New Budget'!$C$1:$N$1,0)),0)

What version of Excel are you using?
It would be a good idea to update your profile with your version of Excel as the best solution can depend on the version.
Thank you! Grouping the project ID and cost type together did the trick. I'll add my version of Excel in to my profile but it's Excel for Office 365 MSO (16.0.12527.21230) 32-bit
 
Upvote 0

Forum statistics

Threads
1,214,786
Messages
6,121,548
Members
449,038
Latest member
Guest1337

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