+ Reply to Thread
Results 1 to 8 of 8

Average productivity for the past 7 WORKING days

  1. #1
    Registered User
    Join Date
    01-18-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    88

    Average productivity for the past 7 WORKING days

    Hello all! I am reposting this after prematurely marking it solved.

    I have 2 rows of data...

    Row one has a series of sequential dates, ie: 3/22/2016, 3/24/2016, 3/25/2016 ect..
    Row two has a simple number of widgets per day , ie: 5 12 6

    This data set will continue to grow across the sheet as time goes by.

    What I am looking to do is show the average number of widgets for the past 7 working days from todays date. The result is needed for a daily dashboard showing the running average for the past 7 working days only (Monday- Friday)

    The formula should ignore Saturdays and Sundays!

    Thanks as always!!

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Average productivity for the past 7 WORKING days

    please attach a sample excel file with expected result
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Average productivity for the past 7 WORKING days

    See if this work for you
    Use this formula in H3 and copy right to obtain the average of 5 past working days from the date in H1.
    =IF(WEEKDAY(H1)<6,SUMPRODUCT(--(WEEKDAY(B1:H1)<6)*B2:H2)/5,"")
    Where row 1 and row 2 from column B has your date and value respectively.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Average productivity for the past 7 WORKING days

    Let's say your dates are in A1:Z1, and the values to average are in A2:Z2

    =AVERAGEIFS(A2:Z2,A$1:Z$1,">="&WORKDAY(TODAY()+1,-7),A$1:Z$1,"<="&WORKDAY(TODAY()+1,-1))

  5. #5
    Registered User
    Join Date
    01-18-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    88

    Re: Average productivity for the past 7 WORKING days

    Thanks guys.. I am traveling this day, once I land I will test and report back!!

  6. #6
    Registered User
    Join Date
    01-18-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    88

    Re: Average productivity for the past 7 WORKING days

    I uploaded a workbook.. try both suggestions gets me very close but seem to ignore Friday and Saturday rather then Saturday and Sunday??
    Attached Files Attached Files

  7. #7
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Average productivity for the past 7 WORKING days

    Hi
    Try this in G3 and copy right
    =IF(WEEKDAY(G1,2)<6,SUMPRODUCT(--(WEEKDAY(A1:G1,2)<6)*A2:G2)/5,"")
    See the file WeekDay Average(1).xlsx

  8. #8
    Registered User
    Join Date
    01-18-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    88

    Re: Average productivity for the past 7 WORKING days

    Thanks for all your help Jose.. That worked perfect!

+ 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. [SOLVED] Average performance for the past 7 working days from todays date
    By fgruhlke in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-24-2016, 10:23 PM
  2. Aging report formula not working for 0-30 days past due
    By Lorir1 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-04-2015, 01:12 PM
  3. [SOLVED] Running average in productivity tracker
    By zh15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-25-2014, 07:51 AM
  4. [SOLVED] How to calculate average total working days for tasks completion
    By Laras in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-19-2013, 06:38 AM
  5. [SOLVED] AVERAGE value from past 5 days - multiple entries
    By jj554 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2013, 09:54 PM
  6. Number of days absent in the past 90 days
    By pumpkinalden in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 07-19-2012, 08:01 PM
  7. Weekly productivity, hours working vs multiple proccesses
    By rowanmann in forum Excel General
    Replies: 1
    Last Post: 05-13-2012, 09:00 AM

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