Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Auto format phone number
Good morning,
I'd like to have our phone column (text) formatted so that when I input just the numbers (ex 7195555555) it would format the number as (719)555-5555.
Help?
Blessings,
Loann
Comments
-
I don't think you could auto-format it in that same column, but if you create an additional column you can write a formula to do the formatting for you! If my phone number is stored as "8888567895" in a column called Primary Column, the formula might look like this:
="(" + LEFT([Primary Column]1, 3) + ") " + MID([Primary Column]1, 4, 3) + "-" + RIGHT([Primary Column]1, 4)
Paste that formula in a second column and it should format your phone number for you!
-
To make sure you don't get double parenthesis and dashes, I suggest you to use the substitute function before to remove every "(", ")" and "-" before adding them back.
-
Thanks, Greg!
-
awesome! Just used this. Thank you!
-
How does one substitute multiple items in a string?
(555) 555-5555For example, if I want to substitute the parentheses, space, and dash in the number above, and convert it into...
5555555555
How would I do that?
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives