+ Reply to Thread
Results 1 to 7 of 7

Create Unique Records based upon min value in one column.

  1. #1
    Forum Contributor
    Join Date
    11-22-2020
    Location
    Sydney Australia
    MS-Off Ver
    365
    Posts
    202

    Create Unique Records based upon min value in one column.

    Hi bebo, please see that attached sheet.

    Thanks
    Attached Files Attached Files

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

    Re: Create Unique Records based upon min value in one column.

    Please try at
    O9
    =SORT(UNIQUE(FILTER(BuildRecords,ISNUMBER(MATCH(BuildRecords[#Headers],O8:Q8,)))),{1,2})

    R9

    =MINIFS(BuildRecords[Time],BuildRecords[Course],INDEX(O9#,,1),BuildRecords[Distance],INDEX(O9#,,2),BuildRecords[Class],INDEX(O9#,,3))
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    11-22-2020
    Location
    Sydney Australia
    MS-Off Ver
    365
    Posts
    202

    Re: Create Unique Records based upon min value in one column.

    Hi Bo-Ry,

    I am in absolute awe at the skill of you guys. I thought I was pretty good in the old days, but you guys just blow me away. Where can I learn to do this ????

    I am just so excited to be in the company of people with such tremendous knowledge.

    Saying Thank You just doesn't seem to be enough.

    Jeff

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,504

    Re: Create Unique Records based upon min value in one column.

    Nice to hear it solved.
    You can learn Excel here, in this forum. Try to answer the other questions is the best way to teach yourself.
    Quang PT

  5. #5
    Forum Contributor
    Join Date
    11-22-2020
    Location
    Sydney Australia
    MS-Off Ver
    365
    Posts
    202

    Re: Create Unique Records based upon min value in one column.

    Hi Bebo, I have a little drama that I wasn't expecting.

    When using PQ, I could then use this formula:
    =MIN(IF(Build_Records[Course]=R5,(IF(Build_Records[Distance]=S5,(IF(Build_Records[Class]=T5,Build_Records[Min Time]))))))

    where R5, S5 & T5 were matched to find the Min Time.


    But now, with what you created, again my thanks because it is so much faster, I don't have a table and so how do I now reference the columns to retrieve the Min Time for the values that would be in R5, S5 & T5?

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,504

    Re: Create Unique Records based upon min value in one column.

    In current sample file, I could not find data in R5,S5,T5
    Pls update the original file then upload again.
    BTW, release "SOLVED" to get more solutions from other supporters.

  7. #7
    Forum Contributor
    Join Date
    11-22-2020
    Location
    Sydney Australia
    MS-Off Ver
    365
    Posts
    202

    Re: Create Unique Records based upon min value in one column.

    Hi Bebo, I have created the attached file to show you what I mean as an example.

    Don't worry ,my friend, I wont hang on to you and be a pest. The solved part in the thread title is only to not upset the person who did the power queries.

    With each new thread I will always make it open to anybody who is willing to help.

    so much of this is so very different to what I learnt 100 years ago !!!!!!

    I am from the Fortran 66 & 77 days. When Lotus 123 was the only spreadsheet in town :-(

    cheers

+ 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] Create Unique List based on matching value in adjacent column
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-06-2016, 01:29 PM
  2. [SOLVED] count unique records in one column based on criteria in a different column
    By rxg2669 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-10-2015, 12:38 AM
  3. Replies: 2
    Last Post: 06-11-2014, 11:14 AM
  4. Create Workbooks based on Unique Values from a Column
    By aravindhan_31 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-10-2012, 04:25 AM
  5. [SOLVED] Combine multiple records onto one row based on unique name/surname in the first column
    By Anita7 in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 09-13-2012, 07:26 AM
  6. Create list of unique records
    By SueWithQuestion in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-07-2010, 10:19 AM
  7. Create Sheets based on unique values in Column
    By Hblbs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-20-2009, 08:25 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