MS Office Forum / Excel / New Users / July 2007
Text to columns
|
|
Thread rating:  |
B.W. - 02 Jul 2007 06:12 GMT I am trying to split 700 names with phone numbers. They are in column A. There are hyphens between the names and phone numbers. Do I have to replace it with a coma and if so can i do the first one and copy it to do the rest or do i have to do each one individually. I not really caught on to this posting yet, so please accept my thanks in advance. Any help is very much appreciated. ie John Doe - 250-555-5555
T. Valko - 02 Jul 2007 06:33 GMT It looks like you have name space - space number.
Try this:
Select the range of cells in question Goto the menu Edit>Replace Find what: <space>-<space> That is, type in a space then the dash then another space Replace with: , (type in a comma) Replace All Close
With those cells still selected Goto the menu Data>Text to Columns Delimited>Next Comma>Finish
Biff Microsoft Excel MVP
> I am trying to split 700 names with phone numbers. They are in column > A. [quoted text clipped - 7 lines] > appreciated. > ie John Doe - 250-555-5555 Max - 02 Jul 2007 09:47 GMT > Biff > Microsoft Excel MVP Congratulations, Biff ! Cheers.
 Signature Max Singapore http://savefile.com/projects/236895 xdemechanik ---
T. Valko - 02 Jul 2007 18:31 GMT Thank you, Max.
Hopefully, I haven't lowered the standard!
Biff Microsoft Excel MVP
>> Biff >> Microsoft Excel MVP > > Congratulations, Biff ! Cheers. Dave Peterson - 02 Jul 2007 19:41 GMT I think that's a common feeling for everyone--that and the "did you really mean me?" that goes with it <vbg>.
Congrats!
> Thank you, Max. > [quoted text clipped - 13 lines] > > xdemechanik > > ---
 Signature Dave Peterson
T. Valko - 02 Jul 2007 20:03 GMT Thanks, Dave.
You're still the man!
Biff Microsoft Excel MVP
>I think that's a common feeling for everyone--that and the "did you really >mean [quoted text clipped - 19 lines] >> > xdemechanik >> > --- Roger Govier - 03 Jul 2007 00:11 GMT Hi Biff
Congratulations, very well deserved. I am also very happy to be joining you, and hope I can live up to expectations!!!
 Signature Regards
Roger Govier
> Thanks, Dave. > [quoted text clipped - 26 lines] >>> > xdemechanik >>> > --- Max - 03 Jul 2007 00:45 GMT > I am also very happy to be joining you, and hope I can live up to > expectations!!! Hey Roger, subtle comment, but I didn't miss that ... My congratulations to you too! Cheers
P/s: Is there a reference namelist of the new kids on the MVP-Excel block available ? Or, could someone kindly take a moment to list these new kids?
 Signature Max Singapore http://savefile.com/projects/236895 xdemechanik ---
Dave Peterson - 03 Jul 2007 01:09 GMT There's a privacy issue at work here. So I don't think you'll be seeing a list posted.
But for those who choose to share, you can check: https://mvp.support.microsoft.com/communities/mvp.aspx or for excel: https://mvp.support.microsoft.com/communities/mvp.aspx?product=1&competency=Micr osoft+Office+Excel
> > I am also very happy to be joining you, and hope I can live up to > > expectations!!! [quoted text clipped - 10 lines] > xdemechanik > ---
 Signature Dave Peterson
Max - 03 Jul 2007 02:28 GMT Dave, thanks for response/links
> .. So I don't think you'll be seeing a list posted. No choice, resigned to this then. disappointed, though, that such occasions for us to rejoice/celebrate with new Excel MVPs should be stifled by privacy issues ..
 Signature Max Singapore http://savefile.com/projects/236895 xdemechanik ---
> There's a privacy issue at work here. So I don't think you'll be seeing a > list [quoted text clipped - 4 lines] > or for excel: > https://mvp.support.microsoft.com/communities/mvp.aspx?product=1&competency=Micr osoft+Office+Excel Roger Govier - 03 Jul 2007 01:22 GMT Thanks Max.
Dave has given the reason for the lack of a list. I have not got round to setting up a Profile on the website yet, neither would I imagine have many other of the "newbie's" .
 Signature Regards
