Excel Dates

G

Guest

Hi Im using the networkdays function to calculate the days remining until an
expiry
date. but when the expiry date is pasted the days remaining goes into minus
figures. Is there any way to stop this so the days remaining stay at zero.
eg.

=NETWORKDAYS(A1,B1)

A1 B1 C1
Todays date Expiry date days remaining
17/05/06 14/04/06 -24
 
A

aidan.heritage

except of course it should have been b1>now() as we want the
calculation to happen if B1 is a future date - sorry about that!!!
 
G

Guest

Try this:

=MAX(0,NETWORKDAYS(A1,B1))

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 

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