23.08.2023 Views

CFI-Excel-eBook

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Corporate Finance Institute Excel

IF

Test for a specific condition

logical_test

value_if_true

value_if_false

What is an Excel IF Statement?

An Excel IF Statement tests a given condition and returns one value for a TRUE

result, and another value for a FALSE result. For example, if sales total more

than $5,000 then return a “Yes” for Bonus, otherwise, return a “No” for Bonus.

We can also use the IF function to evaluate a single function or we can include

several IF functions in one formula. Multiple IF statements in Excel are known

as nested IF statements.

As a financial analyst, the IF function is used often to evaluate and analyze data

by evaluating specific conditions.

The function can be used to evaluate text, values, and even errors. It is not

limited to only checking if one thing is equal to another and returning a single

result. We can also use mathematical operators and perform additional

calculations depending on our criteria. We can also nest multiple IF functions

together to perform multiple comparisons.

corporatefinanceinstitute.com

99

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!