+ Reply to Thread
Results 1 to 10 of 10

Aggregate function is not woring

  1. #1
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Aggregate function is not woring

    Hi Masters,

    This Formula Gives Error =Aggregate(9,6,{1,2,3,#N/A,4}), Actually I Want To Call An Array By Giving A Condtion To A Range "=Aggregate(9,6,(F22:F33="A")*(G22:G33))" In Aggregate Function To Get Sum Or Average. Is There Any Way By Aggregate Function.

    please help me.

    Sincerely
    Ankur Shukla
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Aggregate function is not woring

    Check points 6 & 7.

    http://www.exceluser.com/excel_help/...-aggregate.htm
    Cheers!
    Deep Dave

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Aggregate function is not woring

    Dave, sorry I didn't get it. 6 & 7 point is talking about hidden rows but here problem is other. Let me clear you.

    Column A having alphabets A,B,C D,A,A,#N/A and all and column B having values like 1,2,3,4,3,5,6 etc. Now I wanna sum conditional if column A having A alphabet then add the numbers thru aggregate function.

    Is it possible thru this function or not??

    Thanks
    Ankur Shukla

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Aggregate function is not woring

    Point 6 & 7 state that

    AGGREGATE returns a #VALUE! error when you use a Reference function, even if you arrray-enter the formula.
    I don't think it is possible.

    Though I may be very wrong.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Aggregate function is not woring

    Only functions 14-19 handle arrays. Functions 1-13 do not.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Aggregate function is not woring

    Try

    =SUMIF(A:A,"A",B:B)

  7. #7
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Aggregate function is not woring

    you can try:

    =SUM((F22:F33="A")*(G22:G33)) with control+shift+enter
    or
    =SUMPRODUCT((F22:F33="A")*(G22:G33))

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Aggregate function is not woring

    My response in post #6 was based on the OP description in post #3 using just columns A and B
    =SUMIF(A:A,"A",B:B)

    This is what it should look like using the actual ranges OP used in original posted formula
    =SUMIF(F22:F33,"A",G22:G33)

  9. #9
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Aggregate function is not woring

    Thanks @Tony This is what I want to know,,,, Thanks All other solutions

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Aggregate function is not woring

    You're welcome. Thanks for the feedback!

+ 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] AGGREGATE Function
    By chief_abound in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-03-2015, 12:48 AM
  2. Aggregate Function - Value Error
    By gtbaseball7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-24-2015, 02:09 PM
  3. Aggregate Function Using Sum
    By gtbaseball7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-01-2015, 02:19 PM
  4. [SOLVED] And function not woring Right
    By aworfolk in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2014, 01:57 PM
  5. Aggregate Function
    By nav505 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-04-2013, 03:20 AM
  6. Problem with Aggregate Function ADO SQL
    By Kyle123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-10-2010, 07:44 AM
  7. Aggregate function
    By stefantem in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-19-2006, 04:47 AM

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