Excel Practice Test

โ–ถ

The greater than or equal to operator in Excel is one of those tiny pieces of syntax that quietly powers half of the spreadsheets you have ever opened. You see it inside IF formulas, hiding in conditional formatting rules, sitting underneath dashboards that filter sales targets, exam pass marks, payroll thresholds and inventory triggers. Yet most people learn it by accident, copy a snippet off the internet, and never quite understand why >= behaves differently in a cell formula than it does inside SUMIFS, COUNTIFS or FILTER.

This guide unpacks the operator from the ground up. You will see how Excel evaluates >=, where the quote marks belong, how it interacts with dates and text, and the patterns that fail silently. We will look at the operator inside logical functions, lookup workhorses like XLOOKUP and MATCH, the modern dynamic array crew (FILTER, SORT, BYROW), and Power Query's M language where the same idea is spelled >= but obeys stricter type rules. You will also see the operator inside Data Validation, conditional formatting, and array formulas that compare whole ranges at once.

By the end, the symbol >= should feel less like a glyph and more like a tool you reach for instinctively. Whether you are an analyst building a margin tracker, a teacher grading exam papers, a finance manager flagging overdue invoices or a student preparing for an Excel certification test, the patterns below cover the daily work that real spreadsheets demand.

Greater Than Or Equal To At A Glance

>=
Operator symbol used in formulas โ€” two characters typed with no space
2
Characters in the operator: greater sign followed by equals sign
TRUE/FALSE
Boolean return type from any direct comparison expression
">="
Wrapped in quotes inside SUMIFS, COUNTIFS, AVERAGEIFS and MAXIFS
&
Ampersand joins the operator text to a cell reference threshold
1
XLOOKUP match_mode that returns the next item greater than or equal to the lookup

How Excel Reads The Greater Than Or Equal To Symbol

Type =A1>=10 into any cell and Excel does three things at once. It coerces the contents of A1 into a number (or a date serial, or a text string, depending on what is there), it compares that value against 10, and it returns a Boolean. The Boolean is the small word TRUE or FALSE that you can use directly, multiply by 1 to get a 0/1 switch, or feed into another function.

The two-character operator is read left to right: is the left side greater than, or equal to, the right side? Order matters. =A1>=10 is not the same as =10>=A1. The first asks whether your value reaches the threshold; the second asks whether the threshold still tops your value. Beginners flip these constantly when building tax brackets or grade boundaries, and the formula looks fine until a single edge case breaks the model.

Excel does not need spaces around >=. The symbols must sit together with no gap between the angle bracket and the equals sign. Writing > = with a space throws a #NAME? error or, worse, returns garbage because Excel treats the equals sign as the start of a new sub-expression. Always type the operator as a tight pair.

Quick Mental Model

Think of >= as a one-way gate. Anything at the threshold or above passes through and returns TRUE. Anything below is blocked and returns FALSE. The gate height is the right-hand side of your expression; the items you test are the left-hand side. Get those two sides round the wrong way and the gate opens for the wrong crowd. This single mental picture explains why =A1>=10 and =10>=A1 produce opposite results, why nested IF statements must start with the strictest band, and why SUMIFS criteria need the operator inside quotes โ€” Excel needs to know which side of the gate sits where.

Greater Than Or Equal To Inside The IF Function

The most common home for >= is the IF function. The pattern =IF(score>=60,"Pass","Fail") drives gradebooks all over the world. Anything that meets or beats 60 gets a Pass; anything below gets a Fail. Notice how the operator sits inside the logical test slot, not inside quote marks. Inside IF, you compare values directly, and Excel only needs the literal symbols.

Nest a few IF statements and you can build grade bands. =IF(A1>=90,"A",IF(A1>=80,"B",IF(A1>=70,"C","D"))) rolls down through the thresholds. Each rung checks the highest unfilled band first because IF stops on the first TRUE. Flip the order and every score above 70 lands on C, since the lowest threshold catches everything. The takeaway: when chaining >= tests, always start with the strictest condition.

Modern Excel users prefer IFS for the same job. =IFS(A1>=90,"A",A1>=80,"B",A1>=70,"C",TRUE,"D") reads top to bottom and the final TRUE acts as a catch-all. IFS is cleaner for tax brackets, salary bands, age groups, and any tiered logic where the operator does the heavy lifting.

