+ Reply to Thread
Results 1 to 9 of 9

Sort by duplicate numbers in rows and if contains specific text in specified column

  1. #1
    Registered User
    Join Date
    12-03-2012
    Location
    sweden
    MS-Off Ver
    Excel 2010
    Posts
    5

    Sort by duplicate numbers in rows and if contains specific text in specified column

    Hi, i wonder if i can do this easy in excel or if i have to write a program to do this kind of calculations.

    I need to find all the rows in a spreadsheet containing singel or duplicate values in column 1 with a specific text in column 34.
    So, based on the text in col 34 all the other rows matching the first number i want to be filled with red.

    For example, if row 1 and 2 is ok but not row 3, then all 3 rows will be filled with red, then if row 4 and column 1 is a new number it starts from there and so on to the final row

    Thanks in advance!

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: Sort by duplicate numbers in rows and if contains specific text in specified column

    Something like
    Please Login or Register  to view this content.
    as condition?

  3. #3
    Registered User
    Join Date
    12-03-2012
    Location
    sweden
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Sort by duplicate numbers in rows and if contains specific text in specified column

    Cool, looks like it could work, but i dont understand it exactly, is the code limited to 100 rows?, thanx for replying so fast

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: Sort by duplicate numbers in rows and if contains specific text in specified column

    No, it's not limited. FWIW you can use A:A as range also or use a dynamic range
    To implement, select the entire range (starting in A1 to the last cell of the last row of the last column) and enter the CF with the required format

  5. #5
    Registered User
    Join Date
    12-03-2012
    Location
    sweden
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Sort by duplicate numbers in rows and if contains specific text in specified column

    Hi again, i couldn't get the formula working correctly since it see everything that contains the specific text as true and doesn't seem to include the same number that doesn't have the specific text so im a bit lost, maybe i have to write a script instead that controls this :/

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: Sort by duplicate numbers in rows and if contains specific text in specified column

    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 use the paperclip icon to open the upload window.

    View Pic

  7. #7
    Registered User
    Join Date
    12-03-2012
    Location
    sweden
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Sort by duplicate numbers in rows and if contains specific text in specified column

    Ok, im at home right now so i dont have the correct excel program, only home starter here, but the logic is the same, i made an before and after sheet , thanx again for your patience
    Attached Files Attached Files

  8. #8
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: Sort by duplicate numbers in rows and if contains specific text in specified column

    Like this ?

    EDIT : to not look at col C, it is not part of the solution
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    12-03-2012
    Location
    sweden
    MS-Off Ver
    Excel 2010
    Posts
    5

    Talking Re: Sort by duplicate numbers in rows and if contains specific text in specified column

    Hey, you're a genius it works great ) thanx a million!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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