ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I get every other row to highlight gray (https://www.excelbanter.com/excel-discussion-misc-queries/16684-how-do-i-get-every-other-row-highlight-gray.html)

Nancy C

How do I get every other row to highlight gray
 
I need every other row to be gray and if I insert a row I need the sheet to
correct the shading automatically

Don Guillett

formatconditional formatcondition 1formula is=mod(row(),2=0)format as
desired.

--
Don Guillett
SalesAid Software

"Nancy C" <Nancy
wrote in message
...
I need every other row to be gray and if I insert a row I need the sheet

to
correct the shading automatically




Martin P

In cell A1: Format, Conditional Formatting. Let the condition be Formula is
=mod(row(a1),2)=0. Choose the colour under Patterns.
Use Edit, Paste Special to copy the formatting to the entire worksheet.

"Nancy C" wrote:

I need every other row to be gray and if I insert a row I need the sheet to
correct the shading automatically


Bob Phillips

Take a look at http://www.xldynamic.com/source/xld.CF.html#rows

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Nancy C" <Nancy wrote in message
...
I need every other row to be gray and if I insert a row I need the sheet

to
correct the shading automatically





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

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