Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If with multiple criteria 1

Status
Not open for further replies.

hamburg18w

Technical User
Dec 27, 2005
32
0
0
US
Can you help me build the following formula:
if f6:j6 =
Either: "Of" or "Hm" or "Grp" or "Ph" =
Result: Yes
 
Hi,

Use the COUNTIFS() function. If the function returns a value greater than 0, you meet your requirement.

Skip,
[sub]
[glasses]Just traded in my OLD subtlety...
for a NUance![tongue][/sub]
 
Try
=IF(SUMPRODUCT(COUNTIFS(F6:J6,{"Of","Hm","Grp","Ph"})),"Yes","")
 
Thank you for the help. It worked. I really appreciate the quick response.
Juan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top