OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

[SOLVED] HOW TO SUM BY DATE IN CALC

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
tanman
General User
General User


Joined: 09 Sep 2011
Posts: 5

PostPosted: Fri Sep 09, 2011 9:39 am    Post subject: [SOLVED] HOW TO SUM BY DATE IN CALC Reply with quote

My problem is I have multiple values for days, I need them to be summed for each day. For instance, In column A I will have the dates they may be like 06/01/11, 06/01/11, 06/02/11, 06/02/11, and 06/03/2011, 06/03/2011, 06/03/2011. I will also have corresponding values with these dates in coumn B. I need to know how to sum the values for each day. I have tried sumif function, but I am not sure that I am doing it right. If anyone can help, I will greatly appreciate it.

Thanks,


Last edited by tanman on Sun Sep 11, 2011 9:31 am; edited 1 time in total
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Fri Sep 09, 2011 10:06 am    Post subject: Reply with quote

This is how it should work: with dates in A1:A99, the criterion in C1 and the numbers to sum in B1:B99
Code:
=SUMIF(A1:A99 ; C1 ; B1:B99)


Since you need sums for each day, you want to generate a new table from your data table. This can be done easily using the data pilot:
http://wiki.services.openoffice.org/wiki/Documentation/OOo3_User_Guides/Calc_Guide/DataPilot
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
Back to top
View user's profile Send private message
tanman
General User
General User


Joined: 09 Sep 2011
Posts: 5

PostPosted: Fri Sep 09, 2011 10:31 am    Post subject: Reply with quote

Thanks, I will try that. I appreciate your response.
Back to top
View user's profile Send private message
tanman
General User
General User


Joined: 09 Sep 2011
Posts: 5

PostPosted: Fri Sep 09, 2011 10:40 am    Post subject: I dont think it is working Reply with quote

I am trying this and it is not working. I am not getting the correct numbers
Do you know of another solution?
Back to top
View user's profile Send private message
Villeroy
Super User
Super User


Joined: 04 Oct 2004
Posts: 10106
Location: Germany

PostPosted: Fri Sep 09, 2011 10:47 am    Post subject: Reply with quote

How can I know? You don't tell us anything.
_________________
Rest in peace, oooforum.org
Get help on https://forum.openoffice.org
Back to top
View user's profile Send private message
tanman
General User
General User


Joined: 09 Sep 2011
Posts: 5

PostPosted: Fri Sep 09, 2011 11:17 am    Post subject: Reply with quote

Nevermind I was messing up, your solution works. Thank you I greatly appreciate it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group