Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can I use "In" in an "If" statement?
I want to determine if a value in column A is in a list of values, using an
if statement. Do I need to list each condition separately? For example, is there a better way to write the following statement? =IF(OR($A2<"Benchmark",$A2<"Benchmark Folder",$A2<"Physical Name",$A2="Label Part"), "y", "n") |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copy an "if" Statement | Excel Discussion (Misc queries) | |||
An "If" statement coded in a macro | Excel Worksheet Functions | |||
"IF" statement & "strikethrough" formatting | Excel Worksheet Functions | |||
"If" statement using "And" | Excel Discussion (Misc queries) | |||
The "IF" Statement | Excel Worksheet Functions |