| View previous topic :: View next topic |
| Author |
Message |
Handover Phist Newbie

Joined: 03 Jan 2007 Posts: 2
|
Posted: Mon Apr 23, 2007 11:06 am Post subject: If problem with form controls |
|
|
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 |
|
 |
JohnV Administrator

Joined: 07 Mar 2003 Posts: 8995 Location: Lexinton, Kentucky, USA
|
Posted: Mon Apr 23, 2007 11:18 am Post subject: |
|
|
Try this.
=SUMIF(H2:H6;"=Visa";G2:G6) |
|
| Back to top |
|
 |
Handover Phist Newbie

Joined: 03 Jan 2007 Posts: 2
|
Posted: Mon Apr 23, 2007 11:33 am Post subject: |
|
|
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 |
|
 |
|