+ Reply to Thread
Results 1 to 11 of 11

How to make Bold Line between Unique Values.

  1. #1
    Registered User
    Join Date
    02-02-2018
    Location
    TURKEY
    MS-Off Ver
    2021
    Posts
    63

    How to make Bold Line between Unique Values.

    Hello everyone,

    it may be simple but I have tried all that I know but I couldn't figure out how to make some kind of separation between unique values in an excel column.
    I have the column below:
    S11G1001
    S11G1001
    S11G1002
    S11G1002
    S11G1003
    S11G1004
    S11G1005
    S11G1006
    S11G1006
    S11G1007
    S11G1008
    S11G1008
    S11G1009
    S11G1009
    S11G1010
    S11G1011
    S11G1012
    S11G1013
    S11G1013
    S11G1014
    S11G1014
    S11G1015
    S11G1016
    S11G1017
    S11G1018
    S11G1019
    S11G1020

    I need to make fastly make it as follows:
    figure.jpg

    Thank you

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

    Re: How to make Bold Line between Unique Values.

    Use conditional formatting
    Home/Conditional formatting/New rule/Use a formula:
    A1<>A2
    pick a border style (underline)
    Apply to whole range
    Quang PT

  3. #3
    Registered User
    Join Date
    02-02-2018
    Location
    TURKEY
    MS-Off Ver
    2021
    Posts
    63

    Re: How to make Bold Line between Unique Values.

    Unfortunately, it didn't work for me, also, what if I have the same value repeated three times?

  4. #4
    Registered User
    Join Date
    02-02-2018
    Location
    TURKEY
    MS-Off Ver
    2021
    Posts
    63

    Re: How to make Bold Line between Unique Values.

    this worked, thank you very much

  5. #5
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,303

    Re: How to make Bold Line between Unique Values.

    run a macro.
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    02-02-2018
    Location
    TURKEY
    MS-Off Ver
    2021
    Posts
    63

    Re: How to make Bold Line between Unique Values.

    Thanks for your comment @torachan I'll give it a try now.

  7. #7
    Registered User
    Join Date
    02-02-2018
    Location
    TURKEY
    MS-Off Ver
    2021
    Posts
    63

    Re: How to make Bold Line between Unique Values.

    Hello Torachan,

    your VBA code worked perfectly, thank you very much. but only one little thing, would you please kindly teach me how to make not only the cells in A column but make the underline also on the whole range from A1 to XFD1?

    thank you very much in advance.

  8. #8
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,303

    Re: How to make Bold Line between Unique Values.

    untested
    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    02-02-2018
    Location
    TURKEY
    MS-Off Ver
    2021
    Posts
    63

    Re: How to make Bold Line between Unique Values.

    Thank you! I got my PC not responding the Excel shut down

  10. #10
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,303

    Re: How to make Bold Line between Unique Values.

    it is probably the 16383 columns it does not like
    are you sure you can get to column XFD ????
    change the 16383 to 250, it should do that anything under 256 in most versions after 2004.

  11. #11
    Registered User
    Join Date
    02-02-2018
    Location
    TURKEY
    MS-Off Ver
    2021
    Posts
    63

    Re: How to make Bold Line between Unique Values.

    Thank you torachan, this helped by changing the 16383 to 250.

+ 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] Make the Zero line bold
    By mra1984 in forum Excel Charting & Pivots
    Replies: 10
    Last Post: 09-08-2017, 06:27 PM
  2. [SOLVED] When clicking cell within range, make it bold. If already bold, make it not bold
    By jokris in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-08-2016, 07:12 PM
  3. [SOLVED] How to change font, and make bold a part of the line
    By eddyrcabrera79 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2015, 01:07 PM
  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. Replies: 4
    Last Post: 12-01-2014, 07:58 PM
  6. Insert Bold Line After Counting Cell Values
    By temple.georgia in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-14-2012, 05:43 AM
  7. If value is lowest in a set of values make bold and Red
    By arobbo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2007, 08:07 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