IF AND and WILDCARDS

horizonflame

Board Regular
Joined
Sep 27, 2018
Messages
156
I am performing an if formula that has 2 AND criteria, fo which one is a contains wildcard. I read that countifs may be the solution but I am still off the mark

Can anyone help please?



=IF(COUNTIFS(N6,">0",C6,"*CDITT*"),WORKDAY(N6,-Info!$J$12,FigWork!$B$18:$B$25),IF(COUNTIFS(N6,">0",C6,"<>*CDITT*"),WORKDAY(N6,-Info!$E$12,FigWork!$B$18:$B$25),0))

Many thanks
 

Some videos you may like

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
7,908
Office Version
365
Platform
Windows
Do you mean this?

=IF(N6>0,IF(ISNUMBER(SEARCH("CDITT",C6)),WORKDAY(N6,-Info!$J$12,FigWork!$B$18:$B$25),WORKDAY(N6,-Info!$E$12,FigWork!$B$18:$B$25)),"")
 

Watch MrExcel Video

Forum statistics

Threads
1,089,977
Messages
5,411,624
Members
403,383
Latest member
Excelacity

This Week's Hot Topics

Top