+ Reply to Thread
Results 1 to 7 of 7

List unique values from 2 columns and find out Longest and Shortest Duration

  1. #1
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    List unique values from 2 columns and find out Longest and Shortest Duration

    Hi,
    I know how to use Advance filter but would like to extract using a formula which will automatically extract unique values between Column A (Client Name) and Column D (Policy Name)

    I also need to find out the Longest and shortest duration based on column A and Column D from Column G (Duration). If there is only one Client Name then both will have same time. Please refer to attachment for raw data and result the management would like to have.

    This is just a sample data but there are 300,000 over records to compare from 3 different files (divided by month). Is there a way to check the other files as well?

    Really need your expertise to solve this issue. Thank you.
    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: List unique values from 2 columns and find out Longest and Shortest Duration

    With a pivot table.

    See the attached file.
    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
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: List unique values from 2 columns and find out Longest and Shortest Duration

    Hi

    Please see the files

    Regard
    Attached Files Attached Files
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  4. #4
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: List unique values from 2 columns and find out Longest and Shortest Duration

    It did not came across my mind that pivot table can be done.

    As for the formulas to extract unique list the duration for "0:28:22" is populated as "12:28:22". Is there any way to be shown as "0:28:22"?

    I have 3 files by month where each files has 100,000 rows with same column structure. If I were to link accross all 3 files using the formulas then I need to open all 3 files for the formulas to work. Or is there any other way to link without opening the files?

    Regards

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

    Re: List unique values from 2 columns and find out Longest and Shortest Duration

    add all data in 1 file (3 x 100.000 rows).

  6. #6
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: List unique values from 2 columns and find out Longest and Shortest Duration

    As for the formulas to extract unique list the duration for "0:28:22" is populated as "12:28:22". Is there any way to be shown as "0:28:22"?

  7. #7
    Forum Contributor
    Join Date
    05-22-2015
    Location
    Malaysia
    MS-Off Ver
    MS365
    Posts
    197

    Re: List unique values from 2 columns and find out Longest and Shortest Duration

    I have managed to give the excel based on their requirement. Both the formulas works as its own.
    Thank you all for the your assistance.

+ 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] Reorder columns from shortest to longest
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 01-06-2015, 08:22 AM
  2. [SOLVED] Find count of Unique or Duplicate Values based on Concatenated values in 2 columns
    By bdicarlo1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-03-2014, 12:42 AM
  3. Find unique values from 2 columns
    By Ronnie_Greytruck in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-22-2013, 06:25 PM
  4. 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
  5. Create Unique List in Shortest Time
    By modytrane in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-17-2009, 03:54 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