Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old November 12th 04, 04:55 PM
 
Posts: n/a
Default Sorting by color?

Is there a way to sort your worksheet data by the color of the individual
cells?

  #2   Report Post  
Old November 12th 04, 05:04 PM
tjtjjtjt
 
Posts: n/a
Default

There's no built-in way, but you might want to chek this out:

http://www.cpearson.com/excel/SortByColor.htm

tj

"[email protected]" wrote:

Is there a way to sort your worksheet data by the color of the individual
cells?

  #3   Report Post  
Old November 12th 04, 05:16 PM
Frank Kabel
 
Posts: n/a
Default

Hi
see:
http://www.cpearson.com/excel/SortByColor.htm
and
http://www.xldynamic.com/source/xld.ColourCounter.html

you'll need vBA for this

--
Regards
Frank Kabel
Frankfurt, Germany

"[email protected]" schrieb im
Newsbeitrag ...
Is there a way to sort your worksheet data by the color of the

individual
cells?


  #4   Report Post  
Old November 12th 04, 07:13 PM
Scott
 
Posts: n/a
Default

Here's a solution to sort by any type of format.

1. In visual basic, paste in this code.

Function CellFormat(cell_to_test As Range) As String
CellFormat = cell_to_test.Font.Color & " " & cell_to_test.Interior.Color
& " " & cell_to_test.Font.Size & " " & cell_to_test.Font.FontStyle
End Function

2. Insert a column into your spreadsheet called something to the effect of
"Cellformat."
3. =cellformat(H7) is now the function to identify your formatting based on
your macro definition in step 1.
4. The output of your new funtion will be: 0 10092543 10 Regular, 0 16777164
10 Regular,16711680 16777215 10 Bold
5. You can now sort on this CellFormat column.





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 Color SharonJo Excel Discussion (Misc queries) 1 January 13th 05 11:56 PM
Changing color in color palette Dave Peterson Setting up and Configuration of Excel 0 December 12th 04 02:39 PM
Identifying the Active Fill Color Steve Conary Excel Discussion (Misc queries) 3 December 9th 04 04:45 AM
Inserts and color fill jules New Users to Excel 0 November 30th 04 05:27 AM
A different "Fill Color" problem JKD Excel Worksheet Functions 1 November 1st 04 10:21 PM


All times are GMT +1. The time now is 12:58 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017