Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 72
Default Text to equation??

hi all,
i'm making a questionnaire/calculator and have added a YES/NO drop down menu.
If the users selects "YES" i'd like excel to execute the following equation
B9*B8*0.5

but haven't been able to work out how to do it. any help would be greatly
received.

shane
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Text to equation??

If your YES/NO is in B10, then your formula would be
=IF(B10="YES",B9*B8*0.5,"whatever you want if the answer isn't YES")
If you want the result to be blank if B10 is not YES, then
=IF(B10="YES",B9*B8*0.5,"")
--
David Biddulph

"shane" wrote in message
...
hi all,
i'm making a questionnaire/calculator and have added a YES/NO drop down
menu.
If the users selects "YES" i'd like excel to execute the following
equation
B9*B8*0.5

but haven't been able to work out how to do it. any help would be greatly
received.

shane



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Text to equation??

In an adjacent cell enter this

=IF(cellref="YES",B9*B8*0.5,"NO selected, what now?")

Where cellref is the cell with the dropdown


Gord Dibben MS Excel MVP


On Wed, 17 Oct 2007 11:00:00 -0700, shane
wrote:

hi all,
i'm making a questionnaire/calculator and have added a YES/NO drop down menu.
If the users selects "YES" i'd like excel to execute the following equation
B9*B8*0.5

but haven't been able to work out how to do it. any help would be greatly
received.

shane


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 638
Default Text to equation??

In the cell where you want this calculation performed, place something
like this (assuming that your Yes/No field is in column A):
=IF(A8="Yes",B9*B8*0.5,"")

shane wrote:
hi all,
i'm making a questionnaire/calculator and have added a YES/NO drop down menu.
If the users selects "YES" i'd like excel to execute the following equation
B9*B8*0.5

but haven't been able to work out how to do it. any help would be greatly
received.

shane


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
equation as text string and its numeric result patryk Excel Discussion (Misc queries) 2 May 4th 07 11:37 AM
IF Function with equation and text DJC0402 Excel Worksheet Functions 1 June 13th 06 01:26 AM
Equation Editor- problem when editing an equation Gaby L. Excel Discussion (Misc queries) 0 September 27th 05 09:24 PM
Equation in text string? hoising8 Excel Discussion (Misc queries) 3 July 28th 05 08:23 PM
Equation paulo_jorge_34 Excel Discussion (Misc queries) 3 June 14th 05 06:53 PM


All times are GMT +1. The time now is 12:46 PM.

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"