Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Larger Than: How to Use the Greater Than Symbol

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To perform a "larger than" operation in Excel, use the greater than symbol (>). This operator allows you to compare two values, returning TRUE if the first value is larger than the second, or FALSE if it is not. It is most commonly used within the IF function to trigger specific actions, in Conditional Formatting to highlight high values, or in COUNTIF/SUMIF functions to aggregate data based on a minimum threshold.

What You'll Need

  • A computer with Microsoft Excel installed (any version from 2010 to the current Microsoft 365 version).
  • A dataset containing numerical values, dates, or times that you wish to compare.
  • Basic knowledge of how to click into a cell and enter a formula.

Step-by-Step

Method 1: Basic Logical Comparison

The simplest way to use the larger than operator is as a standalone logical test. This is useful for quickly checking if a specific cell meets a requirement.

  1. Click on the empty cell where you want the result (TRUE or FALSE) to appear.
  2. Type the equals sign (=) to start the formula.
  3. Click on the cell containing the value you want to test (e.g., cell A2).
  4. Type the greater than symbol (>).
  5. Type the number or click the cell you are comparing it against (e.g., 100 or cell B2).
  6. Press Enter. If the value in A2 is larger than 100, the cell will display TRUE.

Method 2: Using Larger Than in an IF Statement

Most users want a custom result (like "Over Budget" or "Pass") rather than just TRUE or FALSE. The IF function allows you to define these outcomes.

  1. Select the cell where you want the custom label to appear.
  2. Type =IF( to begin the function.
  3. Enter the logical test. For example, A2>50. This tells Excel to check if the value in A2 is larger than 50.
  4. Type a comma (,) to move to the "value if true" argument.
  5. Enter the text you want to see if the condition is met, enclosed in double quotes. For example, "High".
  6. Type another comma (,) to move to the "value if false" argument.
  7. Enter the text for when the condition is not met, such as "Low".
  8. Close the parenthesis ) and press Enter. The final formula looks like: =IF(A2>50, "High", "Low").

Method 3: Highlighting Cells with Conditional Formatting

If you want to visually identify all cells that are larger than a certain value without adding a new column of data, use Conditional Formatting.

  1. Highlight the range of cells you want to analyze.
  2. Go to the Home tab on the top ribbon.
  3. Click on Conditional Formatting in the Styles group.
  4. Hover over Highlight Cells Rules and select Greater Than... from the side menu.
  5. In the dialog box that appears, type the threshold value in the left-hand box (e.g., 1000).
  6. In the right-hand dropdown menu, select the formatting style you prefer, such as "Light Red Fill with Dark Red Text".
  7. Click OK. All cells in your selection larger than 1000 will now be automatically highlighted.

Method 4: Summing or Counting Based on "Larger Than"

To calculate totals or counts for only the items that exceed a specific number, use SUMIF or COUNTIF.

  1. To count items, type =COUNTIF(.
  2. Select the range of cells you are checking (e.g., A2:A20).
  3. Type a comma (,) then the criteria in double quotes. For example, ">100".
  4. Close the parenthesis and press Enter. The formula =COUNTIF(A2:A20, ">100") counts how many cells are larger than 100.
  5. To sum items, use =SUMIF(range, ">value", sum_range). For example, =SUMIF(A2:A20, ">100", B2:B20) will add up the values in column B only if the corresponding value in column A is larger than 100.

Common Mistakes

One of the most frequent errors is forgetting the double quotes when using the greater than symbol inside functions like COUNTIF or SUMIF. In a standard IF statement, you do not need quotes for the logic (e.g., A2>10), but in COUNTIF, the criteria must be a string (e.g., ">10"). If you omit the quotes, Excel will return a formula error.

Another common mistake is confusing "Greater Than" (>) with "Greater Than or Equal To" (>=). If your threshold is 100 and you use >, a value of exactly 100 will be treated as FALSE. If you want 100 to be included in your "larger than" group, you must use the >= operator.

Users also often try to use the greater than symbol with text. While Excel can compare text alphabetically (where "B" is "larger than" "A"), this is rarely the intended use and often leads to confusing results. Ensure your columns are formatted as Numbers or Currency before applying these operators.

Tips

To make your spreadsheets more dynamic, avoid hard-coding numbers into your formulas. Instead of typing =IF(A2>100, "Yes", "No"), put the number 100 in a separate cell (e.g., cell E1) and reference it: =IF(A2>$E$1, "Yes", "No"). The dollar signs create an absolute reference, meaning when you drag the formula down, it always looks at cell E1. Now, if you want to change the threshold to 200, you only have to change one cell instead of editing every formula in your sheet.

When working with dates, remember that Excel treats dates as sequential serial numbers. This means a later date is "larger than" an earlier date. You can use =IF(A2>DATE(2023,1,1), "Recent", "Old") to identify dates occurring after January 1, 2023.

Combine the larger than operator with the AND function if you need to check if a value falls between two numbers. For example, =IF(AND(A2>10, A2<20), "In Range", "Out of Range") checks if A2 is larger than 10 AND smaller than 20.

Troubleshooting

If your formula is returning a #VALUE! error, check the data type of the cells you are comparing. If one cell contains a number and the other contains text that looks like a number (but is formatted as text), Excel may struggle to perform the comparison. To fix this, select the column, go to the Data tab, select Text to Columns, and click Finish immediately; this often forces Excel to re-evaluate text-numbers as actual numbers.

If your Conditional Formatting is not highlighting the correct cells, check for hidden decimals. A cell might display as "100" due to rounding, but its actual value might be 99.99. Since 99.99 is not larger than 100, it will not be highlighted. Increase the decimal places to verify the exact value.

If your COUNTIF or SUMIF formulas are returning 0 when you know there are larger values, double-check the quotes around your operator. The correct syntax is ">100". If you wrote >"100" or forgot the quotes entirely, the formula will fail to recognize the criteria.

Frequently Asked Questions

How do I do larger than or equal to in Excel?

Use the symbol >=. For example, =A2>=100 will return TRUE if the value is exactly 100 or any number above it.

Can I use the larger than symbol with dates?

Yes. Because Excel stores dates as numbers, you can use > to find dates that occur after a specific day. Example: =A2>"2024-01-01" (though using the DATE function is more reliable).

Why does my IF formula say FALSE when the number is clearly larger?

This usually happens because the "number" is actually stored as text. You can check this by using the =ISNUMBER(A2) formula; if it returns FALSE, you must convert the cell to a number format.

How do I highlight cells that are larger than another cell?

In Conditional Formatting, choose "Greater Than..." and instead of typing a number in the box, click on the cell you want to compare against. Excel will automatically create a formula like =>=$B$2.

Is there a difference between > and >= in SUMIF?

Yes. ">10" sums everything from 10.01 upwards. ">=10" includes the number 10 itself in the total sum.