IF AND and WILDCARDS

horizonflame

Board Regular
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

=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

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

steve the fish

Well-known Member
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)),"")

Replies
13
Views
162
Replies
3
Views
44
Replies
3
Views
122
Replies
4
Views
62
Replies
0
Views
173

1,132,677
Messages
5,654,691
Members
418,147
Latest member
dorkas

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back