Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Combo box formula - how do i include it ?

I'm trying to figure out a formula for the following. I
have an order form where certain products are classified
as one of two categories. THe two categories exist in a
combo box control (not userform or vba). I want o add up
the category total for cat1 and total for cat 2 items and
based on the sums, calculate a delivery and install fee.
Basically, if i have this much worth of cat1 items, charge
this much D&I, if ihave this much, then.........and so
forth. I have everything except how to include the combo
box in the formula. Can anyone help?

thanks,
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Combo box formula - how do i include it ?

Fredy

The problem with a combo box is that you have to get the
value from a linked cell. This will give a value of either
1 or 2 for two categories.

The answer is to convert them back into Text. My test
linked cell was in J1. In L1 I used this formula
=IF(J1=1,"A","B") which converts is back to text.

My Test data is in the range A6 to B12
Cat Qty
A 1
A 1
B 2
B 2
A 1
A 1

Formula to calc list is =SUMIF(A7:A12,L1,B7:B12)

Try this out and then adapt it for your own needs.

Regards
Peter

-----Original Message-----
I'm trying to figure out a formula for the following. I
have an order form where certain products are classified
as one of two categories. THe two categories exist in a
combo box control (not userform or vba). I want o add up
the category total for cat1 and total for cat 2 items and
based on the sums, calculate a delivery and install fee.
Basically, if i have this much worth of cat1 items,

charge
this much D&I, if ihave this much, then.........and so
forth. I have everything except how to include the combo
box in the formula. Can anyone help?

thanks,
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
include sheet name in formula pm Excel Discussion (Misc queries) 2 May 27th 10 11:14 PM
include rounding in a formula KrispyData Excel Discussion (Misc queries) 2 March 24th 10 11:01 PM
How do include Dates in a formula? Grisha Excel Worksheet Functions 2 March 28th 06 10:27 PM
Sum if formula to include value in col Q when no value in col P for that row mikeburg Excel Discussion (Misc queries) 3 February 5th 06 07:50 PM
Modify A Formula To Include AND carl Excel Worksheet Functions 2 August 21st 05 03:41 PM


All times are GMT +1. The time now is 04:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"