Combining >= With AND, OR And NOT

Real-world rules rarely stop at a single threshold. You often need a range. Use AND to demand both sides: =IF(AND(A1>=18,A1<=65),"Working age","Out of range"). Use OR when either condition is enough: =IF(OR(rating>=4,sales>=100000),"Bonus","Standard"). The Boolean output of >= plugs straight into the logical helper, and you can stack as many as needed.

Where The Operator Lives In Excel

๐Ÿ”ด Direct Cell Formula

Use >= bare, with no quotes anywhere in the expression. The classic example =A1>=B1 returns TRUE when A1 reaches or beats B1, FALSE otherwise. This is the form you use inside IF, IFS, AND, OR, and any logical test. The two characters sit together with no space.

๐ŸŸ  SUMIFS / COUNTIFS / AVERAGEIFS

Wrap the operator and the value in one pair of quotes because criteria are passed as text. Example: =SUMIFS(C:C,B:B,">=100") sums column C where column B is 100 or more. For a cell-based threshold, concatenate with ampersand: ">="&E1.

๐ŸŸก FILTER (Dynamic Array)

Compare a column to a value with no quotes โ€” the operator produces a Boolean array that FILTER reads as a mask. Example: =FILTER(data,sales>=1000) returns every row where sales reaches 1000. Combine masks with * for AND or + for OR logic.

๐ŸŸข Conditional Formatting Rule

Use the 'Format only cells that contain' option with 'greater than or equal to' in the dropdown. No formula needed for simple thresholds. For more complex rules, switch to 'Use a formula' and write =$B2>=$E$1 with absolute references on the comparison target.

๐Ÿ”ต Data Validation

Select cells, open Data Validation, set Allow to Whole number or Decimal, then choose 'greater than or equal to' and supply the minimum. Excel will refuse any entry below the threshold and show your Error Alert message.

๐ŸŸฃ Power Query (M Language)

Same symbol, stricter typing. Inside Table.SelectRows write each [Sales] >= 1000. Coerce mixed types with Number.From or Value.FromText. Dates use the #date(yyyy,mm,dd) constructor as the right-hand side.

The Quote Mark Rule In SUMIFS And COUNTIFS

This is where most spreadsheets break. Inside SUMIFS, COUNTIFS, AVERAGEIFS, SUMIF and COUNTIF, criteria are passed as text. The operator and the value live together inside a single pair of quotes: =COUNTIF(B:B,">=100"). Drop the quotes and Excel treats >=100 as a malformed argument and throws an error. Put the quotes around just the operator without the value and Excel silently treats the criterion as the literal string ">=", which never matches anything.

When the threshold lives in another cell, you concatenate. =COUNTIF(B:B,">="&E1) joins the operator text with the value from E1. The ampersand glues the pieces. Forget the ampersand and Excel reads ">=E1" as a literal phrase and finds nothing. This pattern repeats across SUMIFS, AVERAGEIFS, MAXIFS and MINIFS, so it is worth typing the formula slowly the first few times.

For date thresholds the same rule applies, only the date must be rendered as a real date value. =COUNTIFS(A:A,">="&DATE(2026,1,1)) counts rows from 1 January 2026 onwards. Wrapping the date in quotes as plain text occasionally works because Excel coerces it, but in international locales the string ordering breaks. Always build the date with DATE or DATEVALUE and concatenate.

Greater Than Or Equal To By Function Family

๐Ÿ“‹ IF & IFS

Operator sits raw inside the logical test with no quotes. The pattern =IF(A1>=50,"Yes","No") is the bread-and-butter use. For tiered bands prefer IFS: =IFS(A1>=90,"A",A1>=80,"B",A1>=70,"C",TRUE,"D") reads top to bottom and the TRUE catch-all handles everything below the lowest band. Order matters โ€” always list strictest threshold first because IF stops at the first TRUE result.

๐Ÿ“‹ SUMIFS / COUNTIFS

Operator and value live inside one pair of quotes because the criterion argument is text. =SUMIFS(C:C,B:B,">=100") sums every C value where the matching B value reaches 100. When the threshold lives in a cell, concatenate with ampersand: =COUNTIF(B:B,">="&E1). Forget the ampersand and Excel treats ">=E1" as a literal phrase, returning zero.

๐Ÿ“‹ FILTER / SORT / UNIQUE

