CF : Formula To Highlighted Color If All Cells Fill Data

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,077
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..

how to make formula in CF with condition like this:
if the cell contains/fill all data (not empty) -- so highlighted with yellow otherwise condition all cell not highlighted color
here this sample
sample1sample2
LondonLondon
33
Hongkongempty cell
--
--
parisparis


anyone help, thanks in advance

.sst
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
How about:

Book2
AB
1Sample1Sample2
2LondonLondon
333
4Honkong
5--
6--
7parisparis
Sheet11
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:B7Expression=COUNTA(A$2:A$7)=6textNO
 
Upvote 1
Solution
hi Eric

my question what is the meaning '6' in your formula
Rich (BB code):
=COUNTA(A$2:A$7)=6
would you explained ?
 
Upvote 0
hi Eric, i have new problem..
your formula in range A2:A7, i have over 50 samples like in range B2:B7, C2:C7, etc....

how to easy or simple organize your formula for 50 sample? for each sample are different data
 
Upvote 0
As long as all your ranges have the same rows, 2-7, the formula will work fine. If you look at my initial post, the formula was applied to A2:B7. So just select your entire range (A2:AZ7 or whatever it is), and add the CF formula as shown. If you have other ranges with other rows, like A10:G15, then change the row numbers in the formula to match those rows.
 
Upvote 0
hi Eric, unfortunately for each sample is standalone table/column. They are not related..
 
Upvote 0
In that case, you'd need a separate rule for each sample. Maybe if there's some way to identify how many items are in each column, and if the columns are adjacent. If there are actual Excel tables, that adds another twist. If you could show a more representative sample of your data, I could take another look.
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,040
Members
449,092
Latest member
ikke

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