Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: sorting by data that has strikethrough in it

  1. #1
    New Member
    Join Date
    Feb 2002
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    How do you sort out rows that have been completely strickenthrough with strikethrough?

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Bogota, Colombia
    Posts
    11,959
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Paste this UDF in a module.

    Code:
    Function HasStrike(Rng As Range) As Boolean
    HasStrike = Rng.Font.Strikethrough
    End Function
    Then, back in Excel, in a new column, use the formula like

    =HasStrike(A1)

    Where A1 is the cell that you're testing. Now, sort on this column.
    Regards,

    Juan Pablo González
    http://www.juanpg.com

  3. #3
    New Member
    Join Date
    Feb 2002
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Thanks, Worked very nicely.

    Thanks Again

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •