Conditional formatting Highlighting cell sequences in Rows

babybrands

New Member
Joined
Nov 16, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello

I want to highlight when a number of cells are together in a sequence that represent a pattern I am looking far

Assuming each letter is a cell in a ROW in the entire sheet.

A B C D A B C D A A A A B B B A B C D F A D F C C

I would like to identify "A and B and C and D and F" in sequence using highlight and conditional formatting.

Rather than trying to find the pattern in a huge Spreadsheet manually it would be easy to identify it by conditional formatting..

I have the Latest Office 365 version of excel.

Any help would be appreciated.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Hi and welcome to MrExcel!

It would be 5 rules.
Try this:
varios 16nov2022.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAF
1ABCDABCDAAAABBBABCDFADFCCCABCABC
2ABCABCDABCDAAAABBBABCDFADFCCCABC
3ABCABABCBCDABCDAAAABBBABCDFADFCC
4ABCDFBCDAABCABCDFCDFADFCCABCABCA
5ABCAFCDABABCDFABCDABDDBCDFCCCABC
Hoja1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:AF5Expression=A1&B1&C1&D1&E1="ABCDF"textNO
A1:AF5Expression=OFFSET(A1,,-1)&A1&B1&C1&D1="ABCDF"textNO
A1:AF5Expression=OFFSET(A1,,-2)&OFFSET(A1,,-1)&A1&B1&C1="ABCDF"textNO
A1:AF5Expression=OFFSET(A1,,-3)&OFFSET(A1,,-2)&OFFSET(A1,,-1)&A1&B1="ABCDF"textNO
A1:AF5Expression=OFFSET(A1,,-4)&OFFSET(A1,,-3)&OFFSET(A1,,-2)&OFFSET(A1,,-1)&A1="ABCDF"textNO
 
Upvote 0

Forum statistics

Threads
1,215,444
Messages
6,124,893
Members
449,194
Latest member
JayEggleton

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