Excel if formula maybe

G

Guest

I want a formula to do this
if c2 = Holiday or Bank Hol then display 8 (in the cell im
typing the formula) if not do another formula (on the info
in c2)
 
A

Aladin Akyurek

=IF(ISNUMBER(MATCH(C2,Holidays,0)),8,X)

where Holidays refers to a range housing (bank) holiday dates and X an
expression that you want to evaluate when C2 is not a holiday date.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top