Excel IF generator
Updated · By Best Free AI
Use the Excel IF generator to compare a cell with a number and return one of two text values. Build the formula in your browser, paste it into Excel, and check which result you get at the threshold.
Test the Excel IF generator at the threshold
The starting example marks a row Ready when B2 is at least 80. Put sample scores in B2 through B4. Paste the formula in C2, fill it down, and compare the three results.
=IF(B2>=80,"Ready","Review")
| Score in column B | Result in column C |
|---|---|
| 79.99 | Review |
| 80 | Ready |
| 80.01 | Ready |
Check an AI-generated IF formula
Ask your coding assistant for an Excel formula for this rule using fictional scores. Check 79.99, 80, and 80.01 before using its formula. A formula using greater than sends exactly 80 to Review. Greater than or equal to sends it to Ready.
The generator uses English Excel function names and U.S. separators. Keep the test scores numeric. For a sheet with missing scores, select the empty-input option. Clear B2 and the result displays nothing. Enter 0 and the example returns Review. A formula in B2 that returns an empty string also leaves the result empty.
=IF(B2="","",IF(B2>=80,"Ready","Review"))
Sources
Official references · 3
- Check for empty input with IF · Microsoft Support
- IF function syntax and examples · Microsoft Support
- Conditional formulas and comparison operators · Microsoft Support