SV650.org - SV650 & Gladius 650 Forum



Idle Banter For non SV and non bike related chat (and the odd bit of humour - but if any post isn't suitable it'll get deleted real quick).
There's also a "U" rating so please respect this. Newbies can also say "hello" here too.

Reply
 
Thread Tools
Old 12-06-07, 08:27 AM   #1
Jelster
Guest
 
Posts: n/a
Default Another one for the Excel gurus - SORTED !

Now, I know this can be done.....

I have a table, one column of which contains first & last names. I need to make it columns, one for each. I have over 400 names on this list and to upload it into my CRM package I need separate first & last names..

So, come on you clever people, how'd ya do it ??

Last edited by Jelster; 12-06-07 at 08:47 AM.
  Reply With Quote
Old 12-06-07, 08:31 AM   #2
MiniMatt
Guest
 
Posts: n/a
Default Re: Another one for the Excel gurus

There's probably better ways to do this (and I haven't used Excel for about 6 months so forgetting things rapidly) - try highlighting one column, cutting and pasting into a new sheet, then exporting that sheet into a CSV file - the CRM package will probably take CSV ok?

Then doing the same with the other column, natch.

EDIT: Scratch that - didn't read properly! Numpty!

Last edited by MiniMatt; 12-06-07 at 08:32 AM. Reason: being a numpty
  Reply With Quote
Old 12-06-07, 08:34 AM   #3
MiniMatt
Guest
 
Posts: n/a
Default Re: Another one for the Excel gurus

Ooooh, another idea - find and replace, replace all spaces with a comma? Then export as a CSV and you've now got first and second names (assuming no middle names, no names which incorporate a space etc) as seperate columns?
  Reply With Quote
Old 12-06-07, 08:37 AM   #4
rigor
Guest
 
Posts: n/a
Default Re: Another one for the Excel gurus

In the cell you want first names in put

=LEFT(A1,(SEARCH(" ",A1)-1))

(A1 is the first cell where you have your list of names)

Where you want surnames put

=RIGHT(A1,(SEARCH(" ",A1)+1))

Then copy it down.

It looks for a space, then gives you all the characters to the left of the space for the first name and to the right for the last name.

Be careful, it MAY catch you out if you have some funny names with extra spaces.

HTH
  Reply With Quote
Old 12-06-07, 08:39 AM   #5
thor
Guest
 
Posts: n/a
Default Re: Another one for the Excel gurus

You probably need the MID, LEN & FIND functions. You should be able to chop it up using the space in between first and last names?
  Reply With Quote
Old 12-06-07, 08:46 AM   #6
Jelster
Guest
 
Posts: n/a
Default Re: Another one for the Excel gurus

Magic.. Should have thought of doing that myself. (kicks self in backside).

Cheers, sorted, Boss at head office will be very pleased now...



Quote:
Originally Posted by MiniMatt View Post
Ooooh, another idea - find and replace, replace all spaces with a comma? Then export as a CSV and you've now got first and second names (assuming no middle names, no names which incorporate a space etc) as seperate columns?
  Reply With Quote
Old 12-06-07, 08:48 AM   #7
rigor
Guest
 
Posts: n/a
Default Re: Another one for the Excel gurus

Pah, my solution is more elegant
  Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel Graciepants Idle Banter 15 31-03-09 10:52 PM
theiving cloakroom attendant, law gurus anyone? gettin2dizzy Idle Banter 5 20-02-07 05:37 PM
Attn. All Mobile Phone Gurus M65 Idle Banter 8 16-08-06 08:24 AM
For PC electronic gurus mysteryjimbo Idle Banter 12 13-06-06 07:29 PM
Microsoft Excel anybody? skidmarx Idle Banter 15 19-03-06 07:20 PM


All times are GMT. The time now is 03:20 PM.


Powered by vBulletin® - Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.