Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Excel 2007: Seperating text with a . (dot) in a cell?

Posted on 2013-01-17
3
Medium Priority
?
375 Views
Last Modified: 2013-01-18
I have a spread sheet with FQDN's in one column. What I need to do is separate it so that I only have the short name.

So this is currently in column1
pc.domain.com

I need it to be....
Column1   Column2
PC                 domain.com


Is there a way to automate this to make it easier to do?
0
Comment
Question by:REIUSA
3 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 1000 total points
ID: 38789799
If data is in A2 you can use these formulas in B2 and C2 to split

=LEFT(A2,FIND(".",A2)-1)

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

formulas can be "filled down" the column for multiple rows

regards, barry
0
 
LVL 24

Assisted Solution

by:Steve
Steve earned 1000 total points
ID: 38789801
You can do Data tab, then Text to column

Or
=LEFT(A2,FIND(".",A2)-1)
and
=RIGHT(A2,LEN(A2)-FIND(".",A2))
0
 

Author Closing Comment

by:REIUSA
ID: 38792754
Thank you, both suggestions work great.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

972 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