Conditional formatting

Get_Involved

Active Member
Joined
Jan 26, 2007
Messages
383
I am trying to conditional format a row to accomplish this.

I need cell A1 when it contains the text “Sell” to fill color, Cells (A6:A10) to turn lets say Green.

Every thing I have tried so far has failed, this is just one of several formulas I have used

Code:
IF(C6="Sell",IF(B6:B10))

Thanks in Advance
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Select A6:A10 & use this formula
=$A$1="Sell"
 
Upvote 0
Thanks Fluff
That works fine I have changed the formula to fit my actual cells.
Code:
 =$C$6="Sell"
Ok now here is my question, can we make the formula to take care of any of the rows to include down to roe $C$35?
 
Upvote 0
I have 35 rows not all will have the text “Sell” in them, some will have the text “buy” in them I am not worried the “Buy.
I thought the formula could work all rows. Sorry
 
Upvote 0
So you want to highlight any cell that has Sell?
Is that right?
 
Upvote 0
No
In column C will have the text “Sell”, Columns (D:P) will have numbers in them, I just want to highlight those column rows only
 
Upvote 0
In that case select the cells in range D6:P last row that you want to highlight & use this formula
=$C6="Sell"
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,252
Members
452,623
Latest member
Techenthusiast

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