+ Reply to Thread
Results 1 to 33 of 33

Getting unique list and amount sum by unique list wise - Reg.

  1. #1
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Getting unique list and amount sum by unique list wise - Reg.

    Dear Forum

    I am looking for the support of " Getting unique list and do amount sum option by unique list wise". Kindly refer the attachment.

    Explaining data set:

    1. Attachment has 2 sheets. 1st sheet is data set, which contains master data table (A:L column) and data extraction report (N:X column). Data extraction report has been framed with ARRAY formula. 2nd sheet is summary report table sheet.

    2. my requirement is in the 2nd sheet only. i.e., summary report table. I want automatic summary table for data extraction report only, not for master data set.

    I have given clear expected result with model data in the attachment (Sheet 2 : Summary Report sheet)

    Thanks in advance.

    Bala
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    with a pivot table.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Dear Mr. Oeldere,

    Thanks for your time and guidance. I need it by auto updation and prefer formula.

    Regards

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    and prefer formula.
    1) You did not add that in your question.

    2) Please also add the earlier question solved, if they are solved.

    If they are not solve, i advice you to learn from that question, before adding an new one.

  5. #5
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Dear Mr. Oeldere,

    yes, previous thread was marked as " SOLVED" . Kindly verify. Yes, i had to add that. I need only formula based auto updation and extraction only. I never prefer pivot table.

    Regards

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,908

    Re: Getting unique list and amount sum by unique list wise - Reg.

    You say this in your workbook:

    1. I want to generate automatic summary report for data extraction report only(data set sheet -N: X column),
    2. Summary report not needed for master data (Data set A: L Column)
    3. (In summary "A" Column unique list of services should come automatically in alphabetical order from the data extraction report "Data set -V" column.
    4. Summary report sheet is a dynamic sheet, Extraction report (Data set N:X column) should equal to summary report data .
    5. Summary report data has been manually calculated for a reference and model
    1.-4. Several of the formulae you have been provided with over the past few days show how to extract a unique list from another one - in theory you have enough examples available to you to try to create this formula for yourself. You say you want to learn, so I assume you have tried: how far did you get? What formula did you try?
    5. Once you have brought your data across, you can simply apply a SUMIF function to work out the calculation.

    Please try to have a go yourself - it will help you to understand better how these things work. This is how I have learnt - trial and error.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Dear Ms. Ali,

    Yes, i have tried the following formula to get unique list with alphabetical order, which you have taught me.

    =IFERROR(INDEX(OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),MATCH(TRUE,IF(FREQUENCY(MATCH(OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),0),MATCH(OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),0)),COUNTIF(OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),"<"&OFFSET($C$4,0,0,COUNTA($C:$C)-3+1)))=SMALL(IF(FREQUENCY(MATCH(OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),0),MATCH(OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),0)),COUNTIF(OFFSET($C$4,0,0,COUNTA($C:$C)-3+1),"<"&OFFSET($C$4,0,0,COUNTA($C:$C)-3+1))),ROWS($1:1)),0)),"")

    I have applied this formula for two places. One is for getting unique name and other is for unique number, both worked and return my desired requirements. But i do not know why, this same formula (i have adopted range to respective sheet) is not working in this requirement.

    One more thing, what ever the requirements i have brought here, first i will go to you tube and other online websites. If, that is not showing any results, then only i will come here to get your support. As well as what ever guidance i am getting here, i will review those formulas and learn the logic and apply where ever i need it.

    Thanks for your continuous guidance and support.

    Thanks in advance.
    Bala

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,908

    Re: Getting unique list and amount sum by unique list wise - Reg.

    OK, so please attach a copy of the workbook with your attempted formulae in place.

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    e3 =SUMIFS('Data set'!$Y$10:$Y$149,'Data set'!$V$10:$V$149,C3,'Data set'!$R$10:$R$149,E2)

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    I never prefer pivot table.
    I've seen this statement in your threat a couple of times.

    But you tell us you want to learn, and pivot table is a very powerfull tool in excel, which Microsoft expands in every new version of Excel.
    That is the way Microsoft is telling, that is the way to go (to my opinion).

    So instead of neglecting the solutions with pivot table, you should embrace them and try them yourself.

    Once you know the basics of it, I bet you gonna love the power of pivot table.

  11. #11
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    What is the reason not mark this one solved.

    http://www.excelforum.com/excel-form...n-differs.html

  12. #12
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Dear Ms. Ali,

    Kindly find the attachment. I have tried this formula in summary sheet "B3" column.

    Thanks
    Attached Files Attached Files

  13. #13
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    http://www.excelforum.com/showthread.php?t=1153517

    Please see.. marked as "SOLVED"

    thanks

  14. #14
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    you formula
    Please Login or Register  to view this content.
    The dataset starts at column N and not column I.

  15. #15
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    What is the reason not mark this one solved.

    http://www.excelforum.com/excel-form...n-differs.html

    http://www.excelforum.com/showthread.php?t=1153517

    Please see.. marked as "SOLVED"

    thanks
    That is a differant question.

    If you trying to be funny, I can't laugh with this one.

  16. #16
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Logics is different oeldere... here i want to extract only the unique list of service. based on unique list i will apply sumif function. So, hope "N" will not apply here.

  17. #17
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    What are trying to say?

  18. #18
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Dear Ms. Ali,

    Is there any thing wrong in the apply of formula?

    Bala

  19. #19
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Logics is different oeldere... here i want to extract only the unique list of service. based on unique list i will apply sumif function. So, hope "N" will not apply here.
    You get 2 list in your file, 1 you don't want to use and 1 you want to use.

    You will do yourself a favour if you don't add in the file, what you don't need. That is also easier for the forummembers to understand your problem.

    Your range of the data you want to use is N - Y, in that case there can not be a part of the formula, refering to column I.

  20. #20
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Dear Mr. Oeldere,

    The concept is very simple.

    I have a master data set. From master dataset, i would like to extract records with required period, which was already done. Now, i want to get automatic summary sheet in 2nd sheet.

    What is your question now?

    Bala

  21. #21
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    The concept is very simple.
    1) if so, you can solve this concept yourself.
    but probably it is more difficult since you asking for help.

    2) I have no questions.

    I showed you that in the last posted file, you have failure in the formula.

    3) please will you also mark the other answered questions to solved.

  22. #22
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,908

    Re: Getting unique list and amount sum by unique list wise - Reg.

    This is the correct formula:

    Please Login or Register  to view this content.
    However, it returns blank because there are some blanks in the range I:I - if you add a value to the blank cells, it works. In other words, your dataset in column I needs to be complete for it to work. It will not work if there are blanks in that column.
    Last edited by AliGW; 08-28-2016 at 11:02 AM.

  23. #23
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    @AliGW

    I think it should take the data from the 2nd table, according to the request in #1 of the OP.

    2. my requirement is in the 2nd sheet only. i.e., summary report table. I want automatic summary table for data extraction report only, not for master data set.
    In that case I don't expect a column I in the formula.

  24. #24
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,908

    Re: Getting unique list and amount sum by unique list wise - Reg.

    No, he wants a summary of the table on the left - trust me.

    But then again ... maybe not? LOL!
    Last edited by AliGW; 08-28-2016 at 11:12 AM.

  25. #25
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    @AliGW

    I trust you, but that is NOT how I read the question!!!

  26. #26
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Dear Ms. Ali,

    yes, now perfectly working, i have filled the blank cells as blank. Since that is also a text, now i do not have any issue and works perfectly. But only one clarification, why you have used =IFERROR(INDEX(OFFSET('Data set'!$I$3,0,0,COUNTA('Data set'!$I:$I)-2. Kindly teach me.

    I will mark this thread as "SOLVED" after your reply. Unless i can not open and reply again.

    Million Thanks

  27. #27
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Unless i can not open and reply again.
    Yes you can, in the same options where you mark your question solved.

    Please also reply on my sumif formula in #9.

  28. #28
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,908

    Re: Getting unique list and amount sum by unique list wise - Reg.

    The -2 takes 2 off of the count of that column (we don't want to count the headers).

  29. #29
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,908

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Quote Originally Posted by oeldere View Post
    @AliGW

    I trust you, but that is NOT how I read the question!!!
    Yes, on re-reading it, I completely agree, but confusion abounds, it seems!

  30. #30
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Dear Mr. Oeldere,

    Sure, i will acknowledge your efforts also. Really you are helping me lot to learn. Hope you are so crazy about pivot. But the thing is, i am framing the MIS system with automation report generation option for my staffs. All my staffs are not familiar about pivot table. Hence i am not preferring pivot. As of now i am using pivot for my regular data reporting. I would like to go with automation now. then my staff simply enter the data and get their report. That is what i am exactly want.

    Now i am preparing sumif, based on your formula to apply the entire table. I will come back, if any clarification.

    Thanks

  31. #31
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Ms. Ali,

    Yes, the 2nd formula is also working great. so, -5 means Q:U am i right?

    Bala

  32. #32
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,908

    Re: Getting unique list and amount sum by unique list wise - Reg.

    It should be -2 really, but -5 seems to work as well. It has nothing to do with columns: it is taking into account headings at the top of your column V.

    Now, here's the thing: you need to use the second formula if you are wanting to take data from the extraction list, and the first if you are taking the list from the master data list. You MUST understand that the column you are referencing in the array formula MUST be within the table you want to get the data from. Do you understand?

    I suggest you go away now and have a really good play with the formulae you have. You should not come back so quickly with your next problem: you need to give yourself longer to puzzle it out.
    Last edited by AliGW; 08-28-2016 at 11:52 AM.

  33. #33
    Forum Contributor
    Join Date
    08-19-2016
    Location
    Chennai, India
    MS-Off Ver
    2007
    Posts
    300

    Re: Getting unique list and amount sum by unique list wise - Reg.

    Yes Ms. Ali,

    Sure, what ever i am learning here, i am practicing with various situations and document those with step by step logic with the questions of Why are using this function and how it return. In future, if someone ask in the forum, I will guide them.

    Regards

+ 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. Create unique # of worksheets based on list count with unique names
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-24-2016, 09:51 AM
  2. [SOLVED] list of duplicate code along with unique manager name want to split unique
    By sinha.riteshabap in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-21-2013, 07:00 AM
  3. [SOLVED] create list of unique staff numbers with unique work codes
    By shaz0503 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-01-2013, 08:57 PM
  4. [SOLVED] Counting # of Unique Items In List & Listing Unique Items In A List
    By unpluggedmusic in forum Excel General
    Replies: 3
    Last Post: 12-05-2012, 11:44 AM
  5. 3 columns: None contain unique values, but I need a list of every unique set
    By mathematician in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-15-2012, 04:47 PM
  6. Replies: 7
    Last Post: 05-11-2012, 02:00 PM
  7. # of unique dates per unique list entry
    By MrNovice in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-27-2009, 07:01 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