MOD(ROW(),2) Function with a Formula

tykc17

New Member
Joined
Jul 5, 2017
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Is there a way to have a sheet have the alternating rows but have a formula within it so I don't have to do double the work?

I want to color every other row but one of the formatting options I do is a fade from my XLOOKUP or dropdown menu in the overall status and I want the white rows to have a fade from Yellow to White and t gray to Yellow to gray. I've tried playing around with putting my XLOOKUP into it and it doesn't seem to like it.

image1].png
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
I don't know if this will all come out in the xl2bb

MrExcelPlayground23.xlsx
AB
11a
22b
33c
44d
55e
66f
77g
88h
99i
1010j
Sheet14
Cells with Conditional Formatting
CellConditionCell FormatStop If True
B1:B10Expression=ISODD(ROW(B1))textNO
B1:B10Expression=ISEVEN(ROW(B1))textNO
A1:A10Expression=ISEVEN(ROW(A1))textNO


edit. It didn't. The rules are there, but the formatting has

1721402433315.png


1721402471272.png
 
Upvote 0
Something like this?
Book1
ABCDEF
1AWAITING APP
2AWAITING APP
3AWAITING APP
4AWAITING APP
5AWAITING APP
6AWAITING APP
7AWAITING APP
8AWAITING APP
9AWAITING APP
10AWAITING APP
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
F1:F10Expression=AND(MOD(ROW(),2)=0,F1="AWAITING APP")textNO
F1:F10Expression=AND(MOD(ROW(),2)=1,F1="AWAITING APP")textNO
A1:F10Expression=MOD(ROW(),2)=0textNO


Guess XL2BB doesn't like gradients.
1721402971404.png
 
Upvote 0
Solution

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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