Dynamic array functions accept Boolean arrays directly. =FILTER(table,table[Sales]>=1000) needs no quotes. The comparison produces a column of TRUE/FALSE that FILTER reads as a mask. Combine masks: (range>=1000)*(region="East") for AND, (range>=1000)+(rating>=4) for OR. SORT and SORTBY use >= implicitly when sorting descending.

๐Ÿ“‹ XLOOKUP & MATCH

Both support approximate match modes that rely on >=. XLOOKUP with match_mode set to 1 returns the next item greater than or equal to your lookup. MATCH(lookup,range,1) needs an ascending range and returns the position of the largest value less than or equal to your input. Flip to MATCH(lookup,range,-1) on a descending range for the >= equivalent. Use these for tax tables, postage bands and discount tiers.

๐Ÿ“‹ Power Query (M)

Same operator, stricter typing. Write each [Sales] >= 1000 inside Table.SelectRows. Mixing number and text throws a 'cannot compare values of different types' error โ€” coerce first with Number.From, Value.FromText, or Date.From. Dates use the #date(yyyy,mm,dd) constructor: each [Date] >= #date(2026,1,1). Null values compare to null, not FALSE โ€” filter out nulls before the threshold.

๐Ÿ“‹ VBA & Office Scripts

In VBA: If Range("A1").Value >= 10 Then ... branches the macro. Works on numbers, dates and strings with appropriate per-type semantics. Empty cells coerce to zero, so check with IsEmpty if blanks matter. In Office Scripts (TypeScript), use const v = range.getValue() as number; if (v >= 10) { ... } โ€” cast because getValue() returns a union type.

Greater Than Or Equal To With Dates And Times

Excel stores dates as serial numbers, where 1 January 1900 is 1 and every day after counts up by one. That means >= works on dates exactly as it works on numbers, but only when the cell really contains a date and not text that looks like one. Use ISNUMBER on a date cell. If it returns TRUE, your >= comparisons will behave. If it returns FALSE, the cell holds text and the comparison may sort alphabetically: "02/01/2026" comes before "10/05/2025" as text even though the second date is earlier in real life.

Times follow the same logic but live in the decimal part of the serial number. =A1>=TIME(9,0,0) returns TRUE when the time in A1 is 9:00 AM or later, regardless of the date attached. For mixed date-and-time cells, you can use =A1>=NOW() to flag future events. Be careful with NOW: it is volatile and recalculates whenever any cell changes. For a fixed snapshot, paste a date with Ctrl+; and use that anchor cell.

Comparing Text With >=

You can apply >= to text. Excel compares character by character using the locale's sort order, so ="Banana">="Apple" returns TRUE. Uppercase and lowercase rank by their Unicode code points, with uppercase usually winning in standard collation. This means ="banana">="BANANA" can return FALSE on some systems, which surprises people. If case should not matter, normalise with UPPER or LOWER before comparing.

Conditional Formatting With Greater Than Or Equal To

Highlighting cells that pass a threshold is one of the cleanest uses of the operator. Select your range, open Conditional Formatting, choose New Rule, pick Format only cells that contain, set the dropdown to greater than or equal to, and type the value. No formula required. Excel applies your chosen fill, font or border to every cell meeting the threshold.

For more complex rules use the Use a formula option. =$B2>=$E$1 applied to a whole row highlights the row when column B reaches the value in E1. The dollar signs anchor the comparison correctly across rows. This pattern drives KPI dashboards, exam result trackers, sales target boards and stock-level alerts.

Data bars and colour scales also respect >= internally even though you never see the operator. Set a 3-colour scale and the midpoint can be a percentile, a percent, or a number; everything at or above that number takes the upper colour. Behind the scenes, Excel runs a >= evaluation per cell.

Data Validation Built On >=

You can stop users entering numbers below a threshold with Data Validation. Select the cells, open Data Validation, set Allow to Whole number or Decimal, then choose greater than or equal to and supply the minimum. Combine with an Input Message and an Error Alert and you have a guarded input field that refuses small or negative entries. Pair it with a formula-based rule like =A1>=TODAY() to block past dates in a booking sheet.

Greater Than Or Equal To Checklist

