Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Drop Down with hidden values

I need some assistance please. I have a spread sheet that I have drop down
information on. When the user selects the word from the drop down list, I
would like for the word to have a numerical value to it that the user does
not see, but accumulates at the end of the column. Such as:
Hamburger = 25
hotdog = 10
coke = 10 etc.
Sub Total = 45

Any ideas?
--
woodse
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Drop Down with hidden values

I would use a table on a (hidden) sheet.

Column A would hold the food item and column B would hold the number.

Then I'd use formulas in the adjacent (also hidden) column that returned the
value for that food item.

=if(a1="","",vlookup(a1,sheet2!a:b,2,false))

And then I could use this kind of formula:
=sum(b:b)
at the bottom of my data in column A.

======
Personally, I wouldn't bother hiding that helper column. I think it makes it
easier for the typical user to understand what's happening.

I may lock those cells with the formulas and protect the worksheet so that the
users can't change my formulas, though.

======
And Debra Dalgleish shares some info on how to use a list (column A of that
hidden sheet) as the list range in the data|validation cells.
http://contextures.com/xlDataVal01.html#Name



woodse wrote:

I need some assistance please. I have a spread sheet that I have drop down
information on. When the user selects the word from the drop down list, I
would like for the word to have a numerical value to it that the user does
not see, but accumulates at the end of the column. Such as:
Hamburger = 25
hotdog = 10
coke = 10 etc.
Sub Total = 45

Any ideas?
--
woodse


--

Dave Peterson
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
Count Unique Values but not Filtered or Hidden Values Lee Excel Worksheet Functions 3 June 2nd 09 11:18 PM
Hidden Drop Down List Angela Excel Discussion (Misc queries) 8 July 25th 08 10:30 PM
how do i find where a drop down list is hidden so it can be edited vgee Excel Discussion (Misc queries) 2 October 27th 05 02:52 PM
Open hidden sheets from a drop down list selection Ant Excel Discussion (Misc queries) 3 October 7th 05 10:01 AM
Drop down list button hidden Cathy Landry Excel Worksheet Functions 3 August 25th 05 06:21 PM


All times are GMT +1. The time now is 10:44 PM.

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"