SumIF question, multiple criteria

Rav_Singh

New Member
Joined
Jun 29, 2019
Messages
28
I am attempting to summarise a large data-set and am having trouble trying to collate the sum total.

Hopefully the below example displays correctly on this page.

Sample of data-set is below;

QtrlyModified DateDocsEmails
Q1-201815/01/201810
Q1-201816/01/201810
Q2-201817/04/201803
Q2-201818/05/201800
Q3-201819/07/201810
Q3-201822/08/201801
Q4-201823/10/201802
Q4-201825/12/201803

<colgroup><col><col><col span="2"></colgroup><tbody>
</tbody>

I would like to calculate the sum totals of 'Docs' and 'Emails' based upon the Qtrly dates.

i.e. so for the answers it should hopefully reflect the table below.

QtrlyDocsEmails
Q1-201820
Q2-201803
Q3-201811
Q4-201805

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>

This seems a common formula however the different CountIF/SumIF formulas have not returned the values I was hoping for. Any help would be gratefully received.

Rav
 

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.
How about

Book1
ABCDEFGHI
1QtrlyModified DateDocsEmailsQtrlyDocsEmails
2Q1-201815/01/201810Q1-201820
3Q1-201816/01/201810Q2-201803
4Q2-201817/04/201803Q3-201811
5Q2-201818/05/201800Q4-201805
6Q3-201819/07/201810
7Q3-201822/08/201801
8Q4-201823/10/201802
9Q4-201825/12/201803
Summary
Cell Formulas
RangeFormula
H2=SUMIF($A:$A,$G2,C:C)
I2=SUMIF($A:$A,$G2,D:D)
 
Upvote 0
This is exactly what I needed! Thanks for making me feel silly! :)

Much appreciated as always.

How about
ABCDEFGHI
1QtrlyModified DateDocsEmailsQtrlyDocsEmails
2Q1-201815/01/201810Q1-201820
3Q1-201816/01/201810Q2-201803
4Q2-201817/04/201803Q3-201811
5Q2-201818/05/201800Q4-201805
6Q3-201819/07/201810
7Q3-201822/08/201801
8Q4-201823/10/201802
9Q4-201825/12/201803

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Summary

Worksheet Formulas
CellFormula
H2=SUMIF($A:$A,$G2,C:C)
I2=SUMIF($A:$A,$G2,D:D)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,943
Messages
6,122,370
Members
449,080
Latest member
Armadillos

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