Roger Govier
>> I am also very happy to be joining you, and hope I can live up to >> expectations!!! [quoted text clipped - 5 lines] > block available ? Or, could someone kindly take a moment to list these > new kids? Max - 03 Jul 2007 02:20 GMT > Dave has given the reason for the lack of a list. dang! <g> no choice, then. looks like I'll have to read deep into all postings by the regulars to "gather" such info.
 Signature Max Singapore http://savefile.com/projects/236895 xdemechanik ---
> Thanks Max. > > Dave has given the reason for the lack of a list. > I have not got round to setting up a Profile on the website yet, neither > would I imagine have many other of the "newbie's" . T. Valko - 03 Jul 2007 02:35 GMT I'm having trouble figuring out just how to do that?
 Signature Biff Microsoft Excel MVP
> Thanks Max. > [quoted text clipped - 11 lines] >> available ? Or, could someone kindly take a moment to list these new >> kids? JLatham - 04 Jul 2007 02:46 GMT My congratulations also. Well deserved. There'll be a newcomer's meeting soon (another privacy thing) which you may have already received notice about - be sure and set that account up so you can attend.
> Thanks Max. > [quoted text clipped - 11 lines] > > block available ? Or, could someone kindly take a moment to list these > > new kids? T. Valko - 03 Jul 2007 02:32 GMT Congratulations, Roger!
I had assumed that you were already A MVP but just didn't make it public.
>hope I can live up to expectations!!! Yeah, I know what you mean. Harlan has already "tested" me. I guess I passed!
Wooo hooo!
<VBG>
 Signature Biff Microsoft Excel MVP
> Hi Biff > [quoted text clipped - 32 lines] >>>> > xdemechanik >>>> > --- Gord Dibben - 03 Jul 2007 00:01 GMT Add my congrats to this thread Biff.
Welcome aboard.
A few months ago you posted that becoming an MVP was your goal so what's your next goal?
Gord
>I think that's a common feeling for everyone--that and the "did you really mean >me?" that goes with it <vbg>. [quoted text clipped - 18 lines] >> > xdemechanik >> > --- T. Valko - 03 Jul 2007 02:26 GMT Thanks, Gord!
>A few months ago you posted that becoming an MVP >was your goal so what's your next goal? To not embarrass myself as a MVP!
 Signature Biff Microsoft Excel MVP
