+ Reply to Thread
Results 1 to 4 of 4

Formula to produce "yes" if 2 or more cells are duplicates

  1. #1
    Forum Contributor
    Join Date
    03-06-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    352

    Post Formula to produce "yes" if 2 or more cells are duplicates

    Hello,

    I am after a formula or VBA that will give me the word "yes" if two or more cells in a list are duplicates.

    So for instance I have the below list:

    A 1 Apple 30
    B 1 Banana 30
    C 3 Apple 45

    So I would want it to produce "yes" for row 1 and 2, as they have cells B1 the same as B2 and D1 the same as D2. But not for row 3 as that only has 1 cell that is a duplicate.

    Can this be done?

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,861

    Re: Formula to produce "yes" if 2 or more cells are duplicates

    Use:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  3. #3
    Forum Contributor
    Join Date
    03-06-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    352

    Re: Formula to produce "yes" if 2 or more cells are duplicates

    Thanks, but that seems to be saying yes for most of my rows, whereas only a few rows should have 2 or more duplicates?

    Actually can it be changed so that all 3 lines have to be the same to be a "yes"?

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,861

    Re: Formula to produce "yes" if 2 or more cells are duplicates

    sorry to say so, but no_precise_description => no_universal_answer
    As there is still no sample workbook with enough data to demonstrate your need next guess will be (all 3 cells in a particular record doubled somewhere in another row):
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or may be you are only interested in column B and D? then for these two:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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] Formula Needed to fill multiple cells with "No" when the word "No" is entered into a cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-09-2013, 05:36 PM
  2. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  3. If formula to return "yes" or "no" answer from a range of cells
    By mfairhurst1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-02-2013, 05:00 PM
  4. "IF()" function using "TODAY()" to produce a value in days
    By Rob.Marchel in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-06-2012, 09:12 PM
  5. [SOLVED] Formula to produce "pop up" or warning if other cells not filled
    By Jackdaddy0711 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-10-2012, 02:28 PM
  6. Replies: 2
    Last Post: 08-17-2012, 05:10 AM
  7. [SOLVED] Need Macro and/or Formula to produce a "cummulative to date" value
    By michaeljoeyeager in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-13-2012, 11:28 AM
  8. Replies: 5
    Last Post: 10-12-2010, 06:46 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