+ Reply to Thread
Results 1 to 10 of 10

Get the summary automtically based on Data

  1. #1
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Get the summary automtically based on Data

    Hello,

    Need one help.....I need to get the all summary details automatically based on the "raw data" provided. Currently i m doing it by using pivot and updated the result as well. Please help me in getting the same result by using formulas. Atttached the samples.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,184

    Re: Get the summary automtically based on Data

    For column H, try this:
    =MAXIFS($C$3:$C$91,$B$3:$B$91,$F5)

    Column I:
    =MINIFS($C$3:$C$91,$B$3:$B$91,$F5,$C$3:$C$91,">"&0)

    Column J:
    =AVERAGEIFS($C$3:$C$91,$B$3:$B$91,$F5,$C$3:$C$91,">"&0)

    For Column G, I don't know how to get the count if you need to remove duplicates. Sorry.

  3. #3
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: Get the summary automtically based on Data

    Thanks for sharing the formula..
    Here only Average formula works fine.....for rest getting the result as #Name?

    i request any expert to help on all these formulas...Thanks in advance

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Get the summary automtically based on Data

    Please try at
    G5
    =COUNT(1/FREQUENCY(IF($B$3:$B$91=$F5,MATCH($A$3:$A$91,$A$3:$A$91,)),ROW($A$1:$A$91)))
    Press Ctrl+Shift+Enter

    H5
    =AGGREGATE(14,6,$C$3:$C$91/($B$3:$B$91=$F5)/($C$3:$C$91>0),1)

    G5
    =AGGREGATE(15,6,$C$3:$C$91/($B$3:$B$91=$F5)/($C$3:$C$91>0),1)

    J5
    =AVERAGEIFS($C$3:$C$91,$B$3:$B$91,$F5,$C$3:$C$91,">0")
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: Get the summary automtically based on Data

    Thanks a lot for your help...Its working fine....can i get the unique Levels (updated manually from F5:F9) by using formula?

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Get the summary automtically based on Data

    Please try at F5
    =LOOKUP(1,1/(AGGREGATE(15,6,ROW($B$1:$B$91)/(FREQUENCY(COUNTIF($B$3:$B$91,"<="&$B$3:$B$91),ROW($B$1:$B$91))>0),ROWS(F$5:F5))=COUNTIF($B$3:$B$91,"<="&$B$3:$B$91)),$B$3:$B$91)
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: Get the summary automtically based on Data

    Oh..Thats really working well...Thanks for your help...lengthy formula..need time to understand

  8. #8
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: Get the summary automtically based on Data

    Hello,

    in the below formula, if i change the range from B91 to 5000, it does not work can you please help.

    =IFERROR(INDEX($B$3:$B$91,MOD(AGGREGATE(15,6,ROW($B$1:$B$99999)/(FREQUENCY(COUNTIF($B$3:$B$91,"<="&$B$3:$B$91)*1000+MATCH($B$3:$B$91,$B$3:$B$91,),ROW($B$1:$B$99999))>0),ROWS(F$5:F5)),1000)),"")

  9. #9
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Get the summary automtically based on Data

    if you want 5000 set to 5000, array formula is very slow for large data.

    =IFERROR(LOOKUP(1,1/(AGGREGATE(15,6,ROW($B$1:$B$5000)-1/(FREQUENCY(COUNTIF($B$3:$B$5000,"<="&$B$3:$B$5000),ROW($B$1:$B$5000)-1)>0),ROWS(F$5:F5)+1)=COUNTIF($B$3:$B$5000,"<="&$B$3:$B$5000)),$B$3:$B$5000),"")

  10. #10
    Forum Contributor
    Join Date
    10-16-2010
    Location
    bangalore
    MS-Off Ver
    Excel 2019
    Posts
    288

    Re: Get the summary automtically based on Data

    Thanks a lot ,,,now its working with large range as well..

+ 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. Summary of daily data based on different criteria
    By Anuru in forum Excel Formulas & Functions
    Replies: 63
    Last Post: 05-23-2018, 02:03 PM
  2. [SOLVED] Summary of data based on multiple criteria
    By Reapz in forum Excel General
    Replies: 2
    Last Post: 09-16-2015, 06:46 PM
  3. formula when data updated, to automtically insert a new line
    By Tracie in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-06-2013, 03:11 PM
  4. need help with data summary based on a daily basis
    By randypang in forum Excel General
    Replies: 1
    Last Post: 04-26-2013, 11:45 PM
  5. [SOLVED] Create A summary based on Existing Data
    By jebindavidson in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 04-25-2013, 12:11 AM
  6. Hyperlink based on summary data...
    By shaukat in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-11-2011, 07:24 PM
  7. automtically change ranges in formulas when new data is entered
    By JRoyer95 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-06-2006, 02:20 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