ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Counting Weeks in a year (https://www.excelbanter.com/excel-worksheet-functions/155606-counting-weeks-year.html)

Frances C[_2_]

Counting Weeks in a year
 
What formula can I use to count the amount of week between two dates in a
year. I do not want to count workdays, I want to count full weeks.

Harlan Grove[_2_]

Counting Weeks in a year
 
"Frances C" wrote...
What formula can I use to count the amount of week between two dates in a
year. I do not want to count workdays, I want to count full weeks.


=INT((LaterDate-EarlierDate)/7)

will count full weeks between EarlierDate and LaterDate and ignore remaining
days.



Frances C[_2_]

Counting Weeks in a year
 
How can I make it invisible, I do not want a cero to show on the cell if I
have not enter the dates on the other cells. Thanks for your help you are
great!

"Harlan Grove" wrote:

"Frances C" wrote...
What formula can I use to count the amount of week between two dates in a
year. I do not want to count workdays, I want to count full weeks.


=INT((LaterDate-EarlierDate)/7)

will count full weeks between EarlierDate and LaterDate and ignore remaining
days.




David Biddulph[_2_]

Counting Weeks in a year
 
=IF(COUNT(LaterDate,Earlier Date)=2,INT((LaterDate-EarlierDate)/7),"")
--
David Biddulph

"Frances C" wrote in message
...
How can I make it invisible, I do not want a cero to show on the cell if I
have not enter the dates on the other cells. Thanks for your help you are
great!

"Harlan Grove" wrote:

"Frances C" wrote...
What formula can I use to count the amount of week between two dates in
a
year. I do not want to count workdays, I want to count full weeks.


=INT((LaterDate-EarlierDate)/7)

will count full weeks between EarlierDate and LaterDate and ignore
remaining
days.







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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com