How to chart monthly sums with daily data?
So, I have a table a bit like this:
Date Total A B
01/09/2017 497 262 235
02/09/2017 86 39 47
03/09/2017 118 55 63
04/09/2017 812 404 408
05/09/2017 329 155 174
06/09/2017 583 280 303
but it has over 500 dates. I wanted to chart the sum of the monthly values; without having to sum it in externally, can I put all the daily data in a chart and edit the chart to show the monthly sum?
microsoft-excel charts
add a comment |
So, I have a table a bit like this:
Date Total A B
01/09/2017 497 262 235
02/09/2017 86 39 47
03/09/2017 118 55 63
04/09/2017 812 404 408
05/09/2017 329 155 174
06/09/2017 583 280 303
but it has over 500 dates. I wanted to chart the sum of the monthly values; without having to sum it in externally, can I put all the daily data in a chart and edit the chart to show the monthly sum?
microsoft-excel charts
How about PivotTable? You can group date in PivotTable.
– Lee
Dec 24 '18 at 9:09
add a comment |
So, I have a table a bit like this:
Date Total A B
01/09/2017 497 262 235
02/09/2017 86 39 47
03/09/2017 118 55 63
04/09/2017 812 404 408
05/09/2017 329 155 174
06/09/2017 583 280 303
but it has over 500 dates. I wanted to chart the sum of the monthly values; without having to sum it in externally, can I put all the daily data in a chart and edit the chart to show the monthly sum?
microsoft-excel charts
So, I have a table a bit like this:
Date Total A B
01/09/2017 497 262 235
02/09/2017 86 39 47
03/09/2017 118 55 63
04/09/2017 812 404 408
05/09/2017 329 155 174
06/09/2017 583 280 303
but it has over 500 dates. I wanted to chart the sum of the monthly values; without having to sum it in externally, can I put all the daily data in a chart and edit the chart to show the monthly sum?
microsoft-excel charts
microsoft-excel charts
asked Dec 19 '18 at 20:53
fijozicofijozico
61
61
How about PivotTable? You can group date in PivotTable.
– Lee
Dec 24 '18 at 9:09
add a comment |
How about PivotTable? You can group date in PivotTable.
– Lee
Dec 24 '18 at 9:09
How about PivotTable? You can group date in PivotTable.
– Lee
Dec 24 '18 at 9:09
How about PivotTable? You can group date in PivotTable.
– Lee
Dec 24 '18 at 9:09
add a comment |
1 Answer
1
active
oldest
votes
You can use SUMIFS():
=SUMIFS(B2:B7,A2:A7,">="&A10,A2:A7,"<="&EOMONTH(A10,0))
If your data is set up like this:

I used 1 January 2017 in A10 (format as you like), which has the formula look for data entered on 1 January through the end of January.
(Note: I'm currently in USA, so my dates are formatted mm-dd-yyyy. You may need to tweak if you're in Europe/elsewhere.)
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386040%2fhow-to-chart-monthly-sums-with-daily-data%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use SUMIFS():
=SUMIFS(B2:B7,A2:A7,">="&A10,A2:A7,"<="&EOMONTH(A10,0))
If your data is set up like this:

I used 1 January 2017 in A10 (format as you like), which has the formula look for data entered on 1 January through the end of January.
(Note: I'm currently in USA, so my dates are formatted mm-dd-yyyy. You may need to tweak if you're in Europe/elsewhere.)
add a comment |
You can use SUMIFS():
=SUMIFS(B2:B7,A2:A7,">="&A10,A2:A7,"<="&EOMONTH(A10,0))
If your data is set up like this:

I used 1 January 2017 in A10 (format as you like), which has the formula look for data entered on 1 January through the end of January.
(Note: I'm currently in USA, so my dates are formatted mm-dd-yyyy. You may need to tweak if you're in Europe/elsewhere.)
add a comment |
You can use SUMIFS():
=SUMIFS(B2:B7,A2:A7,">="&A10,A2:A7,"<="&EOMONTH(A10,0))
If your data is set up like this:

I used 1 January 2017 in A10 (format as you like), which has the formula look for data entered on 1 January through the end of January.
(Note: I'm currently in USA, so my dates are formatted mm-dd-yyyy. You may need to tweak if you're in Europe/elsewhere.)
You can use SUMIFS():
=SUMIFS(B2:B7,A2:A7,">="&A10,A2:A7,"<="&EOMONTH(A10,0))
If your data is set up like this:

I used 1 January 2017 in A10 (format as you like), which has the formula look for data entered on 1 January through the end of January.
(Note: I'm currently in USA, so my dates are formatted mm-dd-yyyy. You may need to tweak if you're in Europe/elsewhere.)
answered Dec 19 '18 at 22:23
BruceWayneBruceWayne
1,8301721
1,8301721
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386040%2fhow-to-chart-monthly-sums-with-daily-data%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
How about PivotTable? You can group date in PivotTable.
– Lee
Dec 24 '18 at 9:09