View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
David McRitchie David McRitchie is offline
external usenet poster
 
Posts: 903
Default sort based on text color

Hi Nick,
It can be done but not efficiently, it would be better to
use numbers for sorting purposes and Conditional Formatting
to supply the color rather than the other way around.

For what you ask see Chip Pearson's
SortByColor -- Sorting by Color
http://www.cpearson.com/excel/SortByColor.htm
if colors came from conditional formatting then use the
same formulas on the page and sort them, though see
bottom of page for C.F. colors.

For some additional comments
Color, Sorting on Color
http://www.mvps.org/dmcritchie/excel/colorsort.htm

---
HTH,
David McRitchie, Microsoft MVP - Excel
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Nick@Durham" wrote in message ...
Can you sort a spreadsheet by text colour? Some data has been highlighted in
blue text, I need to get all this to the top of the spreadsheet.