+ Reply to Thread
Results 1 to 3 of 3

extract duplicate number

  1. #1
    Registered User
    Join Date
    04-16-2015
    Location
    Simeria
    MS-Off Ver
    2021
    Posts
    97

    extract duplicate number

    Hi

    i need a formula to extract duplicate number from range

    2 7 4 7 3 5 result 7

    or if 2 duplicate numbers

    3 5 3 6 9 6 result on column G=3 (the small duplicate number) result on column H=6 (the large duplicate number from range)

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,504

    Re: extract duplicate number

    Column G:
    =MIN(IF(COUNTIF(A1:F1,A1:F1)>1,A1:F1,""))
    Column H
    =MAX(IF(COUNTIF(A1:F1,A1:F1)>1,A1:F1,""))
    BOTH confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Quang PT

  3. #3
    Registered User
    Join Date
    04-16-2015
    Location
    Simeria
    MS-Off Ver
    2021
    Posts
    97

    Re: extract duplicate number

    thank you mr. bebo021999
    Last edited by pedersenn; 08-22-2016 at 01:52 PM.

+ 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] Extract data with one criteria and no duplicate
    By omegaboost in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2016, 11:56 PM
  2. [SOLVED] Help identify duplicate numbers and extract.
    By rham243 in forum Excel General
    Replies: 1
    Last Post: 09-30-2015, 07:23 PM
  3. [SOLVED] Extract Duplicate values
    By kmahesh in forum Excel General
    Replies: 5
    Last Post: 10-14-2014, 05:29 AM
  4. [SOLVED] Extract records with out duplicate
    By HaroonSid in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-19-2014, 08:10 AM
  5. Extract Duplicate
    By rizmomin in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-26-2012, 02:25 PM
  6. extract non duplicate cells
    By saarda in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-16-2008, 09:20 AM
  7. Extract Duplicate Value to last column
    By sep910 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2007, 05:37 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