+ Reply to Thread
Results 1 to 7 of 7

Formula to Average Throughput for Workdays Only - Omit weekends, holidays and current date

  1. #1
    Forum Contributor Steve N.'s Avatar
    Join Date
    12-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    298

    Formula to Average Throughput for Workdays Only - Omit weekends, holidays and current date

    Good Day Folks,

    I'm trying to average throughput data (Ins, Outs, Variance) for work days only. I need a formula that omits weekends, other non-workdays as listed, and the current date. The s/s is dynamic in that the last cell in col A contains
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    so the weekends/non-workdays move up the column as days go by.

    Appreciate any help,

    Steve N.
    Attached Files Attached Files

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula to Average Throughput for Workdays Only - Omit weekends, holidays and current

    I don't see how the results you show agree with the numbers.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor Steve N.'s Avatar
    Join Date
    12-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    298

    Re: Formula to Average Throughput for Workdays Only - Omit weekends, holidays and current

    This revised attachment shows it better - formulas in the desired results cells show what I'm trying to get. Thank you!
    Attached Files Attached Files

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula to Average Throughput for Workdays Only - Omit weekends, holidays and current

    You could add a workday column ...

    A
    B
    C
    D
    E
    1
    Date
    IN
    OUT
    VARIANCE
    Workday
    2
    09/01/2013
    3
    0
    +3
    0
    3
    09/02/2013
    0
    0
    +0
    0
    4
    09/03/2013
    482
    306
    +176
    1
    5
    09/04/2013
    230
    307
    -77
    1
    6
    09/05/2013
    341
    279
    +62
    1
    7
    09/06/2013
    217
    294
    -77
    1
    8
    09/07/2013
    1
    0
    +1
    0
    9
    09/08/2013
    6
    0
    +6
    0


    Then use that as a filter for a pivot table:

    A
    B
    C
    D
    1
    Workday 1
    2
    3
    Values
    4
    Row Labels Average of IN Average of OUT Average of VARIANCE
    5
    Sep
    300.53
    301.32
    -0.79
    6
    Oct
    278.77
    288.09
    -9.32
    7
    Nov
    300.44
    294.56
    5.89

  5. #5
    Forum Contributor Steve N.'s Avatar
    Join Date
    12-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    298

    Re: Formula to Average Throughput for Workdays Only - Omit weekends, holidays and current

    I'll give that a shot. This is part of a much larger s/s that feeds a report so there are a few limitations. I was thinking a formula would be much cleaner and not bloat the file...

  6. #6
    Forum Contributor Steve N.'s Avatar
    Join Date
    12-22-2011
    Location
    USA
    MS-Off Ver
    Excel 2007, 2010
    Posts
    298

    Re: Formula to Average Throughput for Workdays Only - Omit weekends, holidays and current

    Your work day/pivot table suggestion gave me an idea...

    Since the Ins and Outs are so low on weekends/off days , I decided to total the entire month and divide by the number of 'Networkdays'. The results are within 1 unit or less. Close enough for this calculation...

    Thank you for the help.

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Formula to Average Throughput for Workdays Only - Omit weekends, holidays and current

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 10
    Last Post: 02-29-2024, 08:55 AM
  2. Replies: 4
    Last Post: 04-16-2014, 04:17 AM
  3. Replies: 5
    Last Post: 08-02-2011, 07:11 AM
  4. [SOLVED] Formula for adding days to a date excluding weekends and holidays?
    By Jake via OfficeKB.com in forum Excel General
    Replies: 2
    Last Post: 01-25-2006, 04:03 PM
  5. [SOLVED] Formula Workdays-Holidays-adjustments
    By Glenna in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-17-2005, 01:10 PM

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