Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi, LisaD
This formula checks if C9 contains "jul" (it is not case-sensitive) =IF(COUNTIF(C9, "*Jul*"), 40*E9, 0) (An alternative is to use the FIND or SEARCH functions, but then you must trap the error returned if the search string is not found) Is that something you can work with? *********** Regards, Ron XL2002, WinXP "LisaD" wrote: Stumped on this one... is it possible to have more than one logical test using the "IF" function? My example: C9 is a drop down that includes months (i.e. Jul, Mid-Jul, End-Jul). I need to calculate all the July's, not just "Jul". This is what I need, but I don't know how to setup it up. IF C9 = "Jul" or "Mid-Jul" or "End-Jul", 40*E9, 0 Many thanks!! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
A logical test in the If function for blank, i.e., If blank? | Excel Worksheet Functions | |||
ConditionalFormat-EndsWith, and logical Test IF | Excel Discussion (Misc queries) | |||
Concatenate a Logical Test | Excel Discussion (Misc queries) | |||
Is there a logical test for a cell's format instead of contents | Excel Worksheet Functions | |||
=IF logical test to search only part of a cell | Excel Worksheet Functions |