+ Reply to Thread
Results 1 to 4 of 4

Averaging numbers IF another cell is a certain value

  1. #1
    Registered User
    Join Date
    03-01-2017
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    16

    Averaging numbers IF another cell is a certain value

    Hey Guys,

    Ran into another annoying problem that doesn't seem to difficult in theory but i can't figure it out;

    http://imgur.com/a/kLv1Z

    So what i'm trying to do is get the average of cells N:N IF cells D:D correspond with C1. I know a doozy right.

    I've mucked around with count functions, if functions and just can't seem to get it to work.

    My line of thinking with how the cell will sort of look is; =average(index(N:N,match((countif(D:D,indirect("c1"))......
    The more i think about it the less it makes sense so hopefully one of you guys can help me figure this out as it seems like a super simple problem but i just can't get it.

    Thanks Guys

    Ed

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,398

    Re: Averaging numbers IF another cell is a certain value

    I can't read your blurry picture. Try

    =AVERAGEIF(D:D,$C$1,N:N)

    If that's not it...

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    03-01-2017
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    16

    Re: Averaging numbers IF another cell is a certain value

    Thank you very much Glenn,

    I was overthinking it way too much and didn't realise excel had an 'averageif' function.

    I'll also take heed of your other recommendations

    Thanks again

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,398

    Re: Averaging numbers IF another cell is a certain value

    You're welcome. I'm forever failing to see the simple solution. So: you're not on your own.

+ 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. Averaging Numbers
    By fearonc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-23-2013, 01:41 PM
  2. Averaging Numbers
    By fearonc in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-03-2013, 04:09 PM
  3. Averaging only some numbers
    By tantank79 in forum Excel General
    Replies: 2
    Last Post: 12-23-2008, 05:35 PM
  4. Averaging numbers
    By ShannonE in forum Excel General
    Replies: 2
    Last Post: 10-01-2008, 05:18 PM
  5. Excel 2007 : Averaging numbers within an Array
    By nohmaste in forum Excel General
    Replies: 2
    Last Post: 08-28-2008, 12:18 PM
  6. Averaging different numbers of cells
    By Brad Hubeny in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. Averaging different numbers of cells
    By Brad Hubeny in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-29-2005, 07:05 PM
  8. Averaging Numbers when 2 numbers in one cell
    By Ourania in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-12-2005, 03:06 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