Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In using the "if" statement I would like the logic portion to state that if
cell# = v or m or d or a but the if statement seems to only work if the logic is = to a number. Should I be using another formula? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
try this =IF(OR(A1="v",A1="m",A1="d",A1="a"),"Found one","Nope not there") -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "Debra Reid" wrote: In using the "if" statement I would like the logic portion to state that if cell# = v or m or d or a but the if statement seems to only work if the logic is = to a number. Should I be using another formula? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sorry about the double posting. I have never used this before and when I
posted it gave me an error so I did not think it would post. thank-you greatly. Both suggestions worked. Debra "Mike H" wrote: Hi, try this =IF(OR(A1="v",A1="m",A1="d",A1="a"),"Found one","Nope not there") -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "Debra Reid" wrote: In using the "if" statement I would like the logic portion to state that if cell# = v or m or d or a but the if statement seems to only work if the logic is = to a number. Should I be using another formula? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Text strings should be within quotes...
=IF(OR(A1="v",A1="m"),"Yes","No") -- Jacob "Debra Reid" wrote: In using the "if" statement I would like the logic portion to state that if cell# = v or m or d or a but the if statement seems to only work if the logic is = to a number. Should I be using another formula? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks this helps.
"Jacob Skaria" wrote: Text strings should be within quotes... =IF(OR(A1="v",A1="m"),"Yes","No") -- Jacob "Debra Reid" wrote: In using the "if" statement I would like the logic portion to state that if cell# = v or m or d or a but the if statement seems to only work if the logic is = to a number. Should I be using another formula? |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Here's another way...
=IF(OR(A1={"V","M","D","A"}),"Yes","No") -- Biff Microsoft Excel MVP "Debra Reid" <Debra wrote in message ... In using the "if" statement I would like the logic portion to state that if cell# = v or m or d or a but the if statement seems to only work if the logic is = to a number. Should I be using another formula? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
IF statement inside a SUMIF statement.... or alternative method | Excel Worksheet Functions | |||
Reconcile Bank statement & Credit card statement & accounting data | Excel Worksheet Functions | |||
Embedding an OR statement in an IF statement efficiently | Excel Discussion (Misc queries) | |||
Can an If statement answer an If statement? | Excel Discussion (Misc queries) | |||
appending and IF statement to an existing IF statement | Excel Worksheet Functions |