Q: I am trying to write an IF function in Excel that compares two cells to determine if they are exactly the same, including capitals and lowercase letters, but Excel seems to ignore case when using the IF function. What’s the best way to accomplish this goal?

A: Excel’s functions generally ignore case. Excel sees ABCDEF the same as abcdef, as illustrated by the IF function located in cell C2 (shown below).

Notice above that when Excel’s =IF function is used to compare cells A2 and B2, Excel considers these cells identical and returns the value TRUE. To compare two cells to determine if they are identical, including case, use the EXACT function as demonstrated below.

Notice that when using Excel’s =EXACT function to compare two cells, Excel does not consider these cells identical and returns the value FALSE.


Revenue recognition: A complex effort

Implementing the new standard requires careful judgment. Learn how to make significant accounting judgments and document them and collaborate with peers for consistent application.


How to create maps in Excel 2016

Microsoft Excel 2016 has two new mapping capabilities. J. Carlton Collins, CPA, demonstrates how to make masterful 2D and 3D maps in Excel 2016.


News quiz: Economy and health care changes top CPAs’ list

CPA decision-makers’ economic outlook and the House Republicans’ proposed tax changes as part of replacing the Patient Protection and Affordable Care Act received attention recently. See how much you know with this short quiz.