Why it works
- What it does
- Every character has a number: A is 65, B is 66, a space is 32. CHAR turns a number into its character, so CHAR(64+n) gives the nth letter. CODE goes the other way and is handy for finding which invisible character is in a cell.
- The shape of the formula
- =IF(number="","",CHAR(64+number))
- How to remember it
- A is 65, so the nth letter is CHAR(64+n).
- The usual mistake
- An empty number counts as 0, and CHAR(64) is @. Test for the blank first.
Keep practicing
Updated