Using Conditional Formatting to Highlight Positions

Newbienew

Active Member
Joined
Mar 17, 2017
Messages
376
Office Version
  1. 2016
Platform
  1. Windows
Hello

I am attempting to do a complicated "for me" conditional format. I want to be able to highlight any ratings on a separate spreadsheets column (E) based on the column A and I of the rating and column B and J if its greater than 0. I am not about to move these columns. The issue is column E on the separate sheet has different variables at the end of the ratings, ranging from 1,2,3,sn,an,cn,fn and c, cs. The formula would have to be able to turn any rating green on the E column of the other sheet regardless of the variable endings. I have posted the A and B columns first ant the E column of the other sheet as well. Please help Thank you.

Copy of REM SLOW WORKBOOK AUG5.xlsb
ABCDEFGHIJ
1RateAvailableBNAASchool RateAvailable
2A000ABE0
3ABF500ABH0
4AC000AD0
5ADEK000ADSP0
6AE000AECF0
7AG000AIRC0
8AIRR000AM0
9AME000AMEK0
10AN000AO0
11AS000AT0
12AV000AW0
13AWF000AWO0
14AWR000AWS0
15AZ3000BM0
16BU000CE0
17CM000CS0
18CSS000CTI0
19CTM000CTN0
20CTR45600CTT0
21DC000E0
22EA000EM0
23EMN000EN0
24EO000EOD0
25ET000ETN0
26ETR000ETV0
27FC000FCA0
28FN000FT0
29GM4500GSE0
30GSM000HM48
31HMBHT000HMDA0
32HMDH000HMFM0
33HML000HT0
34IC000IS0
35IT000ITS0
36LN000LS0
37LSS000MA0
38MC000MM0
39MMA000MMN0
40MMS000MMW0
41MN5400MR0
42MT000MU0
43NC000ND0
44NUC000OS0
45PC000PR0
46PS000QM0
47RP000RS0
48S000SB0
49SECF000SENG0
50SH000SK0
51SKS000SN0
52SNL000SO0
53STG000STS0
54SW000UCT0
55UT000YN0
56YNS000
Sheet2




Copy of REM SLOW WORKBOOK AUG5.xlsb
E
2ABE2
3ABE3
4ABEAN
5ABECS
6ABF1
7ABF3
8ABFAN
9ABFAN
10ABFC
11ABFFAN
12ABH1
13ABH2
14ABH3
15ABHAN
16ABHC
17AC2
18ACCS
19AD2
20AD3
21ADAN
22AE1
23AE2
24AE3
25AG3
26AM1
27AM2
28AM3
29AMCS
30AME1
31AME2
32AME3
33AN
34AO
35AO2
36AO3
37AOAN
38AOAN
39AOCS
40AS1
41AS2
42AS3
43ASCS
44AT
45AT1
46AT1
47AT2
48AT2
49AT3
50AWS1
51AZ1
52AZ2
53AZAN
54BM1
55BM2
56BM3
57BMC
58BU2
59CE3
60CM2
61CM3
62CMDCS
63CS1
64CS2
65CS3
66CSS2
67CSS3
68CSSN
69CTN1
70CTN2
71CTN3
72CTR1
73CTR2
74CTT1
75CTT2
76CTT3
77DC2
78DC3
79EM2
80EM3
81EMC
82EMN1
83EMN2
84EMN3
85EMNCM
86EN2
87EN3
88EO3
89ET1
90ET2
91ET3
92ETN1
93ETN2
94ETN3
95ETV2
96FC1
97FC2
98FC3
99FCA1
100FCA2
101FCA3
102FCAC
103GM1
104GM2
105GM3
106GSCS
107GSE1
108GSE2
109GSEC
110GSM2
111GSM3
112GSMFN
113HM1
114HM2
115HM3
116HMCS
117HN
118HNSN
119HT1
120HT2
121IC1
122IC2
123IC3
124IS1
125IS2
126IT1
127IT2
128IT3
129ITSN
130LN2
131LS1
132LS2
133LS3
134LS3
135LSC
136LSSC
137LSSN
138MA1
139MA2
140MA3
141MAC
142MASN
143MC1
144MC2
145MC3
146MM1
147MM2
148MM3
149MM3
REM TEAM JUN




