find and color the cells based criteria

vranjit138

Board Regular
Joined
Dec 18, 2006
Messages
146
Office Version
  1. 365
Platform
  1. Windows
Hi

I have data from Range E1: N25000 and i have a small list in Column Y from Y2:Y10

I need to search each value from Y2:Y10 in Range(E1:N25000) and if the value is found in the list . the cell has to be colored Yellow.

the list in Y column can increase or decrease


Please help

Kind regards
Ranjit
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
best to use conditional formatting with formula:
=CountIf($Y:$Y,E1)>0
 
Upvote 0
You could do this using conditional formatting:
Excel Workbook
EFGHIJKL
1word
2
3hello
4wordhello
5jake
6
7listjosephhello
8word
9
10john
11listjoe
1
2list
3kyle
4word
5
6
7
8
9
10
11
Sheet1

Select columns E:N and input the conditional formatting of:

=ISNUMBER(MATCH(E1,$Y$2:$Y$10,0))

Hope that helps.
 
Upvote 0
list, kyle and word are actually in column Y, but not sure why my screen shot doesn't look that way?
 
Upvote 0

Forum statistics

Threads
1,223,927
Messages
6,175,431
Members
452,641
Latest member
Arcaila

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