Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do i use a combo box or drop down list to preform a calculatio

I want to use a drop down list or combo box to preform a calculation in a
worksheet. IS this possible or can use suggest another way of doing
calulations using a numbers that change.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How do i use a combo box or drop down list to preform a calculatio

"Martin Zelones" wrote:
I want to use a drop down list or combo box to preform a calculation in a
worksheet. IS this possible or can use suggest another way of doing
calulations using a numbers that change.


Assume you have a DV* droplist in A1 which allows a selection of either: 1,
2, 3

Then you could just point at A1 in your formula, for example in say, C1:
=IF(A1="","",VLOOKUP(A1,{1,"A";2,"B";3,"c"},2,0))

C1 will evaluate based on the selected value in A1. If "1" is selected in
A1, C1 returns "A", "2" returns "B" and so on. If the selection in A1 is
cleared (with the Delete key), C1 will appear "blank".

*Similarly if you have a forms combo box with the cell link as A1, which
drops the values: 1, 2, 3 into A1 based on the selection made
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
conditional drop down list scott Excel Discussion (Misc queries) 3 June 3rd 06 06:58 AM
Drop down list as part of a file name selector Guido Excel Discussion (Misc queries) 1 May 25th 06 07:13 PM
Drop Down List Box, Combo Box ExcelUser777 Excel Discussion (Misc queries) 4 April 9th 06 12:51 AM
Order of drop down list Cash Excel Discussion (Misc queries) 1 April 4th 06 11:12 PM
re-ordering the list on a filter drop down Kylor Excel Discussion (Misc queries) 3 December 19th 05 06:59 PM


All times are GMT +1. The time now is 06:39 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"