Conditional Formatting

leebauman

Board Regular
Joined
Jul 1, 2004
Messages
194
Office Version
  1. 365
Platform
  1. Windows
I have an daily inventory record which shows daily sales quantities and inventory replenishments.

When daily inventory reduces to less than or equal to (8), replenishment occurs adding (8) more to inventory.

The replenishment process takes (14) days though, and I want to indicate the day replenishment starts by yellow highlighting the cell.

I've tried conditional formatting but having trouble. Appreciate any help. Thanks.

Cell Formulas
RangeFormula
C7C7=B4-B7
D7:I39D7=IF(C7<=$B$3,C7+$B$3,"")
C8C8=IF(C7-B8>B3,C7-B8,"")
C9:C39C9=C8-B9
A9:A39A9=A8+1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E7:L453Cell Value<$B$3textNO
E7:L453Cell Value<8textNO
C7:D1048576Cell Value<$B$3textNO
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
It seems you have data above Row 6 that is needed in for the calculations. Please repost the xl2bb mini sheet.
Additionally, it seems that some of the formulas are inconsistent (different beginning C6 to I39).
 
Upvote 0
Apologies. Here is the full table

Cell Formulas
RangeFormula
B2B2=SUM(B7:B20)
C7C7=B4-B7
D7:I39D7=IF(C7<=$B$3,C7+$B$3,"")
C8C8=IF(C7-B8>B3,C7-B8,"")
C9:C39C9=C8-B9
A9:A39A9=A8+1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E7:L453Cell Value<$B$3textNO
E7:L453Cell Value<8textNO
C7:D1048576Cell Value<$B$3textNO
 
Upvote 0

Forum statistics

Threads
1,224,817
Messages
6,181,147
Members
453,021
Latest member
Justyna P

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