Sorting by Cell COLOR

ycap

New Member
Joined
Jul 1, 2011
Messages
16
After a conditional formating is applied to a column, how do I sort by cell color. Is there a formula that would identify the background or text color?

If there is and the formula could give me the color#, maybe I could just sort by that later. Any inputs??
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
What are your Conditonal Formatting Conditions and the ranges involved?
 
Upvote 0
Thanks for your reply.

On column A, I have dollar amounts. Conditional formating basically identifies ranges. All dollar amounts between 1-10,000 are Shown in Yellow, 10-20,000 are in Green, 20-50,000 are in Blue and over 50K in Red. The amounts of rows vary every day; but could easily be over 40,000 rows.

I would like to be able to sort by colors, or if I need to add a column to enter a formula that would identify the background color#, then sort by that, its fine as well.

Once agan, thanks for your help
 
Upvote 0
Use a new column, put this formula in it and copy down:

=MATCH($A1,{1,10000.01,20000.01,50000.01})

Sort on this column.
 
Upvote 0

Forum statistics

Threads
1,224,541
Messages
6,179,418
Members
452,912
Latest member
alicemil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top