ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sort based on text color (https://www.excelbanter.com/excel-discussion-misc-queries/141427-sort-based-text-color.html)

Nick@Durham

sort based on text color
 
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.

David McRitchie

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.





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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com