Logic · Excel formula

Flag a missed target

The logical test compares actual performance with the target.

Use this formula

=IF(B2<C2,"Below target","Met")

The example below uses the column letters and row numbers in the formula. Enter it in a blank cell after the sample data.

See the cells and result

Visual example for Flag a missed target with sample rows and expected result

Example data

RowTeamActualTarget
2Sales85100

Expected result: Below target.

Why it works

The logical test compares actual performance with the target.

Check this: A value equal to the target is classified as Met.

Excel versions and testing

The example uses standard worksheet formulas. Open the workbook in a current desktop Excel version; other editions may display or calculate differently.

This original example has been checked against the browser formula engine and the downloadable workbook structure. The workbook has not been verified in every Excel edition. Microsoft function reference.

Common mistake and fix

If the result differs, check the referenced cells and whether numbers are stored as text. Compare with the sample workbook before changing your own data.

Try it yourself

Change a number or label in the data and predict the new result. Use the practice lab to test a supported formula, or download the data to work in Excel.

Try this example onlineDownload Excel workbookDownload CSV