Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
I' am hoping you can help with what might seem a basic query. I have a row of dates in one column for which I want to find the difference between the earlist and latest date i.e. =max(A1:A10)-=Min(A1:A10); however I cant get the cell to calculate the number of weeks difference as apposed to the number of days. Secondly I need to apply the same rule to the column again; but only concentrating on those dates after a date of my choice i.e. The number of weeks between the 31/03/08 and the latest date in the column. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi IGG,
Is there a reason you can't simply divide the number of days by 7? =(MAX(A1:A10)-MIN(A1:A10))/7 Cheers -- macropod [MVP - Microsoft Word] ------------------------- "IGG" wrote in message ... Hi, I' am hoping you can help with what might seem a basic query. I have a row of dates in one column for which I want to find the difference between the earlist and latest date i.e. =max(A1:A10)-=Min(A1:A10); however I cant get the cell to calculate the number of weeks difference as apposed to the number of days. Secondly I need to apply the same rule to the column again; but only concentrating on those dates after a date of my choice i.e. The number of weeks between the 31/03/08 and the latest date in the column. |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this
=INT((MAX(A1:A10)-MIN(A1:A10))/7)&" Weeks "&MOD(MAX(A1:A10)-MIN(A1:A10),7)&" Days" For the second part of your question put the date 31/3/2008 in a cell (say) B1 and use =INT((B1-MAX(A1:A10))/7)&" Weeks "&MOD(B1-MAX(A1:A10),7)&" Days" Mike "IGG" wrote: Hi, I' am hoping you can help with what might seem a basic query. I have a row of dates in one column for which I want to find the difference between the earlist and latest date i.e. =max(A1:A10)-=Min(A1:A10); however I cant get the cell to calculate the number of weeks difference as apposed to the number of days. Secondly I need to apply the same rule to the column again; but only concentrating on those dates after a date of my choice i.e. The number of weeks between the 31/03/08 and the latest date in the column. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Difference in Weeks between 2 dates | Excel Worksheet Functions | |||
Function to calculate the nuber of weeks between dates? | Excel Worksheet Functions | |||
formula to calculate difference between dates and times | Excel Discussion (Misc queries) | |||
How do I calculate # of weeks between 2 dates in excel? | Excel Worksheet Functions | |||
HOW TO CALCULATE NUMBER OF WEEKS BETWEEN TWO GIVEN DATES(MAY BE . | Excel Worksheet Functions |