Yes, you can compare values to see if they are lower than a specific number, but you must use a specific formula to get a result of TRUE or FALSE instead of the raw number itself. The quickest way to do this is to use the logical operator "<" inside a comparison function, which returns TRUE if the cell is less than the target value and FALSE if it is equal or greater. This works in any spreadsheet software that supports standard logical functions, including Google Sheets, Microsoft Excel, and Apple Numbers.
What You'll Need
- A spreadsheet application installed on your computer or accessed via a web browser (Google Sheets, Excel Online, or the desktop app).
- Two or more cells containing the data you want to compare (for example, a column of prices or dates) and a single cell containing the reference value you are checking against.
- The ability to click on a cell to select it and type a formula into the formula bar.
Step-by-Step
- Click the cell where you want the result to appear. This is the empty cell where the formula will calculate the TRUE or FALSE outcome.
- Type the equals sign (=). This tells the spreadsheet that you are entering a formula rather than plain text. The cursor will move to the right of the equals sign.
- Click on the first cell containing the value you want to check. For example, if you are checking a list of prices, click on the first price in the list. The cell reference (e.g., A1) will appear in the formula bar.
- Type the less-than symbol (<). This is the standard mathematical symbol for "is less than." Ensure you use the standard keyboard symbol, not a text-based arrow.
- Click on the cell containing the value you want to compare against. This could be a fixed number you typed into a specific cell, or a reference to another cell. For example, if you are checking if a price is lower than a budget, click on the budget cell. The reference (e.g., B1) will appear in your formula.
- Press Enter. This finalizes the formula and calculates the result. The cell will now display either "TRUE" or "FALSE".
- Drag the fill handle. If you have a list of values you want to check against the same reference number, click on the cell with your result, move your mouse to the bottom-right corner of the cell until you see a small square (the fill handle), and click and drag it down to the other cells. The formula will automatically copy to the new cells, adjusting the references for each row.
Common Mistakes
One of the most common errors when using this formula is confusing the order of the cells. The formula A1 < B1 is very different from B1 < A1. The first asks if A1 is lower than B1, while the second asks if B1 is lower than A1. Always double-check that you have placed the value you want to evaluate first and the reference value second.
Another frequent mistake is forgetting to use the equals sign (=) at the beginning of the formula. Without it, the spreadsheet will interpret your entry as plain text rather than a calculation, resulting in the raw numbers being printed into the cell.
Tips
If you want to see the raw numbers that are lower than your reference value, you can use the FILTER function in Google Sheets. For example, =FILTER(A1:A10, A1:A10 < B1) will create a new list containing only the numbers from column A that are less than the value in B1. This is useful for cleaning up data sets.
In Microsoft Excel, you can combine this comparison with other functions. For instance, using IF(A1 < B1, "Yes", "No") will display the word "Yes" if A1 is lower than B1, and "No" if it is not. This is much more readable than a simple TRUE/FALSE result for many users.
Troubleshooting
If your formula is returning #NAME? or #VALUE!, it usually means there is a typo in the function name or the syntax is incorrect. For example, using the text-based less-than sign (which often looks like a hyphen) instead of the mathematical symbol will cause an error. Ensure you are typing the correct symbol and that you have closed all parentheses if your formula is more complex.
If the result is not updating when you change the number in the reference cell, check if your spreadsheet is set to calculation mode "Manual." In many spreadsheet applications, you can change this setting in the "File" or "Options" menu, under the "Formulas" or "Calculation" section. Switching it to "Automatic" will ensure that results update instantly as you type.
Frequently Asked Questions
Can I compare text or dates using this method?
Yes, the less-than operator works on text and dates as well. For text, it compares the alphabetical order (e.g., "Apple" is less than "Banana"). For dates, it compares the chronological order based on the system's date settings.
What happens if the two values in my formula are equal?
The result will be FALSE. The operator strictly checks for "less than," so it does not include the case where the values are the same.
How do I check if a number is lower than a specific value without using a cell reference?
You can type the number directly into the formula. For example, =A1 < 100 will return TRUE if the value in A1 is less than 100.
Does the order of the cells matter for this formula?
Yes, the order determines the logic. A1 < B1 checks if A1 is smaller than B1, while B1 < A1 checks the opposite.
Can I use this formula in Google Sheets?
Absolutely. The syntax for the less-than comparison is identical in Google Sheets to what is described above.