LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CJ CJ is offline
external usenet poster
 
Posts: 102
Default Separating Strings

I'm sure this will come as a really simple question to the rest of you, but I
have a column with names in it; I want to divide them into first and last
names. How can I do this?

I started with finding the space in between the first and last names, like
this:

SEARCH(" ",A2)

Then when I got the number of the space, I started a conditional statement:

IF(SEARCH(" ",A2)0, . . . .)

But that's where I lose my line of thinking.So I'm telling it that if it
finds a space, then I want it to return everything BEFORE the space to one
column and then I need another function to return everything AFTER the space
in another column.

TIA for your help!
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find number of pairs of strings from list of strings? greg_overholt Excel Worksheet Functions 5 January 27th 06 10:42 PM
Separating Text strings. Quaisne Excel Discussion (Misc queries) 2 November 4th 05 06:49 PM
Separating a name into first name and last name columns THEFALLGUY Excel Discussion (Misc queries) 0 September 7th 05 01:06 AM
How can I count strings within strings Paul W Excel Worksheet Functions 4 June 14th 05 12:39 PM
Separating strings into different columns from one cell Melanie O Excel Worksheet Functions 2 January 27th 05 04:20 PM


All times are GMT +1. The time now is 09:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"