Hi All,
I've got a row of values like "Schaumburg 91" and "Niles 7". I'd like to render each value in the row to have leading zeros out to the hundreds place, so I would have "Schaumburg 091" and "Niles 007."
I've tried =TEXT(A1, "000") but to no avail.
Any suggestions?
Thanks!
Last edited by conorsgaffney; 10-20-2010 at 03:19 PM.
Maybethis:
=LEFT(A1,FIND(" ",A1&" "))&" "&TEXT(MID(A1,FIND(" ",A1&" "),3),"000")
"Relax. What is mind? No matter. What is matter? Never mind!"
Yep, that definitely gives me the number with the correct amount of leading zeros. It removes the text, however. So I'm getting "091" from "Schaumburg 91"
Are you sure? Looks good for me...
"Relax. What is mind? No matter. What is matter? Never mind!"
I got it working now. Had to copy my stuff into a new workbook. Not sure what was happening.
THANKS!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks