ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   conditional formatting COLOR - pale green (https://www.excelbanter.com/excel-discussion-misc-queries/89532-conditional-formatting-color-pale-green.html)

LTUser54

conditional formatting COLOR - pale green
 

I have only recently started using conditional formatting. I used this
formula: =MOD(ROW(),3)=0 which highlights every 3rd row, but... I
can't figure out how to use a formula to highlight 3 rows & leave one
blank. I want to use pale green highlights.

I know I can "back into" it by making the whole worksheet highlighted
in pale green, like the old IBM paper printouts, and using no fill to
have an un-highlighted row, but I'm trying to find out how to use
formulas to have multiple rows highlighted.

Ideally, I'd like to be able to have 3 rows green, 2 rows normal.

Any suggestions? Please help if you can. Thanks!

Mark
Boston


--
LTUser54
------------------------------------------------------------------------
LTUser54's Profile: http://www.excelforum.com/member.php...o&userid=33459
View this thread: http://www.excelforum.com/showthread...hreadid=543723


Miguel Zapico

conditional formatting COLOR - pale green
 
Using the same formula, you can write:
=MOD(ROW()-1,5)<3
That will be TRUE for 3 rows and FALSE for the next 2.

Hope this helps,
Miguel.

"LTUser54" wrote:


I have only recently started using conditional formatting. I used this
formula: =MOD(ROW(),3)=0 which highlights every 3rd row, but... I
can't figure out how to use a formula to highlight 3 rows & leave one
blank. I want to use pale green highlights.

I know I can "back into" it by making the whole worksheet highlighted
in pale green, like the old IBM paper printouts, and using no fill to
have an un-highlighted row, but I'm trying to find out how to use
formulas to have multiple rows highlighted.

Ideally, I'd like to be able to have 3 rows green, 2 rows normal.

Any suggestions? Please help if you can. Thanks!

Mark
Boston


--
LTUser54
------------------------------------------------------------------------
LTUser54's Profile: http://www.excelforum.com/member.php...o&userid=33459
View this thread: http://www.excelforum.com/showthread...hreadid=543723



LTUser54

conditional formatting COLOR - pale green
 

Miguel,

Thanks! What a great formula!

You are the coolest!

Mark Diaz
Boston


--
LTUser54
------------------------------------------------------------------------
LTUser54's Profile: http://www.excelforum.com/member.php...o&userid=33459
View this thread: http://www.excelforum.com/showthread...hreadid=543723



All times are GMT +1. The time now is 03:22 PM.

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