Conditional Formatting/If statement

aicylaaa

New Member
Joined
Mar 21, 2018
Messages
3
Hello everyone,

I'm not sure if this is how I would go about this (using an if statement or what) but I can't figure out a way to make it so a cell will auto-fill with a certain color based on information in a different cell.

I have information in column B - either "New Group" or "Renewal"
I want column F to auto-fill to black if column B is a "Renewal"

I'm new to excel and I've been googling and I can't seem to figure out if this is even possible?

Thanks so much! :)
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Welcome to the Board!

Yes, this is possible, and actually quite easy. Here is how:

1. Select all the cells in column F that you want to apply this to. Let's say it is F2:F100 for this example.
2. Go to Conditional Formatting, and select the Formula option.
3. Enter the formula as it applies to the FIRST cell in the range you selected up in Step 1 (Excel will automatically adjust it for the others).
So that would look something like this:
=$B2="Renewal"
4. Choose your desired formatting option (fill color)
5. Click OK

That is it!
 
Upvote 0
Highlight all of the cells you want to fill with black in column-F, then click on Conditional Formatting (CF) and put this in as a new rule using a formula.

Code:
=b1="Renewal"

Then set your formatting.

B1 assumes the value you want to look at is in B1, update as necessary for your data.
 
Upvote 0
Welcome to the Board!

Yes, this is possible, and actually quite easy. Here is how:

1. Select all the cells in column F that you want to apply this to. Let's say it is F2:F100 for this example.
2. Go to Conditional Formatting, and select the Formula option.
3. Enter the formula as it applies to the FIRST cell in the range you selected up in Step 1 (Excel will automatically adjust it for the others).
So that would look something like this:
=$B2="Renewal"
4. Choose your desired formatting option (fill color)
5. Click OK

That is it!

This worked! Thanks so much!
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,197
Members
453,021
Latest member
pingpong7117

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