Fixed table background Excel 2007

Miss.Excel

New Member
Joined
May 23, 2011
Messages
2
Hey everyone,

Really hoping I could get some help on this.

I'm just creating a staff database in Excel. Now I'm using a colored table as a background to keep the database clear. So all the rows are alternately colored.

The problem is that when I sort the database on 'location' for example, all the row colors go with it. So I have a messy database that shows 10 blue lines, then 25 dark blue lines, 5 blue lines, etc. In stead of keeping them alternately colored.

Is there any way I could sort the content of the cell, but not the actual cell color?

So all the row colors will stay in order, but the content changes?

Hope this all makes sense!

Looking forward to any suggestions!

Many thanks,
Miss.Excel
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
I found this answer on another forum (not sure if I was allowed to link to it so have copied the answer directly)...

Use Conditional Formatting to shade every other row.....Here's how:

Select All cells (by clicking the empty gray box in the upper left)

Then....from the Excel Main Menu:
<format><conditional formatting>
Condition_1: Formula is: =MOD(ROW(),2)
Click the [Format] button and select a shade color....Click [OK]

Note:
=MOD(ROW(),2)........Shades Odd numbered rows
=MOD(ROW(),2)=0.....Shades Even numbered rows
 
Upvote 0
Hey VoG and Kidwispa,

Thank you every so much for your quick replies!

That trick done it!! :D :D

Brilliant stuff!

Can't believe I have looked all over the net for ages, and here I get 2 useful replies within 5 MINUTES! Lol.

Thanks so much guys (})

Well happy!!

xx
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,237
Members
452,898
Latest member
Capolavoro009

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