Conditionally format column based on 2 other columns

honkin

Active Member
Joined
Mar 20, 2012
Messages
385
Office Version
  1. 2016
Platform
  1. MacOS
I need to conditionally format a column based on the text in 2 other columns and am just wondering what the best way to reference the entire columns in my formula would be

Here is the code as it stands

=AND(A1="MARIA1",C1="PORTUGAL: Segunda Liga")

So if I wanted it to apply to all of A and all of C, would I just change it to be A:A and C:C? I didn't want to use C2:C1048576 if possible. The CF will then highlight entries in E, so I assume I would have the range as E:E

And I guess if I want those same columns to look for different text, I would need a different rule for each condition yeah? As an example, a cell in A might have MARIA10 and a cell in C might have Italy: Serie A and so on

cheers
 
cheers Fluff. Happy to do that, but it is exactly what the original post was about; conditionally formatting one cell (E) based on the contents of others (A & C).

Will repost now.
 
Upvote 0

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,223,948
Messages
6,175,575
Members
452,652
Latest member
eduedu

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