Skip to main content
Login/Register
VIP

How to Highlight Low Stock in Excel with Conditional Formatting

2026-11-24
views6
like0
Steps

Excel conditional formatting highlights inventory quantities when they meet a rule, such as falling below a reorder level. You can use one threshold for every product or compare each item against its own minimum. This  walks through both approaches, including whole-row alerts and checks for missing data. (support.microsoft.com)

How do you highlight low stock in Excel with conditional formatting?

Select your stock quantity cells, choose Home > Conditional Formatting > Highlight Cells Rules > Less Than, enter your minimum quantity, and select a highlight style. Excel applies that style to quantities below your cutoff. For product-specific reorder levels, use a formula-based rule instead of entering one fixed number. (support.microsoft.com)

Before creating the rule, decide what “low stock” means for your worksheet. Does an item need attention when its quantity falls below the minimum, or as soon as it reaches that minimum? That choice determines whether your rule should use < or <=; these examples show both approaches. (support.microsoft.com)

Set up a clear inventory worksheet

For this example, use one row per product and put your headers in row 1. Keep current quantities and reorder levels in separate columns so you can inspect both values before acting on an alert. Start with this sample layout:

A: SKUB: ProductC: Stock on HandD: Reorder Level
PEN-01Blue pens810
PAD-02Notepads2515
TAPE-03Packing tape55
BOX-04Shipping boxes020

These are illustrative values, not recommended inventory targets. Choose your own reorder levels based on how your business reviews and replenishes each item. Also define the unit: a quantity of 8 should clearly mean eight individual items, packs, or cases—not an unspecified mixture.

For reliable , consider keeping a short note beside the worksheet explaining who updates quantities and when. A clear update routine gives the person reviewing a highlighted row context before they place an order.

Inventory worksheet showing stock quantities beside individual reorder levels

Apply a simple fixed-threshold alert

Use a fixed threshold when every product in the selected range should trigger the same warning. In this example, suppose you want to highlight quantities below 10. Leave the header out of your selection. (support.microsoft.com)

  1. Select C2:C100, or the quantity range in your worksheet.
  2. Open Home > Conditional Formatting.
  3. Choose Highlight Cells Rules > Less Than.
  4. Enter 10.
  5. Choose a readable format, such as a light red fill with dark text.
  6. Confirm the rule. (support.microsoft.com)

With these sample values, blue pens, packing tape, and shipping boxes meet the below-10 condition. Notepads do not. A quantity of exactly 10 would not qualify because this rule tests “less than,” not “less than or equal to.” (support.microsoft.com)

Treat this as the quick option, not necessarily the best permanent setup. If each product needs a different minimum, use the next method instead of creating a separate fixed-number rule for every item.

Compare each product with its own reorder level

A product-specific rule compares the stock quantity in column C with the reorder level in column D on the same row. It lets you change an item's threshold in the worksheet rather than editing its formatting rule. For this layout, the basic comparison is =$C2<=$D2. (support.microsoft.com)

Create the formula-based rule

Select C2:C100, with C2 as the active starting cell. Open Home > Conditional Formatting > New Rule and choose Use a formula to determine which cells to format. Enter =$C2<=$D2, choose your fill and font colors, then confirm the rule. Some Excel interfaces present the formula option differently; on Mac, you may need to choose the Classic rule style first. (support.microsoft.com)

The comparison means “highlight this quantity when it is at or below this product's reorder level.” In the sample worksheet, blue pens, packing tape, and shipping boxes qualify. Change <= to < if reaching the reorder level should not trigger an alert yet. (support.microsoft.com)

Keep columns fixed and rows flexible

The dollar signs in $C2 and $D2 lock the column references, while the row number remains relative. This lets the comparison move down through the products without switching to other columns. By contrast, $C$2 fixes both the column and row, so it would keep checking the same quantity cell. (support.microsoft.com)

Use a formula written for the first row of your selected range. If your inventory begins on row 5, select the range beginning there and use =$C5<=$D5. Keeping the starting row aligned makes the rule easier to inspect later. (support.microsoft.com)

Exclude blanks and nonnumeric entries

For an inventory sheet with unused rows, use a guarded version: =AND(ISNUMBER($C2),ISNUMBER($D2),$C2<=$D2). Here, ISNUMBER checks that both inputs are numbers, and AND requires all three tests to pass. Empty cells and text entries therefore do not qualify for this alert. (support.microsoft.com)

A zero quantity still counts as numeric, so it can trigger the warning. However, a number stored as text fails the ISNUMBER check. Treat excluded entries as data to review, not evidence that stock is healthy. (support.microsoft.com)

How can you highlight the entire low-stock row?

To highlight the whole product row, apply the formula rule to A2:D100 instead of only C2:C100. Use =AND(ISNUMBER($C2),ISNUMBER($D2),$C2<=$D2) so every formatted cell in a row depends on that row's stock and reorder values. The locked columns keep the test anchored to C and D. (support.microsoft.com)

Choose either quantity-only highlighting or whole-row highlighting according to how you review the list. A colored quantity keeps the worksheet quieter; a colored row makes it easier to follow an alert across to the SKU and product name. Avoid applying both with competing styles.

For shared stock tracking in Excel, consider adding a written status column as well. Labels such as “Reorder” and “Review count” can explain the intended next step without asking colleagues to interpret a color alone.

Separate out-of-stock items from reorder warnings

If you want distinct alerts, define nonoverlapping conditions. For this example, use red for quantities at or below zero and amber for positive quantities at or below the reorder level. Create these as separate formula rules on your chosen range. (support.microsoft.com)

Suggested alertFormula
Red: zero or negative stock=AND(ISNUMBER($C2),$C2<=0)
Amber: positive stock needing reorder=AND(ISNUMBER($C2),ISNUMBER($D2),$C2>0,$C2<=$D2)

These example formulas use AND to combine numeric checks with quantity comparisons. Because the amber rule requires a positive quantity, the two conditions cannot both be true for the same row. (support.microsoft.com)

For your workflow, give the alerts different actions, too. An amber row might prompt a replenishment review, while a negative quantity might prompt a count or transaction check before ordering. The purpose is to make the next decision clearer, not simply add more colors.

Test the rules before relying on them

A short test is worth doing before you share the workbook. Use temporary sample values, compare the outcome with your chosen policy, and restore the real quantities afterward. For the at-or-below setup, check these cases:

  1. Above the minimum: quantity 12, reorder level 10; no warning.
  2. Exactly at the minimum: quantity 10, reorder level 10; warning.
  3. Below the minimum: quantity 8, reorder level 10; warning.
  4. Zero quantity: warning, or the separate red alert.
  5. Missing quantity or threshold: excluded by the guarded reorder rule.

These expected results follow the example comparisons and numeric checks. Also test a newly added product row rather than assuming it falls within your existing formatting range. (support.microsoft.com)

If something looks wrong, open Conditional Formatting > Manage Rules and inspect the formula and its applied range. Check for overlapping rules or an incorrect starting row. If imported quantities are stored as text, use Excel's Convert to Number option where available before testing again. (support.microsoft.com)

Make the alerts part of your inventory routine

The most useful  are practical: document the cutoff policy, keep thresholds visible, test boundary values, and review alerts after updating quantities. Start with one clear rule before adding extra warning levels. A low-stock Excel conditional formatting setup should make your next inventory review easier—not make the worksheet harder to understand.


Article source: Content Toolkit.