Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dkingston
 
Posts: n/a
Default don't move formats on sort

i have a sheet where every other line is shaded. i want to sort the data but
maintain the every other line shaded format. is there a way to do this
without writing a macro to redo the formating every time i sort?
thanks in advance for your time.
dkingston
  #2   Report Post  
Posted to microsoft.public.excel.misc
Chip Pearson
 
Posts: n/a
Default don't move formats on sort

You should use Conditional Formatting to shade the cells. See
www.cpearson.com/excel/banding.htm for more details and formulas.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"dkingston" wrote in
message
...
i have a sheet where every other line is shaded. i want to sort
the data but
maintain the every other line shaded format. is there a way to
do this
without writing a macro to redo the formating every time i
sort?
thanks in advance for your time.
dkingston



  #3   Report Post  
Posted to microsoft.public.excel.misc
Ardus Petus
 
Posts: n/a
Default don't move formats on sort

Shading should be based on conditional formatting with formula:
=MOD(ROW();2)=0

HTH
--
AP

"dkingston" a écrit dans le message de
news: ...
i have a sheet where every other line is shaded. i want to sort the data
but
maintain the every other line shaded format. is there a way to do this
without writing a macro to redo the formating every time i sort?
thanks in advance for your time.
dkingston



  #4   Report Post  
Posted to microsoft.public.excel.misc
dkingston
 
Posts: n/a
Default don't move formats on sort

thanks much guys, the conditional formatting worked like a charm.

"dkingston" wrote:

i have a sheet where every other line is shaded. i want to sort the data but
maintain the every other line shaded format. is there a way to do this
without writing a macro to redo the formating every time i sort?
thanks in advance for your time.
dkingston

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
How do I format a column in alpha order? Marian New Users to Excel 3 April 2nd 06 05:15 PM
Blank Spaces on Sort Xiazer Excel Discussion (Misc queries) 0 February 28th 06 09:56 AM
How can I sort multiple times Sorting data Excel Worksheet Functions 2 February 9th 06 05:22 PM
sorting more than 3 keys Brooke Excel Discussion (Misc queries) 3 June 18th 05 04:52 AM
Data > Sort function amnesia? Dave D Excel Discussion (Misc queries) 1 November 29th 04 10:44 PM


All times are GMT +1. The time now is 01:24 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"