Solved

EXCEL 2007

Posted on 2011-03-17
3
187 Views
Last Modified: 2012-05-11
Hi is there a way to split a name in Excel 2007. so happy exchange i need in one cell happy and exchange in another cell in excel.

0
Comment
Question by:happyexchange
3 Comments
 
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 35160672
Find the first name in a string:

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

Find the last name in a string containing only two names:

   =MID(A1,FIND(" ",A1)+1,999)

Kevin
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 35160673
If you have that data in A1 then you can get the first word in B1 with this formula

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

and in C1

=REPLACE(A1,1,FIND(" ",A1),"")

regards,barry
0
 
LVL 2

Accepted Solution

by:
pjaguilar earned 500 total points
ID: 35160725
To extract the "happy" part:

=left(B6;find(" ";B6))    // assuming B6 contains "happy exchange"

to extract the "exchange" part:

=right(B6;lenght(B6) - lenght(C6))   // in B6 we had "happy exchange", in C6, the first formula

Regards
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question