Conditional Formatting for Fill Color on Merged Cells

stfchr

New Member
Joined
Mar 16, 2022
Messages
18
Office Version
  1. 2019
Platform
  1. Windows
Hello, I have 3 cells merged into one and inserted a dropdown menu. I have applied conditional formatting to change the fill color when an item is selected from the dropdown. However, when the color changes, it leaves a portion of the merged cell unchanged. Any ideas?
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hi,

Merged cells are never a good idea.
What are the cell addresses of the merged cells, and what's your CF formula?

Chances are, you just need to include all 3 cells in the applies to range, and anchor down the condition cell.
 
Upvote 0
Solution
Thanks for your reply. The cell range is listed in "Applies to" (=$D$11:$F$11). The rule is: "Format only cells that contain". There is a separate rule for each possible answer from the dropdown menu.
 
Upvote 0
What is the requirement ?
"Format only cells that contain..." >>>need to know the requirement (e.g. contains What), and in what cell ?

Pretty sure you'll need a CF formula to achieve this, as I would think only 1 cell will contain your requirement.
 
Upvote 0
What is the requirement ?
"Format only cells that contain..." >>>need to know the requirement (e.g. contains What), and in what cell ?

Pretty sure you'll need a CF formula to achieve this, as I would think only 1 cell will contain your requirement.
It is Format only cells that contain "YES", "NO", or "I'M NOT SURE". They are all in the same merged cell (D11:F11) in the dropdown box.
 
Upvote 0
Is it either Yes, No or I'm not sure, in one of the cells D11:F11 ?
If so, which one of these cells.
Or, are you saying All 3 cells will be populated with Yes, No, or I'm not sure ?

May be you can show a sample.
 
Upvote 0
Without sample and further explanation, try this:

Book3.xlsx
DEF
11Yes
12
13No
14I'm not sure
Sheet1053
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D11:F14Expression=OR($D11="Yes",$D11="No",$D11="I'm not sure")textNO
 
Upvote 0
Yes, all three cells will be populated with one of the selected options. I am not sure how to upload an sample of this. I can try to explain in more detail. When the worksheet is opened, the dropdown box is yellow and reads "Please Select One". Once you click on one of the options from the dropdown, it is supposed to turn white. Does turn white mostly, except for one section of the merged cell containing the dropbox remains yellow. I hope that helps clarify some.
 
Upvote 0
Have you tried what I suggested in Post #7 ???

On a copy of your sheet.
Remove all CF from D11:F11
Select your merged D11:F11
CF, use formula
Enter my formula:
=OR($D11="Yes",$D11="No",$D11="I'm not sure")
Click Format
Select your Formatting as you like.
Click OK.
 
Upvote 0
Have you tried what I suggested in Post #7 ???

On a copy of your sheet.
Remove all CF from D11:F11
Select your merged D11:F11
CF, use formula
Enter my formula:
=OR($D11="Yes",$D11="No",$D11="I'm not sure")
Click Format
Select your Formatting as you like.
Click OK.
Great! Thank you!
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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