Always type >= with no space between the greater-than sign and the equals sign โ€” a space breaks the operator.
In SUMIFS, COUNTIFS, AVERAGEIFS, MAXIFS and MINIFS, wrap operator and value in one pair of quotes: ">=100".
When the threshold lives in a cell, concatenate with ampersand: ">="&E1 โ€” forget the ampersand and Excel reads the criterion as a literal phrase.
Verify your numbers are real numbers (ISNUMBER returns TRUE), not text imported from a CSV or website paste.
For dates, build the threshold with DATE(yyyy,mm,dd) so locale-specific formats never break the comparison.
Chain thresholds from strictest to loosest in nested IFs, or switch to IFS for cleaner top-to-bottom band logic.
Use AND or OR around multiple >= tests for range-based logic โ€” AND for both, OR for either.
In FILTER and dynamic arrays, leave off the quotes entirely โ€” pass the operator raw and the Boolean array does the work.
Inside Power Query M, coerce types first with Number.From or Value.FromText to avoid comparison errors.
Test text comparisons after normalising case with UPPER or LOWER โ€” locale sort order treats case strictly.
Confirm your conditional formatting rule reference is anchored with the correct dollar signs ($B2 not B2).
Always reach for >= rather than > when the boundary value should itself pass the test (pass marks, age limits).
Try a Practice Test

Greater Than Or Equal To In Dynamic Arrays

Modern Excel handles entire columns at once. =FILTER(table,table[Sales]>=1000) spills every row where sales reaches the threshold. The comparison produces a vertical Boolean array โ€” one TRUE or FALSE per row โ€” and FILTER reads that array as a mask. You can layer comparisons: =FILTER(table,(table[Sales]>=1000)*(table[Region]="East")) uses multiplication as a Boolean AND. Each >= produces its own mask and the masks combine.

Use + instead of * to combine masks with OR logic: =FILTER(table,(table[Sales]>=1000)+(table[Rating]>=4)) returns rows that hit either threshold. Multiplication keeps both, addition keeps either. The pattern unlocks complex segmentation without nesting formulas.

SORTBY uses >= implicitly when you supply a numeric sort key โ€” sorting descending puts the largest values, those that are >= their peers, at the top. BYROW and MAP in newer builds let you apply a custom lambda to each row, so you can write =BYROW(table,LAMBDA(r,SUM(r)>=1000)) to test row totals.

Approximate Matches In Lookups

Lookup functions use >= behind the scenes for approximate-match behaviour. VLOOKUP with the final argument set to TRUE walks down a sorted column and returns the row immediately at or before your lookup value โ€” effectively, the largest value that is <= the lookup. To go the other way, use XLOOKUP with match_mode set to 1; it returns the next item that is >= your lookup. This is invaluable for tax tables, postage bands and discount tiers where you need the floor or ceiling.

MATCH follows the same logic. =MATCH(value,range,1) needs the range sorted ascending and returns the position of the largest value that is <= your input. Flip the sort and use =MATCH(value,range,-1) for the >= equivalent on a descending range. Pair with INDEX to pull the matching record.

Operator vs Function-Based Comparison

Pros

  • The >= operator is fast, native and works in every Excel version.
  • It plugs straight into IF, AND, OR and dynamic arrays with no extra syntax.
  • Boolean output multiplies cleanly (TRUE*1 = 1) for counting and masking.
  • Same symbol works in Power Query M, VBA, and most other Microsoft tools.

Cons

  • Quote-mark rule in SUMIFS family confuses beginners.
  • Comparing text uses locale sort order โ€” case and accents can surprise you.
  • Text-formatted numbers silently return FALSE; the formula does not warn you.
  • Date comparisons fail if the cell holds a string that only looks like a date.

Power Query Translation

Power Query uses the same >= symbol but enforces stricter types. Inside Table.SelectRows you write each [Sales] >= 1000. The query engine refuses to compare a number column to a text value, so you may see errors like cannot compare values of different types. The fix is to coerce: each Number.From([Sales]) >= 1000 if the column might hold text.

Dates in Power Query use the #date(yyyy,mm,dd) constructor: each [Date] >= #date(2026,1,1). Times use #time. The M language is unforgiving about null values โ€” a null compared with >= returns null, which downstream steps may treat as false or as a hard error depending on context. Filter out nulls first with Table.SelectRows(source, each [Sales] <> null) before applying the threshold.

VBA And Office Scripts

