Greater than or equal to in Excel formulas
Excel’s comparison operators are typed with ordinary keys: >, <, >=, <=, = and <> (not equal). The single characters ≥ and ≤ are not accepted as operators.
| Goal | Formula |
|---|---|
| Pass if 50 or more | =IF(A2>=50,"Pass","Fail") |
| Count values ≥ 100 | =COUNTIF(B2:B500,">=100") |
| Count with a cell as limit | =COUNTIF(B:B,">="&E1) |
| Between 10 and 20 (inclusive) | =COUNTIFS(B:B,">=10",B:B,"<=20") |
| Sum sales ≥ 1,000 | =SUMIF(C:C,">=1000") |
| Sum by date (on or after 1 Jan 2026) | =SUMIFS(C:C,A:A,">="&DATE(2026,1,1)) |
| Greater than X and less than Y | =IF(AND(A2>X,A2<Y),"In range","Out") |
| Average of values ≥ 0 | =AVERAGEIF(B:B,">=0") |
| Not equal to blank | =COUNTIF(A:A,"<>") |
| Filter rows ≥ target (Excel 365) | =FILTER(A2:C100,C2:C100>=F1) |
">=100"). To compare with a cell, join it with &: ">="&E1. In IF, AND and FILTER the operator is written without quotes.Conditional formatting: highlight values ≥ a number
- Select the range.
- Home → Conditional Formatting → New Rule.
- Choose “Format only cells that contain”.
- Set Cell Value → greater than or equal to → enter the number or a cell like
=$F$1. - Pick a fill colour and click OK.
The quick “Highlight Cells Rules → Greater Than” option is strictly greater (>), so use New Rule when the limit itself should be highlighted.
Showing the ≥ character in a cell
- Formula:
=UNICHAR(8805)→ ≥,=UNICHAR(8804)→ ≤,=UNICHAR(8800)→ ≠ - Label:
="Score "&UNICHAR(8805)&" 50"→ Score ≥ 50 - Insert → Symbol → Subset “Mathematical Operators”
- Windows: Alt+242 while editing a cell
- Mac: Option+.
Google Sheets
Sheets uses the same operators and functions: =IF(A2>=50,"Pass","Fail"), =COUNTIF(B:B,">="&E1), =FILTER(A2:C,C2:C>=F1). In QUERY write =QUERY(A:C,"select A, C where C >= 100"). To display the symbol use =CHAR(8805) or =UNICHAR(8805). Conditional formatting: Format → Conditional formatting → “Greater than or equal to”.
Frequently asked questions
How do you write greater than or equal to in Excel?
Type >= with two keys, e.g. =IF(A1>=10,"Yes","No"). Inside COUNTIF or SUMIF put it in quotes: =COUNTIF(A:A,">=10").
How do I use greater than or equal to a cell in COUNTIF?
Join the operator and the cell with &: =COUNTIF(B:B,">="&E1).
How do I count values greater than X and less than Y?
Use COUNTIFS with two conditions: =COUNTIFS(A:A,">"&X,A:A,"<"&Y). Use >= and <= if the limits should be included.
What is not equal to in Excel?
<>, for example =IF(A2<>"",A2*2,"").
How do I type the ≥ symbol in an Excel cell?
Use =UNICHAR(8805), Insert → Symbol, Alt+242 on Windows or Option+period on Mac.