+ Reply to Thread
Results 1 to 11 of 11

automatic make a colum with unique values

  1. #1
    Registered User
    Join Date
    12-16-2016
    Location
    Bergen op Zoom
    MS-Off Ver
    2013
    Posts
    7

    automatic make a colum with unique values

    Hi In Excel I've a colum whith values.
    Ik want to have a second colum with the unique vallues of the first colum.

    Affects Version/s

    UPD17a
    UPD17a

    UPD20MOD2

    D4/2016
    D4/2016


    UPD17a
    UPD17a

    I need :

    Affects Version/s

    UPD17a
    UPD20MOD2
    D4/2016

    How do I do that without using a Marco or hand input.
    Attached Files Attached Files

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: automatic make a colum with unique values

    I didn't download your file. Try something like this...

    Data in the range A2:A20

    This array formula** entered in C2:

    =IFERROR(INDEX(A$2:A$20,MATCH(0,IF(A$2:A$20<>"",COUNTIF(C$1:C1,A$2:A$20)),0)),"")

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Copy down until you get blanks.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: automatic make a colum with unique values

    Hi

    I left C1 empty

    In C3 and below to get the list

    =IFERROR(INDEX(A$3:A$1000,MATCH(0,INDEX(COUNTIF(C$1:$C2,A$3:A$1000&""),),0)),"")


    Hope it helps
    Attached Files Attached Files
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  4. #4
    Registered User
    Join Date
    12-16-2016
    Location
    Bergen op Zoom
    MS-Off Ver
    2013
    Posts
    7

    Re: automatic make a colum with unique values

    Hi Guys,

    Thanks for the fast reaction.
    I need my result in an othe tab How does the formule goes thenE?

    Robert
    Attached Files Attached Files
    Last edited by Giro17; 04-04-2017 at 11:21 AM. Reason: insert file

  5. #5
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: automatic make a colum with unique values

    Hi,

    An alternative way would be to:-

    1. Copy column A (Sheet1)
    2. Paste into whatever column in Sheet2
    3. Highlight the selected column in Sheet2, select "Data" on the ribbon and select "Remove Duplicates"

    Regards

    peterrc

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: automatic make a colum with unique values

    @Giro
    Here's a helpful tip. If you have the formula working in one tab, you can CUT and paste it to a separate sheet and all the changes necessary will automatically be made. I do this a lot especially when the sheet names are long and I don't want to go through the trouble of typing them all out. It has to be cut and not copied.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  7. #7
    Registered User
    Join Date
    12-16-2016
    Location
    Bergen op Zoom
    MS-Off Ver
    2013
    Posts
    7

    Re: automatic make a colum with unique values

    Hi I've tried that but the result of the example became "0"
    Quote Originally Posted by ChemistB View Post
    @Giro
    Here's a helpful tip. If you have the formula working in one tab, you can CUT and paste it to a separate sheet and all the changes necessary will automatically be made. I do this a lot especially when the sheet names are long and I don't want to go through the trouble of typing them all out. It has to be cut and not copied.

  8. #8
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: automatic make a colum with unique values

    Hi,

    in B3


    =IFERROR(INDEX(Blad1!A$3:A$1000,MATCH(0,INDEX(COUNTIF(B$1:B2,Blad1!A$3:A$1000&""),),0)),"")

    to be copied down.

    Hope it helps

  9. #9
    Registered User
    Join Date
    12-16-2016
    Location
    Bergen op Zoom
    MS-Off Ver
    2013
    Posts
    7

    Re: automatic make a colum with unique values

    Thanks guys. I've got it working.

  10. #10
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: automatic make a colum with unique values

    Ciao,

    thanks for providing feedback.

    Regards

  11. #11
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: automatic make a colum with unique values

    Good deal. Thanks for the feedback!

+ 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. Replies: 15
    Last Post: 02-27-2017, 11:50 AM
  2. Automatic update unique values and calculation
    By wowow in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-17-2016, 10:57 PM
  3. [SOLVED] Macro to filter column and copy rows to new sheet with loop for all unique values in colum
    By Gryphoune in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-24-2015, 09:15 AM
  4. [SOLVED] Find unique values and make them unique
    By unitlted_1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-18-2015, 11:10 AM
  5. [SOLVED] Colum count based ón values In colum a and b
    By 2001jesper in forum Excel General
    Replies: 16
    Last Post: 11-05-2012, 03:28 PM
  6. [SOLVED] identify unique ID between 2 sheets, auto replace cell values between sheets in diff colum
    By DT123456 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-25-2012, 08:25 AM
  7. How to shift range of values from a colum to another colum at a programmed cell.
    By lolypop in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-12-2007, 06:24 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