The =NOW() function gives the current date so...
Type in B2
=INT(NOW()-A1)
and make sure that B2 is formatted as a number, not a date.
The =INT function is not strictly necessary. It converts the date into an
integer so you don't have a decimal fraction of a day.
Copy this formula into B2 for your 2nd example.
If automatic recalculation is not turned on, press SHFT-F9
> Hi,
>
[quoted text clipped - 18 lines]
>
> Thanks a lot.
Drake - 11 Nov 2007 01:21 GMT
>The =NOW() function gives the current date so...
>
[quoted text clipped - 7 lines]
>Copy this formula into B2 for your 2nd example.
>If automatic recalculation is not turned on, press SHFT-F9
=today()-a1
format as general
or
=today()-a1+1
(if you want to include the end date)
For the other stuff, look at Chip Pearson's notes for =DateDif():
http://www.cpearson.com/excel/datedif.aspx
>> Hi,
>>
[quoted text clipped - 18 lines]
>>
>> Thanks a lot.
Thanks, guys. Both ways worked.
=today()-a1
format as general
or
=today()-a1+1
(if you want to include the end date)
For the other stuff, look at Chip Pearson's notes for =DateDif():
http://www.cpearson.com/excel/datedif.aspx
> Hi,
>
[quoted text clipped - 18 lines]
>
> Thanks a lot.

Signature
Dave Peterson