Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default ormula for weeks from a date to today?

Can someone please advise me of a formula that would automatically update the
number of weeks from a list of dates to the current date?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Formula for weeks from a date to today?

My daughter just helped me find it... =(DATEDIF(B2,NOW(),"d"))/7
Thanks anyway.

"Jenn247" wrote:

Can someone please advise me of a formula that would automatically update the
number of weeks from a list of dates to the current date?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula for weeks from a date to today?

=(DATEDIF(B2,NOW(),"d"))/7

This will do the same thing:

=(TODAY()-B2)/7

Also, how do you want to handle decimal results? For example:

B2 = 1/1/2010

Both formulas return 5.714. Is that the result you want or do you want to
round that up to 6 or down to 5?

--
Biff
Microsoft Excel MVP


"Jenn247" wrote in message
...
My daughter just helped me find it... =(DATEDIF(B2,NOW(),"d"))/7
Thanks anyway.

"Jenn247" wrote:

Can someone please advise me of a formula that would automatically update
the
number of weeks from a list of dates to the current date?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Formula for weeks from a date to today?

Or, more simply:
=(now()-b2)/7

Today is probably a better function to use for this purpose than Now:
=(today()-b2)/7

Regards,
Fred

"Jenn247" wrote in message
...
My daughter just helped me find it... =(DATEDIF(B2,NOW(),"d"))/7
Thanks anyway.

"Jenn247" wrote:

Can someone please advise me of a formula that would automatically update
the
number of weeks from a list of dates to the current date?


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default ormula for weeks from a date to today?

Can someone please advise me of a formula that would automatically update the
number of weeks from a list of dates to the current date?


If the dates are in column A, put this in B1 and copy down:
=(TODAY()-A1)/7

This should put the "number of weeks" next to each date in the
original list.

Column B can be formatted as a number with decimals if that's the way
you want to report fractions of a week. Otherwise, you could wrap
ROUND() or INT() or ROUNDUP() around the formula, depending on the
need.


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
Counting Closed Date < 2 weeks of Open Date etc gcw Excel Worksheet Functions 0 October 23rd 09 11:47 AM
change date in excel from today to original date of file Nelson Excel Discussion (Misc queries) 1 September 18th 09 08:33 AM
IF TODAY equals date in cell A10, or if TODAY is beyond that date SoupNazi Excel Worksheet Functions 4 April 23rd 07 01:14 AM
Refresh Pivottable last 4 weeks data from today Hugo Rask-Jensen Excel Worksheet Functions 0 January 31st 06 01:05 PM
calculate weeks from a start date ( not yr weeks) Todd F. Excel Worksheet Functions 6 November 27th 04 05:53 PM


All times are GMT +1. The time now is 07:17 AM.

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

About Us

"It's about Microsoft Excel"