Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiple String IF Formulas
What is the format for a multiple-string IF formula? Here is what I am
trying to do: IF(C11="M",50) IF(C11="C",50) IF(C11="L",15) Thanks! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiple String IF Formulas
IF(C11="M",50,IF(C11="C",50,IF(C11="L",15,"somethi ngelse")))
"cwn" wrote: What is the format for a multiple-string IF formula? Here is what I am trying to do: IF(C11="M",50) IF(C11="C",50) IF(C11="L",15) Thanks! |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiple String IF Formulas
Hi
=IF(C11="M",50,IF(C11="C",50,IF(C11="L",15,""))) The final pair of double quotes signifies nothing to be entered in the cell if the value in C11 is not C or M or L. Change to anything else you wish. -- Regards Roger Govier "cwn" wrote in message ... What is the format for a multiple-string IF formula? Here is what I am trying to do: IF(C11="M",50) IF(C11="C",50) IF(C11="L",15) Thanks! |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiple String IF Formulas
Try this:
=MAX(COUNTIF(C11,{"M","C","L"})*{50,50,15}) Is that something you can work with? Post back if you have more questions. -------------------------- Regards, Ron Microsoft MVP (Excel) (XL2003, Win XP) "cwn" wrote in message ... What is the format for a multiple-string IF formula? Here is what I am trying to do: IF(C11="M",50) IF(C11="C",50) IF(C11="L",15) Thanks! |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiple String IF Formulas
=IF(OR(C11="M",C11="C"),50,IF(C11="L",15,"?"))
You did not state what to return if C11 is not M, C or L so I return a ? in that case. Tyro "cwn" wrote in message ... What is the format for a multiple-string IF formula? Here is what I am trying to do: IF(C11="M",50) IF(C11="C",50) IF(C11="L",15) Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I string formulas together in Excel to display variables | New Users to Excel | |||
Long string of IF formulas | Excel Discussion (Misc queries) | |||
Search string with multiple criteria | Excel Worksheet Functions | |||
Data from multiple cells into one string. | Excel Discussion (Misc queries) | |||
Counting multiple occurances of a specific string | Excel Worksheet Functions |