> Add my congrats to this thread Biff. > [quoted text clipped - 33 lines] >>> > xdemechanik >>> > --- Gord Dibben - 03 Jul 2007 03:13 GMT Not a realistic goal.
Try something else like "To not embarrass myself as a MVP!.......too often"<g>
Gord
>Thanks, Gord! > >>A few months ago you posted that becoming an MVP >>was your goal so what's your next goal? JLatham - 02 Jul 2007 12:24 GMT Well earned, well deserved. Congratulations.
> Biff > Microsoft Excel MVP T. Valko - 02 Jul 2007 18:32 GMT Thanks, Jerry!
Biff Microsoft Excel MVP
> Well earned, well deserved. Congratulations. > >> Biff >> Microsoft Excel MVP B.W. - 02 Jul 2007 16:42 GMT I think I did everything you requested but i get a message " cannot find the data your searching for"
> It looks like you have name space - space number. > [quoted text clipped - 27 lines] > > appreciated. > > ie John Doe - 250-555-5555 mfdou - 02 Jul 2007 16:52 GMT Another way - select your column - making sure that you have a couple of empty columns to the right of the one selected. click on "text to columns". Choose "Delimited", then click on the next button. in the next dialog box, there is a list of Delimiters on the left. Check the box in front of "other" and then put in a hyphen. click next, then finish.
> I think I did everything you requested but i get a message " cannot find the > data your searching for" [quoted text clipped - 30 lines] > > > appreciated. > > > ie John Doe - 250-555-5555 B.W. - 02 Jul 2007 17:50 GMT Thank-you that worked. But I would like to keep my phone number in one column if possible. I tried to regrouped the two columns with the phone number, but I am not having any success.
> Another way - select your column - making sure that you have a couple of > empty columns to the right of the one selected. click on "text to columns". [quoted text clipped - 36 lines] > > > > appreciated. > > > > ie John Doe - 250-555-5555 gls858 - 02 Jul 2007 18:44 GMT > Thank-you that worked. But I would like to keep my phone number in one column > if possible. I tried to regrouped the two columns with the phone number, but [quoted text clipped - 40 lines] >>>>> appreciated. >>>>> ie John Doe - 250-555-5555 Assuming you still have an original try using text to columns and leaving it as fixed width you can then place your dividers where you need them. If you place the dash between the name and phone number in it's own column you can just mark it not to import or just delete it later.
gls858
T. Valko - 02 Jul 2007 19:00 GMT >> Thank-you that worked. But I would like to keep my phone number in one >> column if possible. I tried to regrouped the two columns with the phone [quoted text clipped - 46 lines] > > gls858 Assuming that they have a list, not just a single cell.
That would work *if* all the names were the same length. Won't work if you have:
John Doe - 250-555-5555 William Johnston - 412-555-1212
Biff Microsoft Excel MVP
gls858 - 02 Jul 2007 19:23 GMT >>> Thank-you that worked. But I would like to keep my phone number in one >>> column if possible. I tried to regrouped the two columns with the phone [quoted text clipped - 57 lines] > Biff > Microsoft Excel MVP You're right. Sorry about that. I did exactly as you indicated I tested on one cell. Almost all the files I bring into Excel are fixed length flat files. I knew better just forgot for the moment :-)
gls858
T. Valko - 02 Jul 2007 18:45 GMT Ok, it might be that those spaces are not standard char 32 spaces. They might be char 160 non breaking spaces. In the Edit>Replace operation:
Find what: hold down the ALT key and using the *numeric keypad* type 0160 let up on the ALT key then type the dash then hold down the ALT key and using the *numeric keypad* type 0160
Replace with: , (comma) Replace All Close
Then do the text to columns
Biff Microsoft Excel MVP
> I think I did everything you requested but i get a message " cannot find > the [quoted text clipped - 33 lines] >> > appreciated. >> > ie John Doe - 250-555-5555 mfdou - 02 Jul 2007 19:24 GMT If using the hyphen as the deliminator separates the two parts of your phone numbers, you can put them back together fairly easily. make sure there is an empty column to the right of the two columns with the phone number and enter =(cell&”-“&cell) in the first cell of the empty column - for instance, =(A1&"-"&B1) This will give you back your phone numbers with the hyphen.
> Ok, it might be that those spaces are not standard char 32 spaces. They > might be char 160 non breaking spaces. In the Edit>Replace operation: [quoted text clipped - 49 lines] > >> > appreciated. > >> > ie John Doe - 250-555-5555 mfdou - 02 Jul 2007 19:30 GMT for the 3 part phone number, just expand the formula =(A1&"-"&B1&"-"&C1)
> If using the hyphen as the deliminator separates the two parts of your phone > numbers, you can put them back together fairly easily. make sure there is an [quoted text clipped - 55 lines] > > >> > appreciated. > > >> > ie John Doe - 250-555-5555 mfdou - 02 Jul 2007 19:34 GMT I forgot to mention - you have to then copy the formula by clicking in the cell with the formula in it, then move the mouse over the lower right corner until the cursor turns into a solid black cross, then click and drag the formula all the way down to the bottom of your list.
> If using the hyphen as the deliminator separates the two parts of your phone > numbers, you can put them back together fairly easily. make sure there is an [quoted text clipped - 55 lines] > > >> > appreciated. > > >> > ie John Doe - 250-555-5555 B.W. - 02 Jul 2007 22:40 GMT Thank-you, I have both parts together. I would like to delete the the columns in which they are separate, without affecting the finished product. Is this possible. BW
> I forgot to mention - you have to then copy the formula by clicking in the > cell with the formula in it, then move the mouse over the lower right corner [quoted text clipped - 60 lines] > > > >> > appreciated. > > > >> > ie John Doe - 250-555-5555 JMB - 03 Jul 2007 02:20 GMT Select your finished product, copy then click Edit/Paste Special/Values to convert the formulae to constants. Then delete the other columns you don't need (verify the paste special works before deleting the source).
I also wanted to jump in and congratulate Biff and Roger on reaching their goals - very well deserved recognition!
> Thank-you, I have both parts together. I would like to delete the the > columns in which they are separate, without affecting the finished product. [quoted text clipped - 65 lines] > > > > >> > appreciated. > > > > >> > ie John Doe - 250-555-5555 T. Valko - 03 Jul 2007 02:38 GMT Thanks, J!
 Signature Biff Microsoft Excel MVP
> Select your finished product, copy then click Edit/Paste Special/Values to > convert the formulae to constants. Then delete the other columns you [quoted text clipped - 92 lines] >> > > > >> > appreciated. >> > > > >> > ie John Doe - 250-555-5555
|
|
|