Can I put the =MOD(ROW() condition behind manual formatting?

jdpro

Board Regular
Joined
May 1, 2016
Messages
88
Office Version
  1. 365
Platform
  1. MacOS
I like to use the =MOD(ROW(),2)=0 function to make my data easier to read, but in many cases I have to highlight individual cells. If I have the MOD function in a range I can only highlight clear cells that are not affected by the modification. Is there a way to put the modification in the background so that I can highlight individual cells with another color?

Thanks!!
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
If you mean you are using =MOD(ROW(),2)=0 in conditional formatting then no, conditional formatting always takes priority over normal formatting
 
Upvote 1
Solution
Thanks for your reply Mark. I thought that might be the case.
 
Upvote 0
You can actually do that if you are happy to save the workbook as an xlsm or xlsb & have macros enabled.
In the name manager create a new name (I've called it IsColour) & in the refers to box put
Excel Formula:
=GET.CELL(63,INDIRECT("rc",FALSE))
You can then change you CF rule to
Excel Formula:
=AND(IsColour=0,MOD(ROW(),2)=0)
 
Upvote 1
I will keep that in mind Fluff, and give it a try when I make a new one and want to try that out. :)(y)
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,270
Messages
6,171,103
Members
452,379
Latest member
IainTru

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