Copy of REM SLOW WORKBOOK AUG5.xlsb
E
150MMA2
151MMFN
152MMN1
153MMN2
154MMN2
155MMNC
156MN1
157MT1
158MT2
159MU3
160NC1
161NCC
162OS2
163OS3
164OSSN
165PR1
166PR2
167PS
168PS2
169PS3
170QM1
171QM2
172RS3
173SB1
174SB2
175SH2
176SHSN
177SO1
178STG1
179STG2
180STG3
181STS1
182STS2
183STS3
184STSCS
185TBD
186TM2
187TM3
188YN2
189YN3
190YNSC
REM TEAM JUN
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
I tried but it was not working. So i posted a new threat as to why it was not working. Unfortunately it didnt work
have a look.. I am trying still

 
Upvote 0
Try This

Book1
ABCDEFGHIJKLMN
1RateAvailable
2A0FALSEABE2
3ABF5FALSEABE3
4AC0FALSEABEAN
5ADEK0FALSEABECS
6AE0TRUEABF1
7AG0TRUEABF3
8AIRR0TRUEABFAN
9AME0TRUEABFAN
10AN0TRUEABFC
11AS0TRUEABFFAN
12AV0FALSEABH1
13AWF0FALSEABH2
14AWR0FALSEABH3
15AZ30FALSEABHAN
16BU0FALSEABHC
17CM0FALSEAC2
18CSS0FALSEACCS
19CTM0FALSEAD2
20CTR456FALSEAD3
21DC0FALSEADAN
22EA0FALSEAE1
23EMN0
24EO0
25ET0
26ETR0
27FC0
28FN0
29GM45
30GSM0
31HMBHT0
32HMDH0
33HML0
34IC0
35IT0
36LN0
37LSS0
38MC0
39MMA0
40MMS0
41MN54
42MT0
43NC0
44NUC0
45PC0
46PS0
47RP0
48S0
49SECF0
50SH0
51SKS0
52SNL0
53STG0
54SW0
55UT0
Sheet1
Cell Formulas
RangeFormula
K2:K22K2=SUM(IFERROR(SEARCH(IF($B$2:$B$55>0,$A$2:$A$55),N2),0))>0
Cells with Conditional Formatting
CellConditionCell FormatStop If True
N2:N22Expression=SUM(IFERROR(SEARCH(IF($B$2:$B$55>0,$A$2:$A$55),N2),0))>0textNO
 
Upvote 0
If you're happy with a helper column, maybe this monstrosity.
+Fluff New.xlsm
EF
1
2ABE2ABE
3ABE3ABE
4ABEANABE
5ABECSABE
6ABF1ABF
7ABF3ABF
8ABFANABF
9ABFANABF
10ABFCABF
11ABFFANABFF
12ABH1ABH
13ABH2ABH
14ABH3ABH
15ABHANABH
16ABHCABH
17AC2AC
18ACCSAC
19AD2AD
20AD3AD
21ADANAD
22AE1AE
23AE2AE
24AE3AE
25AG3AG
26AM1AM
27AM2AM
28AM3AM
29AMCSAM
30AME1AME
31AME2AME
32AME3AME
33ANAN
34AOAO
35AO2AO
36AO3AO
37AOANAO
38AOANAO
39AOCSAO
40AS1AS
41AS2AS
42AS3AS
43ASCSAS
44ATAT
45AT1AT
46AT1AT1
47AT2AT
48AT2AT2
49AT3AT
50AWS1AWS
51AZ1AZ
52AZ2AZ
53AZANAZ
54BM1BM
Sheet1
Cell Formulas
RangeFormula
F2:F54F2=IF(OR(E2={"sn","an","cn","fn","cs"}),E2,IF(OR(RIGHT(E2)={"1","2","3","c"}),LEFT(E2,LEN(E2)-1),IF(OR(RIGHT(E2,2)={"sn","an","cn","fn","cs"}),LEFT(E2,LEN(E2)-2),E2)))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E2:E190Expression=OR(IFERROR(INDEX(Sheet2!$B$2:$B$56,MATCH(F2,Sheet2!$A$2:$A$56,0)),0)>0,IFERROR(INDEX(Sheet2!$J$2:$J$55,MATCH(F2,Sheet2!$I$2:$I$55,0)),0)>0)textNO
 
Upvote 0
Hi @Fluff

But that was his requirement . if any rows in column B has a number greater than 0, we have to check whether the corresponding word is available in Column N as prefix
 
Upvote 0
Yes but if you change B2 to 1, every code that contains the letter A will be highlighted, which I don't think is what the OP wanted.

@Newbienew
If your happy with my helper column approach in post#15, here is a simpler formula for the CF
=COUNTIFS(Sheet2!$A$2:$I$57,F2,Sheet2!$B$2:$J$57,">0")
 
Upvote 0
I attempted to use both but not sure if I did something with truing to use it or not. Then al also noticed an issue. I have a CSSN which has CS and SN. I found that out as I couldn't figure out why it was blank. lol
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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