+ Reply to Thread
Results 1 to 8 of 8

Finding Duplicate accounts in column A matching criteria column B

  1. #1
    Registered User
    Join Date
    07-27-2020
    Location
    toronto
    MS-Off Ver
    2016
    Posts
    7

    Finding Duplicate accounts in column A matching criteria column B

    Hello all,

    I have tried several formulas and ways but none works for me. Basically I need to find the list of accounts ( I am dealing with 10000 rows on daily basis) that are duplicate matching 2 criteria's from column B. So what I need help is to get a formula that basically highlights or produce unique value like "yes" or "1" so that I can apply maybe color filter and work on the rest of data on the sheet.

    For e.g. on the attached excel sheet accounts 1324A, 1653C, 9825A are repeated multiple times, now using the criteria cash and security from column B I need to get a list that shows only accounts that are repeated ( but I need the list in this case 1234A is repeated 3 times so I need something that produces those account list) so that I can exclude them.



    If you look at the snip, accounts: 1678B, 7894A and 5654B are the only accounts I need to work on for the daily basis.
    For accounts 7894A and 5654B accounts are repeated in column A but because it does not have both cash & security in column B, I can work on the data.


    I have included the snip of the way the result should appear and also the spreadsheet. Any help will be greatly appreciated!
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by Tgandhi; 09-24-2020 at 12:32 PM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Finding Duplicate accounts in column A matching criteria column B

    Like
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    in C2 and pulled down?

  3. #3
    Registered User
    Join Date
    07-27-2020
    Location
    toronto
    MS-Off Ver
    2016
    Posts
    7
    ...

    Hi,
    The formula is not taking consideration column B, as it also need to match those both criteria.
    Last edited by davesexcel; 09-24-2020 at 01:12 PM.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Finding Duplicate accounts in column A matching criteria column B

    And how has that been taken into account in your example? 9825A and Security appear only once but you have excluded them?

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Finding Duplicate accounts in column A matching criteria column B

    Try
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ( and please don't quote entire posts - use Quick Reply instead)

  6. #6
    Registered User
    Join Date
    07-27-2020
    Location
    toronto
    MS-Off Ver
    2016
    Posts
    7

    Re: Finding Duplicate accounts in column A matching criteria column B

    Hi sorry for that, will make sure about it to quick reply.

    I just updated the sheet, sorry I was not clear enough, my bad.

    Basically, the formula should capture duplicate accounts only if that account has both cash and security. In case if in column A accounts are repeated several times but in column B all the repeated entries has just cash in that case there should not be any unique value in column C as I can actually include that data. Basically we need isolate accounts that has both cash and security and if that accounts is repeated multiple times than it produces unique value so only that data can be excluded and we can work on rest of the data.

    Thanks, again for your help.

  7. #7
    Registered User
    Join Date
    07-27-2020
    Location
    toronto
    MS-Off Ver
    2016
    Posts
    7

    Re: Finding Duplicate accounts in column A matching criteria column B

    Currently, I am using this formula =COUNTIFS($A$2:A2,A2,$B$2:B2,"Cash")*COUNTIFS($A$2:A2,A2,$B$2:B2,"Security")>0)*1. The issue with this formula is I have to manually figure out the duplicate rows for each account that are repeated and matches the criteria from column B Cash & security. So what I do know once I have unique value 1 I have to highlight the corresponding accounts that are repeated and then apply color filter and work on the rest of that data and with 10000 rows its taking too much time.

    Thanks again for your help!

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,897

    Re: Finding Duplicate accounts in column A matching criteria column B

    crossposted: https://www.mrexcel.com/board/thread...umn-b.1146628/

    Rule 03: Cross-posting Without Telling Us

    Your post does not comply with Rule 3 of our Forum RULES. Do not cross-post your question on multiple forums without telling us about your threads on other forums.

    Post a link to any other forums where you have asked the same question.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Read this to understand why we ask you to do this.

    I have added the crosspost reference for you today. Please comply with this and all our rules in the future
    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

+ 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] Counting Column B entries, excluding duplicate criteria in column A.
    By jakiechan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-20-2020, 10:59 AM
  2. Subtract values from Column B but only when matching criteria in Column A
    By dtpunshon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-12-2020, 06:25 AM
  3. Finding lowest in column after matching data in another column
    By tiempo1976 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-10-2017, 01:22 PM
  4. [SOLVED] Matching Debits and Credits in one column with Vendor Criteria from another column
    By jhm5139 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-24-2016, 03:03 PM
  5. Finding Matching Data in one Column/Adding corresponding matching string value.
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2013, 07:23 PM
  6. [SOLVED] Count text in one column Matching single or multiple Criteria from Other Column Excel 2003
    By Jose Macieira in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-17-2013, 06:55 AM
  7. Finding duplicate accounts using formula instead of filtering
    By Matt Parsons in forum Excel General
    Replies: 5
    Last Post: 03-25-2011, 01:45 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