Conditional formatting highlight

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,135
Office Version
365
Platform
Windows
Welcome to the Board!

For security reasons, many of us are unable (or unwilling) to download files or images from the internet. So you may have more luck if you post your actual formula here, and describe the details of the scenario.
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,135
Office Version
365
Platform
Windows
My company blocks those web sites, so I cannot actually see your linked picture.
Can you just post your formula and explain what you want to happen?
 

Joeun

New Member
Joined
Sep 10, 2017
Messages
9
here is my question,

=COUNTIF(INDIRECT("'[CFormating.xlsx]"&A3&"'!B4:B10"),"*"&$B$2&"*")

ABCDEFGH
2OrderBlackRedBlueBlack RedBlue BlackRed BlackBlack Blue
3Order 1üü
4Order 2üü
5

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet1
There is a list of another worksheet contain
Order 1 - Black Red & Blue Black
Order 2 - Red Black & Black Blue

When i used this formula, E3,F3 ; G4,H4 is displayed correctly. But B3:D4 is all highlighted. Apparently whenever the list contain part of the name, it will be highlighted too.
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,135
Office Version
365
Platform
Windows
here is my question,

=COUNTIF(INDIRECT("'[CFormating.xlsx]"&A3&"'!B4:B10"),"*"&$B$2&"*")
What range is this formula being applied to?

I think you may need to lock down some more ranges, possibly.
I am pretty sure the part in red needs to be $A3 to lock the column A reference down.
And the blue part may need to be $B$4:$B$10, but I cannot be sure, because I don't know the layout of those sheets.
 

Joeun

New Member
Joined
Sep 10, 2017
Messages
9
AB
3Order 1
4Black Red
5Blue Black
6
7
8
9
10

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Order 1



AB
3Order 2
4Red Black
5Black Blue
6
7
8
9
10

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Order 2
maybe this will help?
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
51,135
Office Version
365
Platform
Windows
Did you try locking down the references like I showed in the last post and see if that solves your issue?
 

Forum statistics

Threads
1,077,795
Messages
5,336,377
Members
399,078
Latest member
johnk94

Some videos you may like

This Week's Hot Topics

Top