Conditional Formatting MOD(ROW(),2)=0 on MERGED CELLS

desmond_

Board Regular
Joined
Jan 4, 2017
Messages
59
Dear Experts,

beginners question here;

MOD(ROW(),2) does not work on Merged Cells (?)

in my table, cells A1:A2 , A3:A4, A5:A6, etc are merged and thus the mod row function in conditional formatting does not work.
how to overcome this ?

Thanks in advance
Desmond
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi desmond_

When you say the formula does not work on merged cells, the process of merging two or more cells means one cell has effectively been created.

The formula does work - it is working on the one merged cell.

It appears your intention is for the formula to work as if there were still two cells, notwithstanding there is effectively only one cell.

From not a beginner to a self confessed beginner - there is absolutely no valid reason to merge cells. Merging cells creates more difficulties than benefits. Do whatever you need except merge cells. Under no circumstances do I ever merge cells. At the most, I use the 'Horizontal - Center Across Selection' for two or more columns.

Cheers

pvr928
 
Upvote 0
hi there,

yes i read that during the search for a solution now several times.
better not merging cells at all.

cheers
 
Upvote 0

Forum statistics

Threads
1,215,007
Messages
6,122,670
Members
449,091
Latest member
peppernaut

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