+ Reply to Thread
Results 1 to 20 of 20

how to make duplicate value in other column

  1. #1
    Registered User
    Join Date
    07-26-2018
    Location
    NORTH AFRICA
    MS-Off Ver
    2013
    Posts
    47

    Question how to make duplicate value in other column

    hi all
    in the link below i put smal exempl for the resultat which i'm looking for, the idea is how to extract duplucate value in other column. by the way the column F and G has a thousands of values, the columns G and F i put them just to show members where is the duplicate values
    https://1drv.ms/x/s!As8Mdv-a95REhU6iGQZ1-oyfh_Ti









    Cross posted https://www.mrexcel.com/forum/excel-...er-column.html

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: how to make duplicate value in other column

    Attaching a sample workbook enables others to work on your problem:

    To attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include BEFORE/AFTER sheets if needed to show the process you're trying to complete or automate. Remember to desensitize the data.

    Click on GO ADVANCED and click "manage attachments" to open the upload window.


    To add a file to a post

  3. #3
    Registered User
    Join Date
    07-26-2018
    Location
    NORTH AFRICA
    MS-Off Ver
    2013
    Posts
    47

    Question Re: how to make duplicate value in other column

    thank you @davesexcel for your informations
    in attached file i put smal exempl for the resultat which i'm looking for, the idea is how to extract duplucate value in other columns. by the way the column F and G has a thousands of values, the columns G and F i put them just to show members where is the duplicate values
    Attached Files Attached Files
    Last edited by SBAY3I; 09-13-2018 at 01:41 PM.

  4. #4
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: how to make duplicate value in other column

    Hello,
    Can you explain what you want to do with the results?

  5. #5
    Registered User
    Join Date
    07-26-2018
    Location
    NORTH AFRICA
    MS-Off Ver
    2013
    Posts
    47

    Re: how to make duplicate value in other column

    hi @davesexcel
    thank you for your interests, the idea is how to extract duplicate values from column B and C and put it in other columns without forgeting coloration the duplicate values in columns B and C and in the others columns, i hope to give the right idea

  6. #6
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: how to make duplicate value in other column

    See next macro
    Please Login or Register  to view this content.
    - Battle without fear gives no glory - Just try

  7. #7
    Registered User
    Join Date
    07-26-2018
    Location
    NORTH AFRICA
    MS-Off Ver
    2013
    Posts
    47

    Thumbs up Re: how to make duplicate value in other column

    thank you @PCI for your code, but there are some things incomplete as you see in the screen shot, if you check very well the column C you will find also duplicate value in C17, other thing to make the verification so easy, all the duplicate values in column C and cell beside them must be colored because there are thousands of values in column C the screen shoot just a smal exemple
    thank you
    Attached Images Attached Images

  8. #8
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: how to make duplicate value in other column

    you will find also duplicate value in C17,
    It means it is duplicate only for column "C" ...please confirm
    them must be colored
    Okay it can be done

  9. #9
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: how to make duplicate value in other column

    If you are looking for duplicates in B and C then Row 17 is not duplicate.

  10. #10
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,475

    Re: how to make duplicate value in other column

    This will color the cells that are duplicate in column C, as it stands it is just using color.index. There are only 57 colors in color index, if more colors are required, we would have to do something different
    for coloring the cells.

    Please Login or Register  to view this content.

  11. #11
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: how to make duplicate value in other column

    Another one
    Please Login or Register  to view this content.
    Last edited by PCI; 09-13-2018 at 04:33 PM. Reason: Range color adjustment

  12. #12
    Registered User
    Join Date
    07-26-2018
    Location
    NORTH AFRICA
    MS-Off Ver
    2013
    Posts
    47

    Re: how to make duplicate value in other column

    hi all
    sorry to make you wait, thank you very much @davesexcel for your code it's working, but the code of @PCI is working better as what i want exactly and i'am very thankful for you @PCI



















    this thread resolved
    Last edited by SBAY3I; 09-13-2018 at 05:38 PM.

  13. #13
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: how to make duplicate value in other column

    You are welcome, but it was not so easy to understand your need.
    The next give more details

  14. #14
    Registered User
    Join Date
    07-26-2018
    Location
    NORTH AFRICA
    MS-Off Ver
    2013
    Posts
    47

    Re: how to make duplicate value in other column

    thank you very much @PCI. i now my english not good to give the right idea for other members sorry for that.

  15. #15
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: how to make duplicate value in other column

    SBAY3I
    See here a small adjustment, was missing to clean up color for column "B"
    Please Login or Register  to view this content.

  16. #16
    Registered User
    Join Date
    07-26-2018
    Location
    NORTH AFRICA
    MS-Off Ver
    2013
    Posts
    47

    Re: how to make duplicate value in other column

    hi PCI
    thank you for your interests, when i put your new code it's give me the same results, what i find out else is in column B (look at B19 and B20; C19 and C20) you will understand what i found out
    Attached Images Attached Images

  17. #17
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: how to make duplicate value in other column

    If my undersatdning is good you are complaining that the colored cells is not complete?
    C'est ça ?
    Send the file you are working with, please

  18. #18
    Registered User
    Join Date
    07-26-2018
    Location
    NORTH AFRICA
    MS-Off Ver
    2013
    Posts
    47

    Re: how to make duplicate value in other column

    Quote Originally Posted by PCI View Post
    If my undersatdning is good you are complaining that the colored cells is not complete?
    yes
    Quote Originally Posted by PCI View Post
    Send the file you are working with, please
    ok
    thank you
    Attached Files Attached Files

  19. #19
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,066

    Re: how to make duplicate value in other column

    Here we are
    Test and test again
    Please Login or Register  to view this content.

  20. #20
    Registered User
    Join Date
    07-26-2018
    Location
    NORTH AFRICA
    MS-Off Ver
    2013
    Posts
    47

    Re: how to make duplicate value in other column

    now is very good PCI
    thank you very much

+ 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. Delete Duplicate rows with duplicate in 1 column based on value from another column
    By CraigR&M in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2016, 04:36 PM
  2. Delete Duplicate rows with duplicate in 1 column based on value from another column
    By CraigR&M in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2016, 02:06 PM
  3. Replies: 8
    Last Post: 06-25-2015, 08:59 AM
  4. Replies: 1
    Last Post: 06-01-2013, 01:27 AM
  5. Replies: 2
    Last Post: 03-09-2013, 10:14 PM
  6. Find duplicate values in a column, make each value unique.
    By jobell in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2012, 12:15 PM
  7. Search column a for duplicate data and copy entire row to duplicate sheet
    By crazyAMP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2012, 08:21 PM

Tags for this Thread

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