Calculation of Dates (workweeks)

marshak

Board Regular
Joined
May 28, 2007
Messages
65
Hello all!

I once again need your expertise. I need to calculate:
  1. The total number of workweeks each of these people worked between 1/28/2017 and present.
  2. The cumulative total number of workweeks all of these people worked between 1/28/2017 and present.
  3. The total number of workweeks each of these people worked between 1/28/2020 and present.
  4. The cumulative total number of workweeks all of these people worked between 1/28/2020 and present.
I do not know where to begin to get these calculations done. Please help!

Thank you in advance!!

First NameLast NameStart DateTermination Date
ALICEACUNA02/22/1810/10/19
ANAAGREDANO01/16/1203/25/22
JAVIERALATORRE03/25/1302/28/18
KENNYAU02/16/1003/25/22
JAVIERAYALA12/01/1403/25/22
HECTORBARRERA09/16/1902/26/20
MICHAELBENSON07/20/1505/03/19
DAVIDBLACKMORE09/27/1005/28/20
ONBLANCHARD12/10/0102/22/19
BINHDINH04/09/1901/20/21
JOSEDOMINGUEZ03/09/2006/30/22
EMERITODONADO09/15/9702/18/22
RONALDDONGO08/20/1909/17/20
MOKHTARFAZLY11/26/1802/18/22
DONALDFLEMING04/17/1703/25/22
EDNAGULLIXSON07/22/2009/15/21
SALOMONGUTIERREZ11/18/1903/25/22
MARCUSHAMPTON09/30/1908/03/20
SANDRAHERRERA01/04/9903/25/22
SANDRAHORNER08/29/1102/18/22
TONYHUYNH12/02/0207/30/19
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Assuming that Start and Termination dates are in column C & D, from row 3.
You put in F1 the date Jan 28 2017 and in F2 the current date; in G1 the date Jan 28 2018 and G2 again the current date
Now use in F3 the formula =(1-MAX($C3,F$1)+MIN($D3,F$2))/7
Format as number with 2 decimals, then copy F3 to G3, then copy downward

This will give for each Name the number of weeks (ie, period of 7 days) in between the dates

Don't know if you have a different definition for "Week"...
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,964
Members
452,371
Latest member
Frana

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top