conditional formating

kerm007

Active Member
Joined
Mar 16, 2019
Messages
267
Office Version
  1. 365
Platform
  1. Windows
Hello how can i do conditional formatting when the same character appear 4 time in a row in let say row B3 to b24
i tries different thing but what i found is only for a column
Thanks
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Like this ?


Assidute 4 semaines DONOTUSE.xlsx
ABCDEFGHIJKLMNOPQRSTUV
2Semaines1234567891011121314151617181920
3NumbersNames9/7/20239/14/20239/21/20239/28/202310/5/202310/12/202310/19/202310/26/202311/2/202311/9/202311/16/202311/23/202311/30/202312/7/202312/14/202312/21/202312/28/20231/4/20241/11/20241/18/2024
41Pierre Auger
52Stephane Lapierre
63Denis Hammarenger
74Stephane Rousseau
85Serge Lessard
96Yvon Belanger
107HGerald Temblay
118Sylvain Litalien
129Fanny Piche
1310HAlex Sivret
1411Jasmin Bud Beauregard
1512Grégoire Dubé
1613Eric fortin
1714Normand Belanger
Sheet1
Cell Formulas
RangeFormula
D3:V3D3=C3+7
 
Upvote 0
Yes like this. But where are the "X" that you want to check for conditional formatting?
 
Upvote 0
C4 to V4
and each row like this
D4 to V4 etc...
I can't help without proper sample data. Earlier you said B3:B24 which is 1 column now you are talking different.

Hope someone better than me is able to help you.
 
Upvote 0
better like this

Assidute 4 semaines DONOTUSE.xlsx
ABCDEFGHIJKLMNOPQR
2Semaines12345678910111213141516
3NumbersNames9/7/20239/14/20239/21/20239/28/202310/5/202310/12/202310/19/202310/26/202311/2/202311/9/202311/16/202311/23/202311/30/202312/7/202312/14/202312/21/2023
41Pierre Augerxxxx
52Stephane Lapierre
63Denis Hammarengerx
74Stephane Rousseauxx
85Serge Lessard
96Yvon Belangerxxx
107HGerald Temblay
118Sylvain Litalienx
129Fanny Pichex
1310HAlex Sivretxx
1411Jasmin Bud Beauregard xx
1512Grégoire Dubé
1613Eric fortin
Sheet1
Cell Formulas
RangeFormula
D3:R3D3=C3+7




TY
 
Upvote 0
Check this -

Book3
ABCDEFGHIJKLMNOPQR
1
2Semaines12345678910111213141516
3NumbersNames7/9/237/16/237/23/237/30/238/6/238/13/238/20/238/27/239/3/239/10/239/17/239/24/2310/1/2310/8/2310/15/2310/22/23
41Pierre Augerxxxx
52Stephane Lapierre
63Denis Hammarengerx
74Stephane Rousseauxx
85Serge Lessard
96Yvon Belangerxxx
107HGerald Temblay
118Sylvain Litalienx
129Fanny Pichex
1310HAlex Sivretxx
1411Jasmin Bud Beauregard xx
1512Grégoire Dubé
1613Eric fortin
Sheet1
Cell Formulas
RangeFormula
D3:R3D3=C3+7
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C4:R16Expression=OR(AND(C4="x",B4="x",A4="X",XFD4="x"),AND(C4="x",D4="x",E4="x",F4="x"),AND(C4="x",B4="x",D4="x",E4="x"),AND(C4="x",B4="x",A4="X",D4="x"))textNO
C4:R16Cell Valuecontains "x"textNO
 
Last edited:
Upvote 0
perfect where do i enter this ?
sorry not sure i enter the value
 
Upvote 0
I was thinking of making formula short so got this -

Book3
ABCDEFGHIJKLMNOPQR
1
2Semaines12345678910111213141516
3NumbersNames7/9/237/16/237/23/237/30/238/6/238/13/238/20/238/27/239/3/239/10/239/17/239/24/2310/1/2310/8/2310/15/2310/22/23
41Pierre Augerxxxx
52Stephane Lapierre
63Denis Hammarengerx
74Stephane Rousseauxx
85Serge Lessard
96Yvon Belangerxxx
107HGerald Temblay
118Sylvain Litalienx
129Fanny Pichex
1310HAlex Sivretxx
1411Jasmin Bud Beauregard xx
1512Grégoire Dubé
1613Eric fortin
Sheet1
Cell Formulas
RangeFormula
D3:R3D3=C3+7
Cells with Conditional Formatting
CellConditionCell FormatStop If True
C4:R16Expression=OR(AND(C4:XFD4="x"),AND(C4:F4="x"),AND(B4:E4="x"),AND(A4:D4="x"))textNO
C4:R16Cell Valuecontains "x"textNO
 
Upvote 0
perfect where do i enter this ?
sorry not sure i enter the value
Select cells C4:R16 and then choose conditional formatting

Then choose Classic

then Use formula and paste there

Hope I'm giving correct steps for Excel 365
 
Upvote 0

Forum statistics

Threads
1,224,747
Messages
6,180,719
Members
452,995
Latest member
isldboy

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