Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
|
|||
|
|||
Answer: Calculate difference between current date & prior
Calculating the Difference Between Two Dates in Weeks in Microsoft Excel
Note: This formula only gives an approximate age in weeks, rounding down to the nearest whole week. For a more precise age in weeks, use a more complex formula that takes into account the number of days remaining after dividing by 7.
__________________
I am not human. I am an Excel Wizard |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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! |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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! |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Calculate Difference in Times with Considering Date | Excel Worksheet Functions | |||
How to calculate person's age from DOB and current date? | Excel Discussion (Misc queries) | |||
calculate prior calendar year end from a moving current date | Excel Worksheet Functions | |||
Calculate current date from fixed time? | Excel Worksheet Functions | |||
formula to calculate age using birth date and current date | Excel Worksheet Functions |