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

filtering information and adding

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


Joined: 20 Nov 2004
Posts: 24

PostPosted: Mon Nov 29, 2004 9:41 am    Post subject: filtering information and adding Reply with quote

I have information in sheet that i would like to filter and post totals in sheet b:

Lets say my sheet looks like this:
D(block#) F(species) J(cords)
6853 spruce 21.32
6855 poplar 22.44
6855 tamarack 20.22
6853 spruce 22.33

on sheet b I would like to organize the information so that it will give me totals of specific blocks( column d).
How do I filter the information so that on sheet b it will give me total of species for each block?
for example I need to know the cordage total of spruce that was in block 6853.

to complicate things further I also need a formula that will total all the cordage for the entire block so that when I enter 6855 in d and 20.22 in j it will know to add 20.22 cords to the block 6855 cordage total on sheet b.
thanks in advance.
Back to top
View user's profile Send private message
r_vinoya
Super User
Super User


Joined: 03 Dec 2003
Posts: 619
Location: Somewhere in the Philippines

PostPosted: Tue Nov 30, 2004 1:00 am    Post subject: Re: filtering information and adding Reply with quote

James Klug wrote:
I have information in sheet that i would like to filter and post totals in sheet b:

Lets say my sheet looks like this:
D(block#) F(species) J(cords)
6853 spruce 21.32
6855 poplar 22.44
6855 tamarack 20.22
6853 spruce 22.33

on sheet b I would like to organize the information so that it will give me totals of specific blocks( column d).
How do I filter the information so that on sheet b it will give me total of species for each block?
for example I need to know the cordage total of spruce that was in block 6853.

to complicate things further I also need a formula that will total all the cordage for the entire block so that when I enter 6855 in d and 20.22 in j it will know to add 20.22 cords to the block 6855 cordage total on sheet b.
thanks in advance.


This looks like a job for: SUMIF Function...

This is how I plan do it, maybe there is something better
1) You would have another column in your "data" sheet that concatenate column d and f.
Ex. on Column A1 type =D1&F1, then drag-fill down remaining rows for columnA

2) Then on sheet b the formula would be:
=SUMIF(Sheet1.A1:A1000;"6853" & "spruce";Sheet1.J1:J1000)

Note:
"6853" & "spruce" may be replaced with a cell reference
_________________
# : - )
Back to top
View user's profile Send private message
James Klug
General User
General User


Joined: 20 Nov 2004
Posts: 24

PostPosted: Tue Nov 30, 2004 6:42 am    Post subject: Reply with quote

thanks I'll giveit a try
Back to top
View user's profile Send private message
r_vinoya
Super User
Super User


Joined: 03 Dec 2003
Posts: 619
Location: Somewhere in the Philippines

PostPosted: Tue Nov 30, 2004 4:58 pm    Post subject: Reply with quote

James Klug wrote:
thanks I'll giveit a try


Yes. Please let me know if it works (or if there are some problems).
_________________
# : - )
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