Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
MathDoctor
 
Posts: n/a
Default Conditional w/ three possibilities


Any assistance is appreciated:

Column A will list results that a team has - only possible results are

"win", "tie", or "loss". You get three points for a win, one point for
a tie
and zero for a loss.

So if A1 is a win, B1 will display "3"

How would I write that equation. The below is not working ...
=IF(A1="Win","3"),IF(A1="Tie","1"),IF(A1="Loss","0 ")


--
MathDoctor
------------------------------------------------------------------------
MathDoctor's Profile: http://www.excelforum.com/member.php...o&userid=24216
View this thread: http://www.excelforum.com/showthread...hreadid=378284

  #2   Report Post  
duane
 
Posts: n/a
Default


=IF(A1="Win",3,IF(A1="Tie",1,0))

presumably in cell b1


--
duane


------------------------------------------------------------------------
duane's Profile: http://www.excelforum.com/member.php...o&userid=11624
View this thread: http://www.excelforum.com/showthread...hreadid=378284

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

One way:

=IF(A1="Win","3",IF(A1="Tie","1","0"))

or if you want to do arithmetic with the results of that formula:

=IF(A1="Win",3,IF(A1="Tie",1,0))



MathDoctor wrote:

Any assistance is appreciated:

Column A will list results that a team has - only possible results are

"win", "tie", or "loss". You get three points for a win, one point for
a tie
and zero for a loss.

So if A1 is a win, B1 will display "3"

How would I write that equation. The below is not working ...
=IF(A1="Win","3"),IF(A1="Tie","1"),IF(A1="Loss","0 ")

--
MathDoctor
------------------------------------------------------------------------
MathDoctor's Profile: http://www.excelforum.com/member.php...o&userid=24216
View this thread: http://www.excelforum.com/showthread...hreadid=378284


--

Dave Peterson
  #4   Report Post  
Gary's Student
 
Posts: n/a
Default

Try:

=(A1="Win")*3+(A1="Tie")*1

Notice that no "IF"s are neded. Also notice that "Loss" is automatically
covered since it yields zero anyway
--
Gary's Student


"MathDoctor" wrote:


Any assistance is appreciated:

Column A will list results that a team has - only possible results are

"win", "tie", or "loss". You get three points for a win, one point for
a tie
and zero for a loss.

So if A1 is a win, B1 will display "3"

How would I write that equation. The below is not working ...
=IF(A1="Win","3"),IF(A1="Tie","1"),IF(A1="Loss","0 ")


--
MathDoctor
------------------------------------------------------------------------
MathDoctor's Profile: http://www.excelforum.com/member.php...o&userid=24216
View this thread: http://www.excelforum.com/showthread...hreadid=378284


  #5   Report Post  
CLR
 
Posts: n/a
Default

You were almost there.........just move a couple of parenthisis and add for
condition that B1 should be blank if cell A1 is blank (or accidently
contains anything else)........

=IF(A1="Win","3",IF(A1="Tie","1",IF(A1="Loss","0", "")))

Incidently, the double quotes you have around the numbers actually turn
their result into TEXT format, if you want actual numbers use same formula
but just delete those double quotes, like...........

=IF(A1="Win",3,IF(A1="Tie",1,IF(A1="Loss",0,"")))


Vaya con Dios,
Chuck, CABGx3




"MathDoctor" wrote in
message ...

Any assistance is appreciated:

Column A will list results that a team has - only possible results are

"win", "tie", or "loss". You get three points for a win, one point for
a tie
and zero for a loss.

So if A1 is a win, B1 will display "3"

How would I write that equation. The below is not working ...
=IF(A1="Win","3"),IF(A1="Tie","1"),IF(A1="Loss","0 ")


--
MathDoctor
------------------------------------------------------------------------
MathDoctor's Profile:

http://www.excelforum.com/member.php...o&userid=24216
View this thread: http://www.excelforum.com/showthread...hreadid=378284



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 Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
How do i create a conditional sum? tmiller708 Excel Worksheet Functions 2 May 5th 05 01:58 AM
Effect of Conditional Formatting, Data Validation Bill Sturdevant Excel Discussion (Misc queries) 1 January 25th 05 11:50 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM
copy conditional format as ACTUAL format Dana Zulager Excel Discussion (Misc queries) 7 December 7th 04 11:02 PM


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