how to solve this by countif

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

anybody please,

i got another head butt from by boss,

something like this

=countif(holidays,"<="D4) &if weekday(holidays)<>1

thank you
driller
 
What does the 1 represent? Sunday?

=SUMPRODUCT(--(holidays<=D4),--(WEEKDAY(holidays)<>1))

Or:

=SUMPRODUCT(--(holidays<=D4),--(TEXT(holidays,"ddd")<>"Sun"))

Biff
 

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

Back
Top