#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BWR BWR is offline
external usenet poster
 
Posts: 2
Default sort

Hello, how can i sort a huge list of lines in a worksheet without changing
the cell shading in the background? I have entered several lines of info and
staggered the shading in the cell lines (gray, then white, then gray, etc) to
make the worksheet easier to follow lines. Each time I sort the data in the
worksheet it takes the cell shading with it. I want to leave the cell
shading in the background and sort only the data.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default sort

Tinkered with it in this manner, seems to work ok:
Make a copy of your original sheet, with the desired formatting*
Sort the original. Go back to the copy, select the range/entire sheet, copy
the formatting (click the Format Painter icon, the brush). Then go back to
the original, "paint" to restore the formatting.
*Formatting is assumed non CF
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:363 Subscribers:64
xdemechanik
---
"BWR" wrote:
Hello, how can i sort a huge list of lines in a worksheet without changing
the cell shading in the background? I have entered several lines of info and
staggered the shading in the cell lines (gray, then white, then gray, etc) to
make the worksheet easier to follow lines. Each time I sort the data in the
worksheet it takes the cell shading with it. I want to leave the cell
shading in the background and sort only the data.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default sort

Format all the cells white, then use Conditional formatting with the
"Formula is" condition with the formula

=MOD(ROW(),2)=0

and set the color to gray.

HTH,
Bernie
MS Excel MVP


"BWR" wrote in message
...
Hello, how can i sort a huge list of lines in a worksheet without changing
the cell shading in the background? I have entered several lines of info
and
staggered the shading in the cell lines (gray, then white, then gray, etc)
to
make the worksheet easier to follow lines. Each time I sort the data in
the
worksheet it takes the cell shading with it. I want to leave the cell
shading in the background and sort only the data.



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
Sort by color: Is there an easy way to sort columns or rows in EX MGP Excel Worksheet Functions 5 August 16th 08 11:28 AM
sort function for dates does not sort properly in Office 2007 Exc. Rosalie Excel Worksheet Functions 1 November 22nd 07 10:25 PM
data, sort option is grayed. how to sort on a column? Steve Richter Excel Discussion (Misc queries) 1 September 25th 07 03:25 PM
Ascending Sort formula, change to neg #: descending sort.. nastech Excel Discussion (Misc queries) 6 July 2nd 07 11:00 PM
Excel sort by Fill Color by custom list sort Dash4Cash Excel Discussion (Misc queries) 2 July 29th 05 10:45 PM


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

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

About Us

"It's about Microsoft Excel"