highlight cells based on another cells

jo206

New Member
Joined
Jul 10, 2023
Messages
9
Office Version
  1. 365
Platform
  1. Windows
hey guys

I've been looking for this for a while but haven't had much luck

I know that in order to highlight cells based on another cell you go something like =$a1="xyz" but in my case I have a lot of cells with long text values so adding one by one will be troublesome.

so I have
-Sheet 1 where I constantly copy,paste and delete job posts with different companies under Col A
-Sheet 2 where I keep adding names of companies under Col A. Currently I have about 20 names here and there will be more.

What I am looking for is whenever I paste data into Sheet 1 I want cells to be highlighted if those companies are found on Sheet 2.

is there an easy way to build this?

Thanks in advance!
J
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
=COUNTIF(Sheet2!$A$1:$A$100,Sheet1!$A1) for an applies to area of A:A I guess?
 
Upvote 0
Solution

Forum statistics

Threads
1,215,073
Messages
6,122,970
Members
449,095
Latest member
Mr Hughes

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