Conditional formatting help

jonandabby

New Member
Joined
Jan 8, 2010
Messages
11
I've got two lists of file numbers - one short one (109) in column B of a spreadsheet, and a VERY long one (60,000 long) in column B. What I'd like to do is highlight the value in column B every time any element in column A shows up. I've been trying =countif($a:$a,b2), but the results are off a bit (if I sort the file numbers and e.g. there are three that match, the function is highlighting the one RIGHT BEFORE the list starts, and skipping the last one.)

Any suggestions????

An example

Column A Column B
AS418 AS417
AS418
AS418
AS418
 
Last edited:

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
Let's really challenge folks. The reason for the conditional formatting is that I wanted to be able to change the value in column c right next to the column B entry to a particular text value ("Open") where it now is "Closed"). Is there a way to do that? Maybe using an if then statement?

The summary of the rule I'm trying to use would be is "if the value of anything in B### = the value of ANYTHING In column A, then if the value in C### = "Closed" change the value in C### to "Open").
 
Upvote 0
That would create a circular reference. Why not just

=IF(ISNUMBER(MATCH(B1,A:A,0)),"Open","Closed")
 
Upvote 0
The words open and closed appear in other columns - the spreadsheet is bigger than those three columns (30 columns or so), and the names of the files can contain the word too. I just need to change the value right next to the individual file references in column B.
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,740
Members
452,940
Latest member
Lawrenceiow

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