+ Reply to Thread
Results 1 to 4 of 4

Working out the average score in a column after checking another

  1. #1
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Working out the average score in a column after checking another

    Evening,

    I am using this formula to work out the average in the column if the value of C17 is in column H

    =IFERROR(AVERAGEIFS('VA Predictions'!AA$2:AA$300,'VA Predictions'!$H$2:$H$300,Lookups!$C17),"")

    However, I need to adapt the formula so it does this if anything but the value in C17 is in column H, I tried this:

    =IFERROR(AVERAGEIFS('VA Predictions'!AA$2:AA$300,'VA Predictions'!$H$2:$H$300<>Lookups!$C17),"")

    but no joy, any help would be appreciated.

    Many thanks
    Last edited by Cmorgan; 05-21-2012 at 02:58 PM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Working out the average score in a column after checking another

    Hi Cmorgan,

    At last <> sign should not be there in the formula which you are adapting AverageIFs... upload an sample file so that I can give a quick practical attempt. thanks.


    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Working out the average score in a column after checking another

    At quick glance, I think it would work if you change it to:

    =IFERROR(AVERAGEIFS('VA Predictions'!AA$2:AA$300,'VA Predictions'!$H$2:$H$300,"<>"&Lookups!$C17),"")

    EDIT: It should work!
    Last edited by Søren Larsen; 05-21-2012 at 02:58 PM.
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  4. #4
    Forum Contributor
    Join Date
    09-23-2010
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    346

    Re: Working out the average score in a column after checking another

    Works a treat, ta.

+ 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