![]() |
logical test
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!! |
All times are GMT +1. The time now is 11:48 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com