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

If problem with form controls

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
Handover Phist
Newbie
Newbie


Joined: 03 Jan 2007
Posts: 2

PostPosted: Mon Apr 23, 2007 11:06 am    Post subject: If problem with form controls Reply with quote

I have a spreadsheet to tally sales in a small shop. I need to tally up sales by payment type that looks like this:



How do I tally entries in the Price column if a drop down list form control in the Payment Type column has Visa selected for example?
_________________
Servo: It is sort of hypnotic, isn't it?
Crow: Hip? Not. Ick!
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Mon Apr 23, 2007 11:18 am    Post subject: Reply with quote

Try this.
=SUMIF(H2:H6;"=Visa";G2:G6)
Back to top
View user's profile Send private message
Handover Phist
Newbie
Newbie


Joined: 03 Jan 2007
Posts: 2

PostPosted: Mon Apr 23, 2007 11:33 am    Post subject: Reply with quote

Thanks! That works! My only worry is that the person putting the word "Visa" etc will misspell or forget capitalisation or something. Its easily breakable enough to assume the user will break it.
_________________
Servo: It is sort of hypnotic, isn't it?
Crow: Hip? Not. Ick!
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