+ Reply to Thread
Results 1 to 6 of 6

Need Help finding Average if specific employees have hours

  1. #1
    Registered User
    Join Date
    03-13-2008
    Posts
    87

    Need Help finding Average if specific employees have hours

    Hello there,

    I am trying to find an average of hourly rates in our excel file as long as the employee is working. We have all the phases of our projects and disburse hours, but not everone on staff is on that project, so is it possible to have excel check if there's any value in a range of cells in a row, if so, that then adds the person hourly salary to the average calculation?

    Does that make sense?

    I have attached a simple example which should clear it up.

    Thanks,
    Lorne
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    03-13-2008
    Posts
    87

    Re: Need Help finding Average if specific employees have hours

    Ok playing with it more and got this formula to work (after pressing ctrl + shift + enter):

    Please Login or Register  to view this content.
    However, now I'd love to take the average based on the percantage the employee is working in the overall project hours? Am I getting to complicated now?

  3. #3
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Need Help finding Average if specific employees have hours

    what do you have in mind?

    if i understand you correctly, you could replace the "0" in "B11:E11>0" to any mathematical calculation.
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Need Help finding Average if specific employees have hours

    Your CSE formula can be replaced with this:

    =AVERAGEIF(B11:E11,">0",B3:E3)

    and I don't know what you mean by your last question

    Sorry Ice, should have refreshed before posting

  5. #5
    Registered User
    Join Date
    03-13-2008
    Posts
    87

    Re: Need Help finding Average if specific employees have hours

    Well I would love to have the average weighted based on percentage.

    So based on my attachment above employee 1 = 81%, 2=0%, 3=13%, 4=6% of the overall hours worked.

    Is it possible to have the average hourly rate calculated with the weighted percentages? I really have no idea where to start on this one.

  6. #6
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Need Help finding Average if specific employees have hours

    @cutter - no big deal; if anything, OP will get a better answer from you than me :-D...

    OP, is this what you are looking for?

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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