+ Reply to Thread
Results 1 to 4 of 4

average with conditions

  1. #1
    Registered User
    Join Date
    03-23-2009
    Location
    Delhi
    MS-Off Ver
    Excel 2003
    Posts
    55

    Question average with conditions

    Hi Friends,
    I want to calculate the Average from the list of name and numbers(Horizontal list).

    e.g. I have 10 names like abc, bbc, ddc, xyz and they have their own earned numbers now what I want is:-

    =if("A1:z1"="abc", average("A1:z1"),0) - now this average will show me abc's earned average numbers.

    is it possible.......???

    Please help.

    Regards,
    Ravi

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: average with conditions

    Try

    =Average(if(A1:z1="abc", A2:Z2))

    confirmed with CTRL+SHIFT+ENTER

    or

    =Sumif(A1:z1,"abc", A2:Z2)/Countif(A1:z1,"abc")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

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

    Re: average with conditions

    The ranges in your formula make no sense (ie A1:Z1 can not contain both names and numbers) ... if we assume then that text strings are in row 1 and values in row 2 then:

    Please Login or Register  to view this content.
    Or use a pivot table of course...

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: average with conditions

    I made same assumption

+ 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