A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculate difference between current date & prior



 
 
Thread Tools Display Modes
  #1  
Old May 24th, 2010, 02:59 PM posted to microsoft.public.excel.worksheet.functions
s
external usenet poster
 
Posts: 82
Default Calculate difference between current date & prior

I am looking for a formula that would calculate the difference in dates but
display in weeks-can this even be done?

Col A
Date Received
4/15/2010


Col B
Approx Age in Weeks
2

I am trying to calculate the current age in weeks but cannot come up with
the right formula. The closest I could get was using TODAY() but kept
getting the errors. I have the formatting for the results col. set as number
with 0 decimals.
Thank you in advance for any assistance!
  #2  
Old May 24th, 2010, 03:13 PM posted to microsoft.public.excel.worksheet.functions
Luke M[_4_]
external usenet poster
 
Posts: 451
Default Calculate difference between current date & prior

=INT((TODAY()-A2)/7)

or

=ROUND((TODAY()-A2)/7)

--
Best Regards,

Luke M
"S" wrote in message
...
I am looking for a formula that would calculate the difference in dates but
display in weeks-can this even be done?

Col A
Date Received
4/15/2010


Col B
Approx Age in Weeks
2

I am trying to calculate the current age in weeks but cannot come up with
the right formula. The closest I could get was using TODAY() but kept
getting the errors. I have the formatting for the results col. set as
number
with 0 decimals.
Thank you in advance for any assistance!




  #3  
Old May 24th, 2010, 03:17 PM posted to microsoft.public.excel.worksheet.functions
Niek Otten
external usenet poster
 
Posts: 2,533
Default Calculate difference between current date & prior

=(TODAY()-A2)/7

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"S" wrote in message
...
I am looking for a formula that would calculate the difference in dates but
display in weeks-can this even be done?

Col A
Date Received
4/15/2010


Col B
Approx Age in Weeks
2

I am trying to calculate the current age in weeks but cannot come up with
the right formula. The closest I could get was using TODAY() but kept
getting the errors. I have the formatting for the results col. set as
number
with 0 decimals.
Thank you in advance for any assistance!


  #4  
Old May 25th, 2010, 02:14 PM posted to microsoft.public.excel.worksheet.functions
s
external usenet poster
 
Posts: 82
Default Calculate difference between current date & prior

Works perfectly! Thank you so much - it was the /7 that I was missing... DUH!

"Niek Otten" wrote:

=(TODAY()-A2)/7

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"S" wrote in message
...
I am looking for a formula that would calculate the difference in dates but
display in weeks-can this even be done?

Col A
Date Received
4/15/2010


Col B
Approx Age in Weeks
2

I am trying to calculate the current age in weeks but cannot come up with
the right formula. The closest I could get was using TODAY() but kept
getting the errors. I have the formatting for the results col. set as
number
with 0 decimals.
Thank you in advance for any assistance!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:26 AM.


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