Avatar of Line One
Line One
 asked on

Excel - sort by colour?

I have a spreadsheet that has rows of different colors that are not contiguous. Is there a way to sort by color so that all the red rows appear together for example?
Microsoft Excel

Avatar of undefined
Last Comment
Line One

8/22/2022 - Mon
Flyster

Select a column that has the colors you want to sort. On the Home tab under Editing select Sort & Filter, Custom Sort. In the Sort dialog box uner Sort On, select Cell Color.

Flyster
byundt

Whether you can sort by color depends on the version of Excel. Excel 2007 and 2010 permit it. Excel 2003 and earlier do not.
Line One

ASKER
Flyster:
Thanks for the tip. I'm not clear however on what you are suggesting.  You write:
"Select a column that has the colors you want to sort."
No column has all the same colour. As I said the colored rows at not contiguous - so there may be 3 red rows, 4 green rows, a red row, etc.

Did you mean row not column?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
Flyster

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Line One

ASKER
Got it. Thanks.