Smart Systems for Home

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

Google Sheets LT Function: Step-by-Step Guide

· 5 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

The LT function in Google Sheets checks whether one value is less than another and returns TRUE or FALSE. Use it as =LT(value1, value2); for example, =LT(A1, 100) returns TRUE if A1 is less than 100. It is the function form of the < operator and is most useful inside other formulas, such as ARRAYFORMULA, IF, or conditional formatting rules.

What You'll Need

  • A Google account with access to Google Sheets (free or Workspace).
  • A spreadsheet open in a browser or the Google Sheets mobile app.
  • Basic familiarity with cell references and formulas.

Step-by-Step

  1. Open your spreadsheet. Go to sheets.google.com, sign in, and open the file where you want to use LT. On mobile, open the Google Sheets app and tap the file. Menu labels can differ slightly by version and device.
  2. Select an empty cell. Click or tap the cell where you want the TRUE/FALSE result to appear. This is your formula cell.
  3. Start the formula. Type =LT(. Google Sheets will show a tooltip with the syntax: LT(value1, value2). Both arguments are required.
  4. Enter the first value. This can be a number, a cell reference like A2, or another formula. For example, type A2 to compare the value in A2.
  5. Type a comma. The comma separates the two arguments. In some regions the separator may be a semicolon; Google Sheets usually accepts the comma.
  6. Enter the second value. Type the number or cell reference to compare against. For example, type 100 to check whether A2 is less than 100.
  7. Close the parenthesis and press Enter. Your formula should look like =LT(A2, 100). The cell will display TRUE if A2 is less than 100, and FALSE otherwise.
  8. Copy the formula down. Drag the fill handle (the small square at the bottom-right of the cell) down the column, or copy and paste. Relative references adjust automatically, so each row compares its own value.
  9. Use LT inside other functions. For example, =IF(LT(A2, 100), "Low", "High") returns "Low" when A2 is less than 100. You can also nest LT in ARRAYFORMULA to check a whole range at once: =ARRAYFORMULA(LT(A2:A10, 100)).
  10. Apply conditional formatting (optional). Select your range, open Format > Conditional formatting, choose "Custom formula is", and enter a formula such as =LT(A2, 100). This highlights cells that meet the condition.

Common Mistakes

  • Forgetting the equals sign. LT is a function, so the formula must start with =. Without it, Sheets treats the text as plain content.
  • Using only one argument. LT requires exactly two values. A single argument returns an error.
  • Comparing text to numbers. LT works with numbers, dates, and text in a limited way. Comparing a text string like "apple" to a number usually returns FALSE or an error; make sure both arguments are the same type.
  • Mixing up LT with LTE. LT means strictly less than. If you need "less than or equal to", use LTE or the <= operator.
  • Assuming LT changes the cell. LT only returns TRUE or FALSE; it does not modify the compared values. Use IF or conditional formatting to act on the result.
  • Hard-coding values instead of references. Typing =LT(5, 10) always returns TRUE. Use cell references so the formula updates when data changes.

Tips

  • Use LT with ARRAYFORMULA to compare an entire column in one formula instead of copying down.
  • Combine LT with AND or OR for range checks, e.g., =AND(LT(A2, 100), LT(A2, 50)) — though the second condition is redundant; use =AND(LT(A2, 100), GT(A2, 0)) for a between check.
  • Dates are stored as numbers in Sheets, so LT works for date comparisons: =LT(A2, DATE(2025,1,1)).
  • For simple comparisons, the < operator is shorter and does the same thing; LT is mainly for consistency inside array formulas and for readability.
  • Test your formula on a few rows before filling down to catch type mismatches early.

Troubleshooting

  • Formula returns #N/A or #VALUE!: Check that both arguments are numbers or valid cell references. Text that looks like a number (e.g., "100" with a leading apostrophe) may cause issues; remove the apostrophe or use VALUE().
  • All results are FALSE: Verify the comparison direction. LT checks if the first value is less than the second. If you meant the reverse, swap the arguments or use GT.
  • Formula not updating: Ensure calculation is set to automatic (File > Settings > Calculation). Also check that you are not in manual mode.
  • Copying formula gives wrong results: Relative references shift when copied. If you need a fixed comparison value, use an absolute reference like $B$1.
  • Conditional formatting not working: The custom formula must be relative to the top-left cell of the selected range. If your range starts at A2, the formula should reference A2, not A1.
  • Mobile app differences: The formula bar and fill handle work differently on mobile; you may need to long-press and drag to fill. If a step does not match, use the desktop version for complex formulas.

Frequently Asked Questions

What does LT stand for in Google Sheets?

LT stands for "less than." It is a comparison function that returns TRUE if the first argument is less than the second, and FALSE otherwise.

How is LT different from the < operator?

They do the same comparison. The < operator is shorter and more common for simple formulas. LT is a function and is useful when you need a consistent function name inside ARRAYFORMULA or when sharing formulas that should be explicit.

Can LT compare text?

LT can compare text strings alphabetically (e.g., =LT("apple", "banana") returns TRUE), but mixing text and numbers usually returns FALSE or an error. For reliable results, compare values of the same type.

Does LT work with dates?

Yes. Dates in Google Sheets are stored as serial numbers, so =LT(A2, TODAY()) returns TRUE if the date in A2 is before today.

Why does LT return FALSE when the numbers look equal?

LT is strictly less than. If the values are equal, it returns FALSE. Use LTE for "less than or equal to." Also check for hidden decimals or formatting that may make numbers appear equal when they are not.

Can I use LT in conditional formatting?

Yes. In Format > Conditional formatting, choose "Custom formula is" and enter a formula like =LT(A2, 100). The formula must reference the top-left cell of the selected range.