+ Reply to Thread
Results 1 to 3 of 3

Calculating Avergae Weekly Workload Based on 2 Columns of Dates

  1. #1
    Registered User
    Join Date
    07-13-2010
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Calculating Avergae Weekly Workload Based on 2 Columns of Dates

    Okay so I hope I can explain this in a concise way

    I am putting together a database and am having trouble calculating the workload by week. I created a gantt chart(stacked column) that illustrated when a specific task was started and when it was completed. Now I created the graph so that the grid lines depict weeks and years, and like I said the chart illustrates the data perfectly, however in order to calculate how many tasks/projects were going on in a given week, I have to manually count how many bars cross my week gridlines. Tedious and almost not worth it. Now I thought I was on the right track by creating a column with just a rundown of weekly placeholders for the past three years, and I was going to try and group them in a pivot table and try to get a raw count of how many tasks were still in process during any of the given weeks, however here is where my dilemma resides... I only have start date, completion date and Duration( Completion - Start) There really is no absolute form of time on excel, just math formulas? My question is how can I trick excel into comparing the (start date + duration + completion date) with the weekly placeholders I set up, in order to calculate the average, min, max, std dev and so forth of my weekly workload?

    Sorry for any wordiness.

    -Dan

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Calculating Avergae Weekly Workload Based on 2 Columns of Dates

    Hard to say without an example spreadsheet (showing dummy data of what you're interested in). You might want to try COUNTIFS or may use SUMPRODUCT with your beginning and ending dates. I don't see why you'd need duration if you have those two pieces of information.

    See attached for an example with COUNTIFS. If any of the projects are active for any part of that week, it counts them.

    Is this what you are looking for?
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    07-13-2010
    Location
    Washington, DC
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Calculating Avergae Weekly Workload Based on 2 Columns of Dates

    Yes that is pretty much exactly what I need. I also want to be able to use the numbers in a pivot table. How do I autofill so that it it covers every week since 2004? Also is manually putting the date ranges by week the easiest way to do it? I wanna be able to group them in a pivot table so I can compare average weekloads by months and years. What would be the worthwhile way to incorporate =countif into my database so I can use the data computed by countif to make charts that are easily manipulated.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1