Conditional Format One Cell Based on Another Cell

MikeDBMan

Well-known Member
Joined
Nov 10, 2010
Messages
608
How do I do conditional formatting for one cell based on data in another cell. For example if the cell in the "Type" column says "Intercompany" I wish the Project Number to be a certain prominent color. Thanks.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
I am using Excel 2010 and I could not figure out how to make the examples in that link work with my version of Excel. Any other ideas?
 
Upvote 0
So if I wish Column A's Data to appear with Red background if Column AL's contents for that row is "Intercompany", what would the formula be? I cannot figure that part out. Thanks.
 
Upvote 0
Select Column A

Home Tab > Conditional Formatting > Use a formula > New Formula

=AL1="Intercompany"

Choose your formatting. Should work.
 
Upvote 0
Select A1 as far down as you need then apply the CF formula

=AL1="Intercompany"
 
Upvote 0
That solved the problem! Just an FYI for others who may read this. My data was in a table. So instead of referring to $AL1, I had to refer to $AL2 or the formatting was off one row. Anyway, thanks a lot for the help!
 
Upvote 0

Forum statistics

Threads
1,214,905
Messages
6,122,175
Members
449,071
Latest member
cdnMech

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