+ Reply to Thread
Results 1 to 4 of 4

Find duplicate value in Column B to show on list with lookup

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-11-2022
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    164

    Find duplicate value in Column B to show on list with lookup

    Dear fellow members


    Trying to figure out what formulas to apply to achieve the outcome of the table showing names more than 2 counts with the required details shown.

    I have attached a sample working file, with example text in red.


    Thanks

    Kenny Yip
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2505 Win 11
    Posts
    24,754

    Re: Find duplicate value in Column B to show on list with lookup

    Kenny, you will need to provide some sort of relationship between your tables. Excel needs a flow to make things happen. Suggest you explain in simple English terms what you are attempting to do instead of trying to make us guess.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Contributor
    Join Date
    05-11-2022
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    164

    Re: Find duplicate value in Column B to show on list with lookup

    @alansidman

    What i am trying to do is when there is a person with more than one entry, then his name together with the dates of offence will be show on another table (Column N to Column T).
    Maximum allowed offences is three times.

    Therefore, in a short quick glance, we will be able to know which person has more than one offences together with the dates and type of action.
    Attached Files Attached Files
    Last edited by Kenny Yip; 10-07-2022 at 01:52 AM.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,890

    Re: Find duplicate value in Column B to show on list with lookup

    in L4

    =IF(AND(COUNTIF(C:C,C5)>1,COUNTIF($C$4:C5,C5)=1),COUNTIF(C:C,C5),"")

    copy down

    in N4

    =IFERROR(INDEX($B$4:$B$1000,AGGREGATE(15,6,ROW($B$1:$B$1000)/($L$4:$L$1000<>""),ROWS($1:1))),"")

    in O4

    =IFERROR(INDEX($E$4:$E$1000,AGGREGATE(15,6,ROW($B$1:$B$1000)/($B$4:$B$1000=$N4),1)),"")

    in P4

    =IFERROR(INDEX($F$4:$F$1000,AGGREGATE(15,6,ROW($B$1:$B$1000)/($B$4:$B$1000=$N4),1)),"")

    copy to other columns and change 1 to 2 annd 3
    Attached Files Attached Files
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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] Looking for VBA code to show duplicate and unique values in column G
    By bjnockle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-18-2022, 08:44 PM
  2. [SOLVED] using function count to show duplicate items in column
    By Alaa-A in forum Excel Programming / VBA / Macros
    Replies: 27
    Last Post: 09-10-2021, 11:52 AM
  3. How to delete entire row if duplicate values show on a column?
    By Gordon85 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-13-2020, 04:43 AM
  4. [SOLVED] on duplicate entry in the same column - show popup
    By sumesh56 in forum Excel General
    Replies: 11
    Last Post: 04-15-2019, 12:26 PM
  5. How to find out the duplicate number and show it in a new cell?
    By Junh in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-31-2012, 12:35 AM
  6. How do I get a sorted list to show duplicate values
    By Pat Parker in forum Excel General
    Replies: 5
    Last Post: 01-26-2012, 11:52 PM
  7. Show duplicate assigned number in a list
    By klturi421 in forum Excel General
    Replies: 3
    Last Post: 01-19-2012, 01:12 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