Conditional formatting formula for empty cells

kukerjoe

New Member
Joined
Jan 1, 2018
Messages
7
Hi,
i have a range OF CELLS that MY USERS need to fill with data.
THE RANGE IS from A1:A1000.

sometimes they skip rows for example they fill the cell A1 and then they skip CELL A2 AND LEAVE IT BLANK and THEN THEY fill A3.
I need a CONDITIONAL FORMATTING formula to fill in yellow all those empty CELLS ,cell A2 IN THE EXAMPLE BUT NOT THE CELLS BELOW A3.
IF THEY CONTINUE TO FILL CELLS AND SKIP A4 AND FILL A5 AND I NEED THAT A4 WILL BE FILLED IN YELLOW TOO.
THE CONDIONAL FORMATTING WILL BE APPLIED TO RANGE A1:A1000.




 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Select range A1:A1000 with cell A1 being the active cell, then use this for the Conditional Formatting formula...

=(ROW(A1)< SUMPRODUCT(MAX(ROW(A$1:A$1000)*(A$1:A$1000<>""))))*(A1="")
 
Last edited by a moderator:
Upvote 0
I think something got lost in that formula but what I did was:

1. Highlight A1:A1000
2. Create a new conditional format based on the following formula:

Code:
=AND(A1="",COUNTA(A1:$A100)>0)

WBD
 
Upvote 0
I think something got lost in that formula but what I did was:

1. Highlight A1:A1000
2. Create a new conditional format based on the following formula:

Code:
=AND(A1="",COUNTA(A1:$A100)>0)

WBD

A much better formula than mine; however, you left out a 0 in the range and put the $ sign in the wrong place (you typed $A100 when I think it should be A$1000). I believe your formula should be this...

=AND(A1="",COUNTA(A1:A$1000)>0)
 
Upvote 0
A much better formula than mine; however, you left out a 0 in the range and put the $ sign in the wrong place (you typed $A100 when I think it should be A$1000). I believe your formula should be this...

=AND(A1="",COUNTA(A1:A$1000)>0)

Yep. Thanks. Not quite woken up yet it would seem :)

WBD
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,185
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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