I can’t reproduce this error. This is what I did:
- Open new spreadsheet
- Enter
Shot in C6
- Enter
=IF(EXACT(C6,"Shot"),1,2) in another cell, which then evaluates to 1
- Change the value of C6 to ``, and C6 then evaluates to 2.
Perhaps C6 has some weird formatting applied to it? For example the number 0 could formatted to appear as Shot, so while C6 is printed as Shot, the value of C6 could still be 0 and while printed as Shot, it would not match Shot when compared using EXACT().
From the way you phrased your question, it sounds like this issue is part of a larger spreadsheet. Perhaps try to reproduce this in a new spreadsheet? Or perhaps you could try removing all formatting: CTRL+A then CTRL+M.