kbdavis Posted April 27, 2013 Share Posted April 27, 2013 (edited) I am using excel 2010, and was wondering if it is possible to create a custom format for phone #'s in excel that will allow me to put two phone numbers in a single cell, separated by a "hard enter" (ALT + ENTER), thus formatting two entirely separate phone numbers.Example:55512345679875554321 which would automatically format to:(555) 123-4567(987) 555-4321The code block above represents one single cell.### edited to show reasoning ###I am trying to automatically sort a bunch of information alphabetically, which is why I can only use one, single cell.. Edited April 27, 2013 by kbdavis Link to comment Share on other sites More sharing options...
kbdavis Posted May 10, 2013 Author Share Posted May 10, 2013 BUMP Link to comment Share on other sites More sharing options...
jaclaz Posted May 10, 2013 Share Posted May 10, 2013 I don't think there is a way, if not by using a VBA function.Something *like*:http://www.mrexcel.com/forum/excel-questions/342753-insert-alt-enter-into-cell-column-defined-comma-counted.htmlOnce said that, the reasoning:### edited to show reasoning ### I am trying to automatically sort a bunch of information alphabetically, which is why I can only use one, single cell..may not be "exahaustive enough". Why not using on the same rows more columns, one for each telephone number?Those could be the "rightmost" columns (possibly also hidden or "closed") and you could have as last right column of the area you print (or whatever) something with a formula like:http://www.mrexcel.com/forum/excel-questions/298732-formula-insert-alt-enter-into-cell.htmlSay that you have:A1 NameB1 SurnameC1 TelephonesA2 JohnB2 DoeC2 =TEXT(Y2;"(000) 000-0000")&CHAR(10)&TEXT(Z2;"(000) 000-0000")<- this will result as the phone numbers on two lines and formatted as you like.Y2 5551234567Z2 9875554321jaclaz Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now