Merge cells based on codition

csl6989

New Member
Joined
Jan 2, 2014
Messages
3
Hi
I am trying to merge cells with conditional formating.
I am trying to represent below but its hard. hope you guys understand what I need.

Ie:
1.I would like to merge From Jan1 to Jan 4 and write insde the merged cells "A"
2.Merge Jan 5th to Jan 9th and write inside the merged cells "B"
3.Merge Jan 10th to end and write inside the merged cells "C".
[TABLE="width: 1000"]
<TBODY>[TR]
[TD]Jan-1-2014
[/TD]
[TD]Jan-5-2014
[/TD]
[TD]Jan-10-14
[/TD]
[TD]Jan-1-2014
[/TD]
[TD]Jan-2-2014
[/TD]
[TD]Jan-3-2014
[/TD]
[TD]Jan-4-2014
[/TD]
[TD]Jan-5-2014
[/TD]
[TD]Jan-6-2014
[/TD]
[TD]Jan-7-2014
[/TD]
[TD]Jan-8-2014
[/TD]
[TD]Jan-9-2014
[/TD]
[TD]Jan-10-2014
[/TD]
[TD]Jan-11-2014
[/TD]
[TD]Jan-12-2014
[/TD]
[TD]Jan-13-2014
[/TD]
[TD]Jan-14-2014
[/TD]
[/TR]
[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]B[/TD]
[TD]B[/TD]
[TD]B[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]C[/TD]
[/TR]
</TBODY>[/TABLE]

but instead of having A written multiple time, cells merged and A written once.
Thanks
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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