Count # days

  • Thread starter Thread starter Annette
  • Start date Start date
A

Annette

Here's my formula, but it is resulting unexpected.

=IF((NETWORKDAYS(A68,D68))=1,1,"")

I want to eliminate 'same day'. So if the date is 1/1/06 in A68 and 1/1/06
in D68, I don't want a number but rather a blank. My formula indicates 1
when it sees same day.

The formula works correctly if cell A has 1/1/06 and cell d has 1/2/06 = 1

Thanks!
 
If testing for same values why not use

=IF(A68=D68,"",your _formula

if you use the same dates and the dates are on a weekend date networkdays
will return zero
whereas it is on a weekday it will return 1





--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com
 

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