#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 8
Default count weeks

hello

how can we count how many weeks we have between a specific date in a cell
(A1 for example) and today?
--
Croco
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,501
Default count weeks

With today in b1 try this:-

=ABS((B1-A1)/7)

The cell this is in must be formatted as 'Number'

Mike

"Croco" wrote:

hello

how can we count how many weeks we have between a specific date in a cell
(A1 for example) and today?
--
Croco

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,501
Default count weeks

Croco,

I didn't like the decimal weeks the previous formula gives so try this
instead:-

=INT(ABS((B1-A1)/7))&" Weeks "&MOD(ABS(A1-B1),7)& " Days"

"Croco" wrote:

hello

how can we count how many weeks we have between a specific date in a cell
(A1 for example) and today?
--
Croco

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 10,593
Default count weeks

=weeknum(TODAY())-weeknum(A1)

you may want to adjust by 1 and compensate for day of the week.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Croco" wrote in message
...
hello

how can we count how many weeks we have between a specific date in a cell
(A1 for example) and today?
--
Croco



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
How do I count the number of even weeks in the current month. dd Excel Worksheet Functions 6 February 22nd 07 07:29 AM
This weeks funnies mikeyboy82 Excel Discussion (Misc queries) 0 January 23rd 06 02:13 PM
how to count weeks from date "X" then calculate _Bigred Excel Worksheet Functions 6 October 18th 05 09:35 AM
Calculate 52 weeks Rainey Excel Worksheet Functions 6 June 21st 05 09:26 AM
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 06: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"