Numeric values in cells randomly generates "number stored as text" error

Gregory Squire Mills 5 Reputation points
2026-07-11T13:15:01.8733333+00:00

I have an excel where there is a column of values in numeric format but should be handled as a string. Example is 23913410.
When this occurs the vlookup function fails and returns #N/A. Attempts to fix this using this various functions can fix the row in error but causes the the vast number of functioning ones to start returning #N/A. I have tried all combinations of error and text handling including: clean, text, valuetotext with ifna, iferror, etc.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.