#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default Todays date

Column A has dates in it May 17 to August 15 in column J is how many days
until August 15th. In J3 I would like to have the number of days until August
15th from todays date, tomorrow, tomorrows date and so on. Is there a
formula for Excel to do this automatically?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 695
Default Todays date

=DAYS360(TODAY(),$A$91)+1-ROW(1:1)

Where A91 is August 15


"Kevin" skrev:

Column A has dates in it May 17 to August 15 in column J is how many days
until August 15th. In J3 I would like to have the number of days until August
15th from todays date, tomorrow, tomorrows date and so on. Is there a
formula for Excel to do this automatically?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 504
Default Todays date


Thank you
"excelent" wrote:

=DAYS360(TODAY(),$A$91)+1-ROW(1:1)

Where A91 is August 15


"Kevin" skrev:

Column A has dates in it May 17 to August 15 in column J is how many days
until August 15th. In J3 I would like to have the number of days until August
15th from todays date, tomorrow, tomorrows date and so on. Is there a
formula for Excel to do this automatically?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Todays date

Interesting that you use DAYS360(). Could you tell us why?

You'll see that in that case you get a 2 day difference in answer between
=DAYS360(TODAY(),$A$91) and =$A$91-TODAY().
The latter is the formula which I would have used. To take an obvious case,
if you set A91 to a date a year from today, DAYS360 gives 360 days (which
what you'd expect as it works on 12 30-day months), whereas my simpler, but
hopefully more correct, formula gives 366, which seems correct for a span of
a year (allowing for the fact that next year is a leap year).

You need to think, of course, about whether the number of days should be
inclusive or exclusive of either or both of the end dates of the range.
--
David Biddulph

"excelent" wrote in message
...
=DAYS360(TODAY(),$A$91)+1-ROW(1:1)

Where A91 is August 15


"Kevin" skrev:

Column A has dates in it May 17 to August 15 in column J is how many days
until August 15th. In J3 I would like to have the number of days until
August
15th from today's date, tomorrow, tomorrows date and so on. Is there a
formula for Excel to do this automatically?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
referencing todays date. chesty Excel Worksheet Functions 1 July 11th 06 11:59 AM
Todays date rexmann Excel Discussion (Misc queries) 5 January 12th 06 03:18 PM
Create a button that will date stamp todays date in a cell Tom Meacham Excel Discussion (Misc queries) 3 January 11th 06 01:08 AM
todays date formula BigAl1322 Excel Worksheet Functions 3 October 24th 05 11:17 AM
When I open my past invoice it keeps changing date to todays date Stop date changing to todays in Excel Excel Worksheet Functions 2 October 7th 05 04:54 PM


All times are GMT +1. The time now is 04:48 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"