Formulyo

Excel + Google Sheets · IF

Let Excel decide for you

Returns one value if a condition is true and another if it's false.

The formula

=IF(B2>30, "Chase", "OK")

What each part means

Example

Before
ABC
1InvoiceDays lateAction
2#20112
3#20245
4#2030
5#20431
After
ABC
1InvoiceDays lateAction
2#20112OK
3#20245Chase
4#2030OK
5#20431Chase

Step by step

  1. Click cell C2.
  2. Type the formula: =IF(B2>30, "Chase", "OK")
  3. Press Enter.
  4. Drag the small square in the bottom-right corner of the cell down to copy it to the other rows.

Where it works

The same formula in other languages

Get 1 formula a day, free

Plus a free weekly planner template for Excel and Google Sheets. Unsubscribe in 1 click.

✓ Done! Check your inbox to confirm.

Want ready-made templates? See the Formulyo pack →

Keep learning