+ Reply to Thread
Results 1 to 4 of 4

summary of distinct values

  1. #1
    Registered User
    Join Date
    06-13-2022
    Location
    middle east
    MS-Off Ver
    2016
    Posts
    2

    summary of distinct values

    hi.
    i'm looking for formulas that do as following:
    1. dynamically adding distinct values from a column (col D based on col A)
    2. sumamrize all the values of the distinct occurrances (based on col B)
    3. summarize the total values of the summarized column

    all should be working dynamically.
    i have something that works but it is very slow as i add values to the raw data (the recalculating process).
    I'm looking for something more efficient and fast.
    10x.

    aa.jpg
    Attached Images Attached Images
    Last edited by Avidon; 06-13-2022 at 01:54 PM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,789

    Re: summary of distinct values

    Are you still using excel version 2016??

    Note: Images are difficult to see , and also requires that I input all the data myself, which is very time consuming.

    A sample sheet would help here


    Please see the Yellow Banner at the top of the page explaining how to attach a sample spreadsheet

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.

    Here are the instructions, found at the top of the page again
    Post a small Excel sheet (not a picture) showing realistic & representative sample data WITHOUT confidential information (10-20 rows, not thousands...) and some manually calculated results. For a new thread (1st post), scroll to Manage Attachments, otherwise scroll down to GO ADVANCED, click, and then scroll down to MANAGE ATTACHMENTS and click again. Now follow the instructions at the top of that screen.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    06-13-2022
    Location
    middle east
    MS-Off Ver
    2016
    Posts
    2

    Re: summary of distinct values

    sorry about that. hope the attachment help
    Attached Files Attached Files

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,789

    Re: summary of distinct values

    i have copied into a spreadsheet - as the spreadhseet is backwards on my system - which i was not sure of, as not seen before

    BUT i have used a pivot table to do the SUM and total - is that something you can use - as that will change with the data - by just by refreshing

    any good

    you did not answer
    Are you still using excel version 2016??
    as later version 365 etc have a function UNIQUE , which you could use very easily

    otherwise
    =IFERROR(INDEX($A$2:$A$30, MATCH(0, FREQUENCY(IF(EXACT($A$2:$A$30, TRANSPOSE($D$1:D1)), MATCH(ROW($A$2:$A$30), ROW($A$2:$A$30)), ""), MATCH(ROW($A$2:$A$30), ROW($A$2:$A$30))), 0)), "")

    see attached 2 sheets
    1 with a pivot table
    2nd with a function
    Attached Files Attached Files

+ 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. Formula to extract unique values/distinct values in rows in excel
    By bjnockle in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-07-2020, 05:35 PM
  2. [SOLVED] Counting distinct values in relation to text values in a separate coulumn
    By Streatty in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2019, 11:04 AM
  3. [SOLVED] Count Distinct Names in Team Summary
    By Jay_hl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-11-2017, 11:15 AM
  4. [SOLVED] get distinct values from criteria AND sum all of the values of the distinct
    By dluhut in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-10-2017, 02:57 PM
  5. Count of Values (Rows) of Most Recent Consecutive Streak (2+ Distinct Values)
    By ExcelForum88 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-13-2016, 12:26 PM
  6. Replies: 0
    Last Post: 07-21-2015, 04:44 PM
  7. Distinct Values
    By kittles3069 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-26-2007, 08:41 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