Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sc sc is offline
external usenet poster
 
Posts: 28
Default Combo boxes and AutoSum

What function would I use to add a range of numbers that includes a combo
box? I tried AutoSum but the Total doesn't recalculate when I change the
number in the combo box. Thanks so much!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Combo boxes and AutoSum

Do you have the combo box linked to a cell?

A combo box does not occupy a cell, it "floats" on top of the worksheet. If
you have the combo box linked to a cell the linked cell will return the
*index number* of the selected item. Depending on what numbers you have as
selections for the combo box, you then have to associate the selection index
number with the actual value of the selected number.

For example, if you have these numbers as selections for the combo box:

10
20
30

If you select 10 the linked cell will return 1. 10 is the first item in the
list so it has an index number of 1. 20 is the second item in the list so it
has an index number of 2. 30 is the third item in the list so it has an
index number of 3.

So, you'd have to convert those index numbers to their actual values. It's
not difficult but you'd have to provide more detailed info as to what the
numbers are and *where* they're located as the source for the combo box.

--
Biff
Microsoft Excel MVP


"sc" wrote in message
...
What function would I use to add a range of numbers that includes a combo
box? I tried AutoSum but the Total doesn't recalculate when I change the
number in the combo box. Thanks so much!



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
Combo Boxes Neil Holden Excel Discussion (Misc queries) 4 August 18th 09 04:30 PM
Getting Combo boxes to change options based on other Combo boxes. Ancient Wolf New Users to Excel 1 March 27th 09 06:29 PM
combo boxes CDnook Excel Discussion (Misc queries) 1 February 20th 09 07:48 PM
Selecting subsets using combo boxes or list boxes CLamar Excel Discussion (Misc queries) 0 June 1st 06 07:43 PM
Questions on combo boxes and list boxes. Marc New Users to Excel 1 March 14th 06 09:40 AM


All times are GMT +1. The time now is 05:06 AM.

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

About Us

"It's about Microsoft Excel"