Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hi In Cell A1 I have Possible Values from 1 to 6. I want to have the following conditions in B1: If a1=1 then "R", If a1=2 then "S", If a12 then "Yes" Thanks! -- Portuga ------------------------------------------------------------------------ Portuga's Profile: http://www.excelforum.com/member.php...fo&userid=6385 View this thread: http://www.excelforum.com/showthread...hreadid=506815 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=if(a1=1,"R",if(a1=2,"S","Yes"))
If you know you have 1-6 in A1. Portuga wrote: Hi In Cell A1 I have Possible Values from 1 to 6. I want to have the following conditions in B1: If a1=1 then "R", If a1=2 then "S", If a12 then "Yes" Thanks! -- Portuga ------------------------------------------------------------------------ Portuga's Profile: http://www.excelforum.com/member.php...fo&userid=6385 View this thread: http://www.excelforum.com/showthread...hreadid=506815 -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() How about something like this: B1: =CHOOSE(MIN(+A1+1,4),"","r","s","yes") Regards, Ron -- Ron Coderre ------------------------------------------------------------------------ Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419 View this thread: http://www.excelforum.com/showthread...hreadid=506815 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() You can use a nested IF formula in B1: =IF(A1=1,"R",IF(A1=2,"S",IF(A12,"Yes",""))) or =IF(A1=1,"R",IF(A1=2,"S","Yes")) Not sure how AND comes into it. -- PipTT ------------------------------------------------------------------------ PipTT's Profile: http://www.excelforum.com/member.php...o&userid=30989 View this thread: http://www.excelforum.com/showthread...hreadid=506815 |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Put this formula in B1..........
=IF(A1=1,"R",IF(A1=2,"S",IF(A12,"Yes",""))) Vaya con Dios, Chuck, CABG3 "Portuga" wrote: Hi In Cell A1 I have Possible Values from 1 to 6. I want to have the following conditions in B1: If a1=1 then "R", If a1=2 then "S", If a12 then "Yes" Thanks! -- Portuga ------------------------------------------------------------------------ Portuga's Profile: http://www.excelforum.com/member.php...fo&userid=6385 View this thread: http://www.excelforum.com/showthread...hreadid=506815 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
help needed with "if" statement | Excel Worksheet Functions | |||
"If" statement using "And" | Excel Discussion (Misc queries) | |||
if then else statement also using "and" | Excel Discussion (Misc queries) | |||
The "IF" Statement | Excel Worksheet Functions | |||
Do I need a sumif or sum of a vlookup formula? | Excel Worksheet Functions |