Excel formulas

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

Guest

I'm trying to write a formula in Excel that calculates the number of days between dates in two different cells. Not too difficult, I've got that part

=(NETWORKDAYS(B3,H3,Holidays!$A$2:$A$11)-

However, H3 is not always populated. Given this, I want the function to then look at C3 where there will be a date. I just can't figure out how to do this. Any help you could provide would be GREATLY appreciated

Thanks
 
=NETWORKDAYS(B3,IF(H3="",C3,H3),Holidays!$A$2:$A$11)-1

--

Regards,

Peo Sjoblom

RCAustin said:
I'm trying to write a formula in Excel that calculates the number of days
between dates in two different cells. Not too difficult, I've got that
part:
=(NETWORKDAYS(B3,H3,Holidays!$A$2:$A$11)-1

However, H3 is not always populated. Given this, I want the function to
then look at C3 where there will be a date. I just can't figure out how to
do this. Any help you could provide would be GREATLY appreciated.
 
Cool! I was sure it had to have and IF in there, I just
couldn't figure out how. Thanks!!
 

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

Similar Threads


Back
Top