Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 148
Default Sorting by colors

Is it possible to sort by the fill-in color in Excel? I do a lot of
highlighting rows, etc. and it would be so much easier than having to cut and
paste.
--
Thanks!
Heather
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Sorting by colors

Get the colorindex in a separate column with the following UDF

Function GetCI(rng As Range) As Long
GetCI = rng.Interior.Colorindex
End Function

in the cell, =GetCI(A2)

and then sort on that new column of CIs.


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Heather" wrote in message
...
Is it possible to sort by the fill-in color in Excel? I do a lot of
highlighting rows, etc. and it would be so much easier than having to cut
and
paste.
--
Thanks!
Heather



Reply
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
Sorting rows by colors James O[_2_] Excel Discussion (Misc queries) 1 March 29th 07 09:18 PM
Sorting Rows By Colors FARAZ QURESHI Excel Discussion (Misc queries) 2 December 29th 06 03:25 PM
Fill colors and sorting Durrer Floors Excel Discussion (Misc queries) 2 September 2nd 06 05:17 PM
Sorting by Colors emillay9 Excel Discussion (Misc queries) 2 November 12th 05 01:15 AM
Sorting by colors Hecwill Excel Discussion (Misc queries) 3 August 11th 05 07:06 PM


All times are GMT +1. The time now is 04:25 AM.

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"