+ Reply to Thread
Results 1 to 4 of 4

Correct Formula to Use to Populate Averages

  1. #1
    Registered User
    Join Date
    11-27-2019
    Location
    Newcastle, England
    MS-Off Ver
    Office 365 ProPlus
    Posts
    6

    Question Correct Formula to Use to Populate Averages

    Hi,

    I can't work out what formula to use to resolve the issue below:

    Populate the table to show the average base salary by country and job band in GBP. If there are no employees show a blank cell rather than a zero:

    Ive attached the work book.

    I thought it would be a VLOOKUP but how do you in bed an average function into that?

    Any help or guidance appreciated
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: Correct Formula to Use to Populate Averages

    You can use this formula in B7 of Sheet1:

    =IFERROR(AVERAGEIFS(Sheet2!$K:$K,Sheet2!$G:$G,B$6,Sheet2!$C:$C,$A7),"")

    then copy across and down as required.

    Hope this helps.

    Pete

    P.S. This sounds like a homework question to me

  3. #3
    Forum Contributor
    Join Date
    12-15-2019
    Location
    Not here
    MS-Off Ver
    2010
    Posts
    257

    Re: Correct Formula to Use to Populate Averages

    I am late on this one but it is using the same formula that Pete provided.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Correct Formula to Use to Populate Averages

    I agree with Pete's offering.

    I initially picked up column K and then saw the 'Annual Base Salary' which is column E and used that.
    Now after looking again I'm assuming column K is indeed the base salary although the column label doesn't suggest it since all the column K values are the same % of column E

    I did wonder if this was a homework question. If not then a Pivot table would be the other way to present the results.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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] Formula to auto populate grade averages
    By Treecko in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-31-2013, 11:44 AM
  2. Replies: 4
    Last Post: 03-21-2013, 11:35 AM
  3. Replies: 4
    Last Post: 04-11-2011, 01:25 PM
  4. Populate Averages?
    By gurp99 in forum Excel General
    Replies: 3
    Last Post: 08-09-2010, 01:50 PM
  5. Averages not correct
    By just_some_guy in forum Access Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2010, 07:24 PM
  6. Formula, Averages by name, and differences of averages
    By billyvnilly in forum Excel General
    Replies: 3
    Last Post: 02-24-2010, 05:35 PM
  7. Why are my averages not coming out correct?
    By Onestopfanshop in forum Excel General
    Replies: 0
    Last Post: 07-19-2009, 10:29 PM
  8. Not getting the correct averages.
    By lana1916 in forum Excel General
    Replies: 2
    Last Post: 01-06-2006, 12:15 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