VBA or Custom Conditional Format

Stephen_IV

Well-known Member
Joined
Mar 17, 2003
Messages
1,180
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Good Afternoon,

I wonder if someone could please help me with this. What I am trying to do is to Conditional format blank cells in between numbers. The illustration below shows that if I have a number before and after a blank cell then format the blank cells in between else leave blank. I hope that this is a clear explanation! Thanks Stephen!




Book4
ABCDEFGHI
13/73/83/93/103/113/123/133/143/15
2101101101101101101101101101
310101010101010
4141414141414141414
5141414141414141414
6424242141414
76263636363636363
810
9626262626262
101414141414
1111111
1242141414
134444
1419
Sheet1
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Select from b2 to the end of your data and use the Conditional Formatting formula:

=AND(LEN(B2)=0,ISNUMBER(A2),ISNUMBER(C2))
 
Upvote 0
Andrew is there a way to modify what you have given me. If you look at line 12 there could be multiple situations Thanks in advance Stephen!



Conditional Format Blank Cells in Between Numbers.xls
ABCDEFGHIJ
13/73/83/93/103/113/123/133/143/15
2101101101101101101101101101
310101010101010
4141414141414141414
5141414141414141414
6424242141414
76263636363636363
810
971626262626262
101414141414
1111111
12717142141414X
134444
1419
Sheet1
 
Upvote 0
Andrew where I seemed to have an issue is with multiple cells blank.
Please look at row 9. Thanks Stephen.


Book1
ABCDEFGHI
13/73/83/93/103/113/123/133/143/15
2101101101101101101101101101
310101010101010
4141414141414141414
5141414141414141414
6424242141414
76263636363636363
810
922626262626262
101414141414
1111111
1271714242141414
134444
14191942121414
Sheet1
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,337
Members
452,907
Latest member
Roland Deschain

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