Sumifs Index Match formula

Malhotra Rahul

Board Regular
Joined
Nov 10, 2017
Messages
92
Hi, I do have a small situation, where i want output based on Raw Data tab in Report tab in Cell C22 and D22. For Cell C22 and D22 the first criteria would be Start Date in Cell B18 in Report tab and End Date in Cell C18 in Report tab and the second criteria would be the Account Manager in Report tab table.

I have provided the expected results in Report tab. Any help would highly be appreciated. Thank you in Advance.

Please find here below the link to get sample file.

https://drive.google.com/file/d/16f4r0y9aCRBN1nyFFX1RstxzGHfcNCtH/view?usp=sharing
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Raw Data 2018

Account ManagerDate of OrderService HoursPerpetual License RevASMPro-Rated Invoiced ASMMonthly License FeeMonthly Hosting FeeServices Rev.Total
ABC1/2/20184.00$ 0.00$ 20.00$ 0.00$ 0.00$ 0.00$ 740.00$ 760.00
ABC1/4/20183.00$ 0.00$ 45.00$ 0.00$ 675.00$ 0.00$ 250.00$ 970.00
DEF3/4/201816.00$ 0.00$ 0.00$ 0.00$ 0.00$ 0.00$ 2,960.00$ 2,960.00
GHI4/5/20182.50$ 0.00$ 0.00$ 0.00$ 0.00$ 0.00$ 462.50$ 462.50

<colgroup><col><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


Report

Start DateEnd Date
1/1/20181/31/2018
Account Manager NameService HoursService Revenue
ABC7990
DEF00
GHI00
KLM00

<colgroup><col><col><col></colgroup><tbody>
</tbody>


C22 of Report...

=SUMIFS('Raw Data 2018'!$C$3:$C$6,'Raw Data 2018'!$A$3:$A$6,B22,'Raw Data 2018'!$B$3:$B$6,">="&$B$18,'Raw Data 2018'!$B$3:$B$6,"<="&$C$18)

D22 of Report...

=SUMIFS('Raw Data 2018'!$I$3:$I$6,'Raw Data 2018'!$A$3:$A$6,B22,'Raw Data 2018'!$B$3:$B$6,">="&$B$18,'Raw Data 2018'!$B$3:$B$6,"<="&$C$18)
 
Last edited:
Upvote 0
Hi Aladin akyurek, thank you so much for the solution, is there any way to get the solution matching with the columns heads. Because I'm looking for the match based on columns header.
 
Last edited:
Upvote 0
Hi Aladin akyurek, thank you so much for the solution, is there any way to get the solution matching with the columns heads. Because I'm looking for the match based on columns header.

Then first you need to change
Services Rev.
to
Service Revenue
.

That done:

In C22 enter, copy across, and down:

=SUMIFS(INDEX('Raw Data 2018'!$A$3:$J$6,0,MATCH(C$21,'Raw Data 2018'!$A$2:$J$2,0)),'Raw Data 2018'!$A$3:$A$6,$B22,'Raw Data 2018'!$B$3:$B$6,">="&$B$18,'Raw Data 2018'!$B$3:$B$6,"<="&$C$18)
 
Upvote 0

Forum statistics

Threads
1,214,947
Messages
6,122,413
Members
449,082
Latest member
tish101

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