Highlight consecutive cells in a row and collunm from table

Jorge Correia

New Member
Joined
Jun 21, 2021
Messages
14
Office Version
  1. 2016
Platform
  1. Windows
Hello,

I am trying to highlight the value "0" with conditional formating in consecutives cells (in the table) in the same row and in the same colunm like I done manualy in picture b3a.
The first value in the table is in cell B3.
I have this formula ="and(or((B3=D3,C3=b3),B3=0),or((E3=D3,F3=D3),b3=0)" but there something not working...
I know it's possible in a row but is it like I am trying?
Thank you.
 

Attachments

  • b3.PNG
    b3.PNG
    31.6 KB · Views: 25
  • b3a.PNG
    b3a.PNG
    33.6 KB · Views: 37
=AND(B3=0,B3<>"",OR(AND(A3=0,A3<>""),AND(C3=0,C3<>""),AND(B2=0,B2<>""),AND(B4=0,B4<>"")))
=AND(B3=0;B3<>"";OR(AND(A3=0;A3<>"");AND(C3=0;C3<>"");AND(B2=0;B2<>"");AND(B4=0;B4<>"")))

It insert this in the condition. Nothing happens.
Is there someting wrong with my office?
Or is it me?
 

Attachments

  • condition1.png
    condition1.png
    13.5 KB · Views: 7
  • condition2.png
    condition2.png
    13.8 KB · Views: 7
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Are those zeros actually numbers or are they text?
 
Upvote 0
In that case it should work.
If you put these two formulae into blank cells what do they return
Excel Formula:
=ISTEXT(AJ8)
=LEN(AJ8)
change AJ8 to a cell that contains a 0
 
Upvote 0
In that case it should work.
If you put these two formulae into blank cells what do they return
Excel Formula:
=ISTEXT(AJ8)
=LEN(AJ8)
change AJ8 to a cell that contains a 0
In cell C5 I got a "0" (zero), so I put:
=ISTEXT(C5) in cell AV4 (blank cell, no data)
=LEN(C5) in cell AV5 (blank cell, no data)

and both return #NAME?
 
Upvote 0
What language version are you using?
 
Upvote 0
In that case use
Excel Formula:
=É.TEXTO(C5)
=NÚM.CARAT(C5)
 
Upvote 0
Did you translate the conditional formatting formula into your language?
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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