+ Reply to Thread
Results 1 to 4 of 4

Highlight duplicate rows based off 9 first characters of my 12 character long number

  1. #1
    Registered User
    Join Date
    10-04-2013
    Location
    Fairfax,Va
    MS-Off Ver
    Excel 2013
    Posts
    3

    Highlight duplicate rows based off 9 first characters of my 12 character long number

    Hello,


    I dont know VBA but i am going to learn) I just came across a Problem today and I know there is a quicker way for doing what I will explain below..

    basically i have a sheet full of data,,and in the first column i have numbers that look like this VS3-0044-002/VS3-0044-004 and I would like to tell excel to highlight all rows that are duplicates...but only to count the first 9 characters in my row
    VS3-0044-
    VS3-0044- so these would be highlighted as a duplicates....


    does anyone know how to do that???

    thank you all in advance!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Highlight duplicate rows based off 9 first characters of my 12 character long number

    You could just put a formula in the an adjacent column

    =left(a2,9)

    ... and copy down. Then select all of the columns of interest, Data > Remove Duplicates, and tick the box for the formula column. Or conditional-format that column to highlight duplicates.

    Takes more time to describe than do.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-04-2013
    Location
    Fairfax,Va
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Highlight duplicate rows based off 9 first characters of my 12 character long number

    Hi,

    thank you SHG for you answer but i am using left formula until now..but then if i have a 4000 rows i have to scroll down..to highlight all rows manually ....the thing is i dont want to delete anything of my sheet...just highlights the "pairs" together that only differ by last 3 digit...i hope i explained this right...

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Highlight duplicate rows based off 9 first characters of my 12 character long number

    If you post a workbook, I'll show you how.

+ 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. Highlight duplicate rows based on column A but be case sensitive
    By theblade24 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-18-2013, 06:14 PM
  2. [SOLVED] Highlight Duplicate Rows Based on Multiple Criteria
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-15-2013, 09:39 AM
  3. Name should not be more than 6 character long and should not be duplicate
    By srikanthpillai in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-22-2013, 07:51 AM
  4. Replies: 0
    Last Post: 07-22-2011, 12:11 PM
  5. Highlight rows based on Duplicate with conditions
    By ypnOz in forum Excel General
    Replies: 5
    Last Post: 12-28-2010, 09:50 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