View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Suleman Peerzade[_2_] Suleman Peerzade[_2_] is offline
external usenet poster
 
Posts: 189
Default Calculating as per the number of days in a month

Thanks liang,

I have sorted this issue was a bit lazy to complete it
--
Thanks
Suleman Peerzade


"Liang" wrote:

Set two date value, one is for today, the other one is the end of year date.
And then use the end of year date minus today's date. You'll get the days.

Date
1/1/2008
6/1/2007
Formula Description (Result)
=A2-TODAY() Number of days from current date to end of 2007 (Varies)
=A2-A3 Number of days from 6/1/2007 until the end of 2007 (214)