How to keep phone number format as cell values

gogumakilla

New Member
Joined
Jun 28, 2016
Messages
6
Hi, I have a applied a phone number format to a grouping of cells, but the cell values still remain as plain numbers without my formatting. I see this because when I click on each cell, it is displayed on my spreadsheet in my desired format (123) 111-1111, but in the function bar, it still shows as 1231111111. How do I keep the formatting on the actual cell values? This is causing problems with my data import into another database, because it is still importing as 1231111111, instead of (123) 111-1111. Sorry for the poor explanation, let me know if you need clarification.
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Edited. I misread the post :P
 
Last edited:
Upvote 0
can do it with formula


Excel 2012
AB
11231111111(123) 111-1111
Sheet2
Cell Formulas
RangeFormula
B1="("&LEFT(A1,3)&") "&MID(A1,4,3)&"-"&RIGHT(A1,4)
 
Upvote 0
Edited. I misread the post :P
 
Last edited:
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top