A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hello @Ben Foubister,
Thanks for sharing the details.
At the moment, I can’t be completely certain whether the value you’re using with the RIGHT function contains only numeric characters or if it includes something that causes Excel to treat it as text. However, based on my testing, this behavior is expected in such cases.
I was able to reproduce the same result on my side using a data set that visually looks numeric but also contains text. When using the formula as‑is, the calculation returns 0, because Excel is treating the result as text, not a number.
To make sure the result is handled as a number, I recommend explicitly converting it by wrapping the formula with VALUE, for example:
=VALUE(RIGHT(E3,2))
This ensures the output of the RIGHT function is interpreted as a numeric value, and the calculation should then work as expected.
Please give this a try and let me know the result. If it still doesn’t behave as expected, feel free to reply back and we can continue troubleshooting together.
Kind regards,
If the answer is helpful, please click "Accepted" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.