Conditional Formating Help

JFOXYGOLD

New Member
Joined
Nov 10, 2015
Messages
4
So im making an inventory sheet and i would like for a cell (the whole row would be great) to highlight a color

so im having trouble writing the formula

im trying to make it so if the number in cell "B" is lower than "C" and "I" = Yes it highlight the cell(or row if possible)




[TABLE="width: 500"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]Product[/TD]
[TD]inStock[/TD]
[TD]Reorder Lvl[/TD]
[TD]Sold[/TD]
[TD]Sold For[/TD]
[TD]Cost[/TD]
[TD]Profit[/TD]
[TD]Cat.[/TD]
[TD]Reorder[/TD]
[/TR]
[TR]
[TD]Hand Warmers[/TD]
[TD]8[/TD]
[TD]10[/TD]
[TD]15[/TD]
[TD]$3.00[/TD]
[TD]$1.50[/TD]
[TD][/TD]
[TD]Winter[/TD]
[TD]Yes[/TD]
[/TR]
[TR]
[TD]Foot Warmers
[/TD]
[TD]11[/TD]
[TD]10[/TD]
[TD]12[/TD]
[TD]$3.00[/TD]
[TD]$1.60[/TD]
[TD][/TD]
[TD]Winter[/TD]
[TD]Yes[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Try

Conditional Formatting
  • Highlight applicable range >> $A$2:$I$3
  • Home Tab >> Styles >> Conditional Formatting
  • New Rule >> Use a formula to determine which cells to format
  • Edit the Rule Description: Format values where this formula is true: =AND($B2<$C2,$I2="Yes")
  • Format… [Number, Font, Border, Fill]
  • OK >> OK
 
Upvote 0
This worked for me. Assumption is that "Product" is in cell A1.

Highlight the range A2:I3. In the conditional formatting dialog box, select Use a formula to determine..., and the formula is =AND($B2<$C2,$I2="Yes")=TRUE


Tim
 
Upvote 0

Forum statistics

Threads
1,226,735
Messages
6,192,733
Members
453,752
Latest member
Austin2222

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