ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how do I use conditional formatting for alternating cell shading? (https://www.excelbanter.com/excel-worksheet-functions/71109-how-do-i-use-conditional-formatting-alternating-cell-shading.html)

Exceluser

how do I use conditional formatting for alternating cell shading?
 
I need to alternate cell shading based on the row number(even, odd). I need
to know how to do this using the MOD with the Row function as argument. I am
using Excel in Office XP version 2002.

Thanks

Gos-C

how do I use conditional formatting for alternating cell shading?
 

Hi Exceluser,

See http://www.andrewsexceltips.com/menu...r_set_rows.htm

Gos-C


--
Gos-C


------------------------------------------------------------------------
Gos-C's Profile: http://www.excelforum.com/member.php...o&userid=14518
View this thread: http://www.excelforum.com/showthread...hreadid=511432


Ron Coderre

how do I use conditional formatting for alternating cell shading?
 
Here you go:

http://cpearson.com/excel/banding.htm

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Exceluser" wrote:

I need to alternate cell shading based on the row number(even, odd). I need
to know how to do this using the MOD with the Row function as argument. I am
using Excel in Office XP version 2002.

Thanks


Biff

how do I use conditional formatting for alternating cell shading?
 
Hi!

If you want to shade the odd rows:

=MOD(ROW(),2)=1

If you want to shade the even rows:

=MOD(ROW(),2)=0

Biff

"Exceluser" wrote in message
...
I need to alternate cell shading based on the row number(even, odd). I
need
to know how to do this using the MOD with the Row function as argument. I
am
using Excel in Office XP version 2002.

Thanks





All times are GMT +1. The time now is 12:14 AM.

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