Exactly!

If you are 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?

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.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Beanstalk CFO Group
Beanstalk CFO Group

Written by Beanstalk CFO Group

Our firm, Beanstalk CFO Group, delivers financial management & advice to small business owners.

No responses yet

Write a response