#1   Report Post  
Posted to microsoft.public.excel.misc
caloy
 
Posts: n/a
Default Formula help

I have a three number selection (1,2,3) for ("Yes", "No", "N/A")
respectively. I am looking for a formula that would calculate these
selections with different values attached to them.

Ex. If I have selection 1 (YES) with a value of 2 then I want 2 to show
else, if selection 2, then zero (0) else if selection 3, then blank.

Again, If I have selection 1 (YES) with a value of 8 then I want 8 to show
else, if selection 2, then zero (0) else if selection 3, then blank.

....and so on and so forth. I thought an IF statement might work but, cna't
quite put it together.
--
Caloyski
  #2   Report Post  
Posted to microsoft.public.excel.misc
Duke Carey
 
Posts: n/a
Default Formula help

=IF(selection=1,value,IF(selection=2,0,""))

"caloy" wrote:

I have a three number selection (1,2,3) for ("Yes", "No", "N/A")
respectively. I am looking for a formula that would calculate these
selections with different values attached to them.

Ex. If I have selection 1 (YES) with a value of 2 then I want 2 to show
else, if selection 2, then zero (0) else if selection 3, then blank.

Again, If I have selection 1 (YES) with a value of 8 then I want 8 to show
else, if selection 2, then zero (0) else if selection 3, then blank.

...and so on and so forth. I thought an IF statement might work but, cna't
quite put it together.
--
Caloyski

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
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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