Coding

Tennisguuy

Well-known Member
Joined
Oct 17, 2007
Messages
564
Office Version
  1. 2016
Platform
  1. Windows
I have a worksheet that I would like to have excel highlight a row if a cell in that row is equal to a certain value. For example, if cell J23 is equal to Declined By-Field or Declined By-Und I want it to fill this row with the color Red. If J23 is equal to Quoted I want it to fill this row with the color Yellow and if J23 is equal to Sold I was it to color is Blue.
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Hi there,

Highlight the row and click on Format -> Conditional Formatting -> Formula Is:

=OR($J23="Declined By-Field",$J23="Declined By-Und") for Red
=$J23="Sold" for blue
=$J23="Quoted" for Yellow
 
Upvote 0
On the Home tab, Conditional Formatting, New Rule, select Use a formula...
 
Upvote 0
This is what I did and it's not working so I am not sure what I am doing incorrectly.

I highlighted cells A3:K500
I clicked on Conditional Formatting
I selected New Rule
I selected Use a formula to determine which sells to format
In the "Edit the Rule Description: I enter this formula =$J$3:$J$500="Declined-Field"
I clicked on the format button and selected my color then I click OK

However, nothing happened. The first time around I just used this formual =$J$3=Declined-Field" because this is the filed that the rule should be based on. However I have 500 rows in the workbook that I was this rule to work so I went back to change is to the above.
 
Upvote 0
Highlight the cells, proceed as before but use the formula

=$J3="Declined-Field"
 
Upvote 0

Forum statistics

Threads
1,224,551
Messages
6,179,473
Members
452,915
Latest member
hannnahheileen

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