In VBA, >= behaves the same way: If Range("A1").Value >= 10 Then branches the macro. The operator works on Variant, Long, Double, Date and String types, applying the appropriate comparison for each. Beware comparing an empty cell โ€” Empty coerces to 0, so Range("A1").Value >= 0 returns TRUE even when the cell is blank. Test with IsEmpty first if blanks matter.

Office Scripts (TypeScript) use the standard JavaScript operator >=. Inside an Office Script, const v = range.getValue() as number; if (v >= 10) { ... } works as expected, but Excel returns values typed as string | number | boolean so you must cast or check the type. The strict === comparison from JavaScript does not apply to >=; ordering operators do not have a strict version.

Excel Questions and Answers

How do I type greater than or equal to in Excel?

Type the greater-than symbol immediately followed by an equals sign: >=. No space between them. The symbol works inside any formula, conditional formatting rule, or data validation criterion.

Why does my SUMIFS with >= return zero?

Most likely you forgot the quote marks. Inside SUMIFS, the operator must sit inside quotes with the value: ">=100". If the threshold lives in a cell, concatenate: ">="&E1. Without quotes Excel treats the criterion as a formula fragment and the count comes back as zero.

Does greater than or equal to work with text?

Yes. Excel compares text alphabetically using the locale's sort order. "Banana">="Apple" returns TRUE. Case matters in standard collation โ€” uppercase usually ranks above lowercase. Normalise with UPPER or LOWER first if case should be ignored.

How do I use >= with dates?

Make sure the cell really contains a date (ISNUMBER returns TRUE). Then =A1>=DATE(2026,1,1) works directly in a formula. Inside SUMIFS or COUNTIFS, concatenate: ">="&DATE(2026,1,1). Avoid passing dates as raw text strings โ€” locale formatting breaks the comparison.

What is the difference between > and >= in Excel?

The > operator excludes the threshold itself; >= includes it. =A1>=10 returns TRUE when A1 is exactly 10 or higher. =A1>10 returns FALSE for 10 and TRUE only for 11 and above. Choose the one that matches your rule โ€” pass marks are typically >= because the boundary score is allowed.

Can I use >= inside FILTER?

Yes, and you do not need quotes. =FILTER(table,table[Sales]>=1000) returns every row where Sales reaches the threshold. Combine multiple conditions by multiplying Boolean arrays for AND or adding them for OR. Dynamic arrays make this far cleaner than nested IF logic.

Why does >= return FALSE on numbers that look correct?

The cell probably holds text that looks like a number. CSV imports and web pastes are the usual culprits. Test with ISNUMBER; if it returns FALSE, convert using VALUE(), multiply the column by 1, or run Text to Columns set to General. After conversion the >= comparison behaves.

Does >= work in Power Query?

Yes. Inside Table.SelectRows you write each [Column] >= value. Power Query is stricter about types โ€” comparing number to text throws an error. Coerce with Number.From or Value.FromText first. For dates, use #date(yyyy,mm,dd) as the threshold.
Take the Excel Quiz

Putting It All Together

The greater than or equal to operator is unglamorous but everywhere. Once you internalise the quote-mark rule for SUMIFS, the date-serial rule for time-based comparisons, and the Boolean-array rule for dynamic arrays, you stop thinking about the symbol at all. It becomes muscle memory. You write =IF(score>=passmark,"Pass","Fail") as fast as you can type, and you stop second-guessing the syntax inside COUNTIFS and FILTER.

The next step is practice on real worksheets. Build a small budget tracker where rows highlight when actuals reach a quarter of the annual target. Create a grade book that bands scores with IFS. Try a sales dashboard that uses FILTER with two >= conditions to surface high-value customers. Each of those projects forces you to confront a quirk โ€” text numbers, locale dates, mixed-type columns โ€” and you come away with the habit of validating your inputs before trusting your comparisons.

If you are preparing for an Excel certification or a job-screening test, expect at least one question on operators, often hidden inside a COUNTIFS scenario. Knowing that the criterion is text and needs ampersand concatenation will save you marks. Knowing that XLOOKUP with match_mode 1 finds the next item >= your lookup will save you more. And knowing how to combine >= with AND, OR, and FILTER covers most realistic data-analysis tasks in interviews and on the job.

Bookmark this page, work through the patterns one at a time, and treat the operator as a friend rather than an obstacle. Two characters, infinite uses.

โ–ถ Start Quiz