#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default Excel Question

I have a column of about 500 names each of which has an email address
immediately to the right of the name, such as
Peter Pan

I need the <pancity2dot.com in a separate column.

Can you help?
--
Templar
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel Question


If there is a space between name and email, try Data - text to columns,
use space as delimiter


--
Pecoflyer

Cheers -
*_Membership_is_free_* & allows file upload -faster and better answers
------------------------------------------------------------------------
Pecoflyer's Profile: http://www.thecodecage.com/forumz/member.php?userid=14
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=44196

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Excel Question

On Thu, 25 Dec 2008 12:07:01 -0800, Templar
wrote:

I have a column of about 500 names each of which has an email address
immediately to the right of the name, such as
Peter Pan

I need the <pancity2dot.com in a separate column.

Can you help?



If the original data is in column A starting at row 1,
try the following formula in cell B1

=MID(A1,FIND("<",A1),999)

Copy down 500 rows.

Column B will now contain the part of the data that starts with a "<"

Hope this helps / Lars-Åke
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel Question


This works on column A
Sub Test()

Columns("A:A").TextToColumns Destination:=Range("A1"),
DataType:=xlDelimited, _
TextQualifier:=xlNone, ConsecutiveDelimiter:=True, Tab:=True,
Semicolon _
:=False, Comma:=False, Space:=False, Other:=True,
OtherChar:="<", _
FieldInfo:=Array(Array(1, 1), Array(2, 1)),
TrailingMinusNumbers:=True
Set Rng = Range(Cells(1, 2), Cells(Rows.Count, 2).End(xlUp))
For Each c In Rng
c.Value = "<" & c.Value
Next c
End Sub


--
mikeaj72
------------------------------------------------------------------------
mikeaj72's Profile: http://www.thecodecage.com/forumz/member.php?userid=46
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=44196

Reply
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
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM
Excel question Jennifer Excel Discussion (Misc queries) 2 December 18th 05 07:26 PM
New to Excel with Question PaulStroik New Users to Excel 1 June 26th 05 05:00 AM
Statistical Excel Function Question within Excel 2000... Drew H Excel Worksheet Functions 3 October 31st 04 06:55 PM


All times are GMT +1. The time now is 06:47 AM.

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

About Us

"It's about Microsoft Excel"