[Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register]

Author Message
fifty
Newbie

Joined: 22 Oct 2007
Posts: 2

 Posted: Mon Feb 02, 2009 8:02 pm    Post subject: How to Create A Table of Sums sorted by Labels? I have some data that is of the following format (the column names are different than this, but this is just illustrative): A 1 B 0 C 1 D 0 A 1 C 1 D 0 B 1 A 1 B 0 D 1 C 0 the letters are in one column, and the numbers are in the next column over. What I would like to do is get Calc to calculate the sum of what each letter got. In my example, for instance, I'd like something like: A: 3 B: 1 C: 2 D: 1 Because if you add the numbers next to "A" through the entire data set, you get 3, etc. Does this make sense? How do I do this in Calc?_________________I LOVE MYSELF
Leion
Newbie

Joined: 03 Feb 2009
Posts: 4

 Posted: Tue Feb 03, 2009 1:55 am    Post subject: Think you can look at the sumif function try =SUMIF(L4:L9;"=A";M4:M9) replace the L4:L9 to the range that contains your ABC and replace the M4:M9 with the number range and replace the =A to =B and so on see http://www.openofficetips.com/blog/archives/2004/12/basic_functions_7.html
 Display posts from previous: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First
 All times are GMT - 8 Hours Page 1 of 1

 Jump to: Select a forum OpenOffice.org Forums----------------Setup and TroubleshootingOpenOffice.org WriterOpenOffice.org CalcOpenOffice.org ImpressOpenOffice.org DrawOpenOffice.org MathOpenOffice.org BaseOpenOffice.org Macros and APIOpenOffice.org Code Snippets Community Forums----------------General DiscussionSite Feedback
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