+ Reply to Thread
Results 1 to 4 of 4

Need to show the Unique Value and related Count Based on Other Column

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    12-17-2014
    Location
    Charlotte
    MS-Off Ver
    2013
    Posts
    137

    Need to show the Unique Value and related Count Based on Other Column

    Team,

    For Example I have two sheets in my file. I need to Create Final sheet as in the Third Table.

    In Final Sheet I need to remove the duplicate and show in First Column and Number of FAIL in second Column and Number of PASS in Third Column.

    Please Note that the logic should work automatically even if the Client add a New sheet or delete the Existing Sheet. Please help me on this.

    Shee1

    Table Name Test Case Test Result
    ABC ABC_Test Case 1 PASS
    ABC ABC_Test Case 2 FAIL
    ABC ABC_Test Case 3 FAIL
    XYZ XYZ_Test Case 1 FAIL
    XYZ XYZ_Test Case 2 FAIL
    CDE CDE_Test Case 1 PASS
    CDE CDE_Test Case 2 PASS

    Sheet 2

    Table Name Test Case Test Result
    CCC CCC_Test Case 1 PASS
    CCC CCC_Test Case 2 FAIL
    DDD DDD_Test Case 1 FAIL
    DDD DDD_Test Case 2 PASS
    DDD DDD_Test Case 3 FAIL
    DDD DDD_Test Case 4 FAIL

    Final Sheet Should be created as below

    Table Name COUNT OF FAILS COUNT OF PASS
    ABC 2 1
    XYZ 2 0
    CDE 0 2
    CCC 1 1
    DDD 3 1


    Thanks!
    Kiran
    Last edited by Kandavalli.Kiran; 01-09-2015 at 08:14 PM.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Need to show the Unique Value and related Count Based on Other Column

    Duplicate thread - different name/UserId/handle:

    http://www.mrexcel.com/forum/excel-q...er-column.html

    A message to forum cross posters.

    Please read this:
    http://www.excelguru.ca/node/7
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: Need to show the Unique Value and related Count Based on Other Column

    Duplicate thread - different name/UserId/handle:

    http://www.mrexcel.com/forum/excel-q...er-column.html

    A message to forum cross posters.

    Please read this:
    http://www.excelguru.ca/node/7

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

    Re: Need to show the Unique Value and related Count Based on Other Column

    Add the 2 sheets together manualy or with a macro.

    After that it is a piece of cake 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.

+ 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] 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
  2. [SOLVED] Count unique entries based off unique criteria in another column
    By hambly in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-11-2014, 03:33 PM
  3. [SOLVED] Sum one column based on conditional count in a related column
    By DWSchuetz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-16-2012, 10:47 PM
  4. Replies: 5
    Last Post: 09-18-2011, 10:44 PM
  5. Unique count based on another column being populated
    By klutzington in forum Excel General
    Replies: 5
    Last Post: 07-21-2011, 06:27 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