LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Sorting a spreadsheet by strikethrough?

Sorting or Filtering?

I don't know how you would Sort by strikethrough since strikethrough has no
hierarchy to it.

Same with colors.............how would you sort by color unless you had a
helper column with the colorindex numbers?

To filter for cells that have strikethrough format you can use this UDF

Public Function IsStrike(rngRange As Range)
If rngRange.Font.Strikethrough = True Then
IsStrike = 1
End If
End Function

In a helper column enter =IsStrike(cellref)

Copy down the column and filter on 1 or 0


Gord Dibben MS Excel MVP

On Wed, 4 Nov 2009 07:01:01 -0800, Nicol
wrote:

I am wondering if you can sort as spreadsheet by the strikethrough's that are
in a column.

I know you can sort by color, alpha etc. But I have several strikethroughs
in a column and I would like those to be sorted as well.

Thanks


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF Strikethrough lightbulb Excel Discussion (Misc queries) 5 April 4th 23 02:11 PM
Sorting the spreadsheet! Dan the Man[_2_] Excel Worksheet Functions 2 July 9th 07 04:17 PM
Row and Column Strikethrough Craig Wilson Excel Discussion (Misc queries) 1 June 27th 07 02:20 PM
Can you do strikethrough in excel? Snooky Excel Discussion (Misc queries) 2 January 10th 06 01:28 PM
Strikethrough on Excel. How? Jerry Baritone Excel Worksheet Functions 1 January 3rd 05 09:55 PM


All times are GMT +1. The time now is 10:59 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"