FormulaCraft

How to flag values over a threshold in Excel and Google Sheets

Topic:IF, IFS & nested conditions
Excel & Google Sheets
=IF(B2>100,"Above","Below")

Verified example

Computed by a real spreadsheet engine on the sample data below.

ProductSalesFlag
Alpha80
Beta150
Gamma100
Delta210
Epsilon55

=IF(B2>100,"Above","Below")Below

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1In a helper column (e.g., C2) type =IF(B2>100,"Above","Below"), replacing 100 with your actual threshold.
  2. 2Copy the formula down all data rows so every value gets a label.
  3. 3Optionally replace the hardcoded threshold with a cell reference like $E$1 so you can change the cutoff in one place.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

How do I flag values at or above the threshold (inclusive)?

Use >= instead of >: =IF(B2>=100,"At or Above","Below").

Can I use three labels like High, Medium, Low?

Nest IFs: =IF(B2>200,"High",IF(B2>100,"Medium","Low")).

More on IF, IFS & nested conditions

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: