+ Reply to Thread
Results 1 to 5 of 5

remaining average

Hybrid View

  1. #1
    Registered User
    Join Date
    01-13-2010
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    12

    remaining average

    Hello, I have an interesting question and I have racked my brain on it and am wondering if any of you know a solution.

    I work in a resteraunt and we track times. So I have a seven day average, where everyday they enter what their times are and it shows what the average is for the week. This part works. However, I would like to add a cell that that shows them what they would need to average to hit the goal.

    So.......

    If say you have the following

    Mon, Tues, Wed....etc Average
    3:49, 3:50, 3:55...etc 3:52

    Now say the goal is supposed to be 3:50, how would I be able to add a cell that figures out and divides out for the rest of the days of the week what it would take to bring that average down. IE if say in the above, it may say we need to average 3:48 the next 4 days, and each day update as you add in the next days actual time.

    Sorry if this is confusing, hard to explain it, but anyone that could help, I would very much appreciate it.

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: remaining average

    If the times are in A2:G2, with the average goal in H2, try =(H2*7-SUM(A2:G2))/(7-COUNT(A2:G2))

  3. #3
    Registered User
    Join Date
    01-13-2010
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: remaining average

    wow, it worked well. Only one issue though. When I tested it, it was working well until I enter the last day then I get #DIV/0! any ideas? works thru 6 of the days, just not the 7th

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: remaining average

    If you have 7 values then there should be no result - or at least it should be 0

    If using XL2007

    =IFERROR(existing formula,0)

    If using pre XL2007

    =IF(COUNT(A2:G2)=7,0,existing formula)
    Last edited by DonkeyOte; 01-13-2010 at 07:45 AM. Reason: typo ni narrative

  5. #5
    Registered User
    Join Date
    01-13-2010
    Location
    Eugene, Oregon
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: remaining average

    Thank You. I guess I just hate seeing error type codes. Nice to see there are such nice people to help out here.

+ 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