ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sort by Cell Color (https://www.excelbanter.com/excel-discussion-misc-queries/214622-sort-cell-color.html)

DA

Sort by Cell Color
 
Hello
How would I sort by the backgroun color of a cell? I want all same color
cells to grouped to gether when I sort a range of cells.
Thanks

Gord Dibben

Sort by Cell Color
 
Excel has no sort by color functionality.

If the cells are colored due to Conditional Formatting, sort on the CF
criterion(a)

If manually colored see Chip Pearson's site for VBA function.

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


Gord Dibben MS Excel MVP

On Wed, 24 Dec 2008 16:28:01 -0800, da wrote:

Hello
How would I sort by the backgroun color of a cell? I want all same color
cells to grouped to gether when I sort a range of cells.
Thanks



pai

Sort by Cell Color
 
On Dec 24, 4:28*pm, da wrote:
Hello
How would I sort by the backgroun color of a cell? I want all same color
cells to grouped to gether when I sort a range of cells.
Thanks


Say Your data is in A2


Main Menu
Type Name in the Workbook
LColor
And Then Refer to
Type : =get.cell(38,A2)
Add
Ok
Now type in B2
=Lcolor

The Result show in Numbers

Now sort Data AToZ




Hardeep kanwar


DA

Sort by Cell Color
 
Thanks for your reply, but I am confused. Can you please make it more clear?
Where do I write the workbook name? Where do I write the formula?
Thanks

"pai" wrote:

On Dec 24, 4:28 pm, da wrote:
Hello
How would I sort by the backgroun color of a cell? I want all same color
cells to grouped to gether when I sort a range of cells.
Thanks


Say Your data is in A2


Main Menu
Type Name in the Workbook
LColor
And Then Refer to
Type : =get.cell(38,A2)
Add
Ok
Now type in B2
=Lcolor

The Result show in Numbers

Now sort Data AToZ




Hardeep kanwar




All times are GMT +1. The time now is 08:29 PM.

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