ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Is there a way to Sort data by color in Excel? (https://www.excelbanter.com/excel-discussion-misc-queries/33458-there-way-sort-data-color-excel.html)

SRTUC

Is there a way to Sort data by color in Excel?
 
I am trying to sort data by color, is that possible?

Bob Phillips

see http://www.xldynamic.com/source/xld....r.html#sorting

--
HTH

Bob Phillips

"SRTUC" wrote in message
...
I am trying to sort data by color, is that possible?




Dave Peterson

You're gonna need a User defined function to get the value of a color.

See Chip Pearson's site for a nice version:
http://www.cpearson.com/excel/colors.htm
Look for: Returning The ColorIndex Of A Cell

Then you could use that UDF in a separate column and sort by that column.

SRTUC wrote:

I am trying to sort data by color, is that possible?


--

Dave Peterson


All times are GMT +1. The time now is 02:16 PM.

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