Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default help with formula

Hi,

I have been working on a worksheet in Excel and I have placed all my Email
Addresses in my Column A. Now I want to have all the domain names in my
column B.
For example:
Cel A1:
Cel B1: hotmail

Now my question is, how can I do this with only 1 formula?

Thank you for helping me.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default help with formula

=MID(A1,FIND("@",A1)+1,FIND(".",A1,FIND("@",A1)+1)-FIND("@",A1)-1)

and copy down

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Laura Vanhoorelbeke" wrote in message
...
Hi,

I have been working on a worksheet in Excel and I have placed all my
Email Addresses in my Column A. Now I want to have all the domain names in
my column B.
For example:
Cel A1:
Cel B1: hotmail

Now my question is, how can I do this with only 1 formula?

Thank you for helping me.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default help with formula

Slightly shorter

=MID(A1,FIND("@",A1)+1,FIND(".",A1)-FIND("@",A1)-1)


"Bob Phillips" wrote:

=MID(A1,FIND("@",A1)+1,FIND(".",A1,FIND("@",A1)+1)-FIND("@",A1)-1)

and copy down

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Laura Vanhoorelbeke" wrote in message
...
Hi,

I have been working on a worksheet in Excel and I have placed all my
Email Addresses in my Column A. Now I want to have all the domain names in
my column B.
For example:
Cel A1:
Cel B1: hotmail

Now my question is, how can I do this with only 1 formula?

Thank you for helping me.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,480
Default help with formula

Hi Laura

Assuming you have 3 or more empty columns to the right of column A, you can
do it without formulae.
Copy column A to column B
Mark column BDataText to columnsDelimitedDelimiter @ Finish
Mark column CDataText to columnsDelimitedDelimiter . Finish
Delete Columns B and D
--
Regards
Roger Govier



"Laura Vanhoorelbeke" wrote in message
...
Hi,

I have been working on a worksheet in Excel and I have placed all my
Email Addresses in my Column A. Now I want to have all the domain names in
my column B.
For example:
Cel A1:
Cel B1: hotmail

Now my question is, how can I do this with only 1 formula?

Thank you for helping me.





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default help with formula

Without any formulas...................

Copy the column to an adjacent column. Select that column.

DataText to columnsDelimited by otherenter @ symbolNextColumn Data
FormatDo not Import(skip).


Gord Dibben MS Excel MVP

On Thu, 13 Sep 2007 12:22:48 +0200, "Laura Vanhoorelbeke" wrote:

Hi,

I have been working on a worksheet in Excel and I have placed all my Email
Addresses in my Column A. Now I want to have all the domain names in my
column B.
For example:
Cel A1:
Cel B1: hotmail

Now my question is, how can I do this with only 1 formula?

Thank you for helping me.


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default help with formula

.... and then something similar with the dot.
--
David Biddulph

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Without any formulas...................

Copy the column to an adjacent column. Select that column.

DataText to columnsDelimited by otherenter @ symbolNextColumn Data
FormatDo not Import(skip).


Gord Dibben MS Excel MVP

On Thu, 13 Sep 2007 12:22:48 +0200, "Laura Vanhoorelbeke"
wrote:

Hi,

I have been working on a worksheet in Excel and I have placed all my
Email
Addresses in my Column A. Now I want to have all the domain names in my
column B.
For example:
Cel A1:
Cel B1: hotmail

Now my question is, how can I do this with only 1 formula?

Thank you for helping me.




  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default help with formula

Thank you for helping me. I understand now.

Laura Vanhoorelbeke


  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default help with formula


I think Microsoft should consider allowing more than one character ( say "@"
and ".") to be specified to carry out the parsing in one step instead of
making us do it in two steps once for removing "@" and another for "." .
Would any one who can influence them tell them ?

"David Biddulph" wrote:

.... and then something similar with the dot.
--
David Biddulph

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Without any formulas...................

Copy the column to an adjacent column. Select that column.

DataText to columnsDelimited by otherenter @ symbolNextColumn Data
FormatDo not Import(skip).


Gord Dibben MS Excel MVP

On Thu, 13 Sep 2007 12:22:48 +0200, "Laura Vanhoorelbeke"
wrote:

Hi,

I have been working on a worksheet in Excel and I have placed all my
Email
Addresses in my Column A. Now I want to have all the domain names in my
column B.
For example:
Cel A1:
Cel B1: hotmail

Now my question is, how can I do this with only 1 formula?

Thank you for helping me.







  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default help with formula

You don't have to do the data|text to columns multiple times.

You could select the range and change each of the delimiters (space, @, .,
comma, etc) to a single character. Then do data|text to columns using that
single character.





Balan wrote:

I think Microsoft should consider allowing more than one character ( say "@"
and ".") to be specified to carry out the parsing in one step instead of
making us do it in two steps once for removing "@" and another for "." .
Would any one who can influence them tell them ?

"David Biddulph" wrote:

.... and then something similar with the dot.
--
David Biddulph

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Without any formulas...................

Copy the column to an adjacent column. Select that column.

DataText to columnsDelimited by otherenter @ symbolNextColumn Data
FormatDo not Import(skip).


Gord Dibben MS Excel MVP

On Thu, 13 Sep 2007 12:22:48 +0200, "Laura Vanhoorelbeke"
wrote:

Hi,

I have been working on a worksheet in Excel and I have placed all my
Email
Addresses in my Column A. Now I want to have all the domain names in my
column B.
For example:
Cel A1:
Cel B1: hotmail

Now my question is, how can I do this with only 1 formula?

Thank you for helping me.






--

Dave Peterson
  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default help with formula

Mr.Biddulph,
Thank you. I got the point.

Balan

"David Biddulph" wrote:

In this particular case, you couldn't do it in one stage. You need to split
it at the @ first, and then divide the 2nd column at the dot. If you were
dividing by dots and by @ symbols at the same time, then
would put hotmail in the second column, but

would put the domain in the third column.
--
David Biddulph

"Balan" wrote in message
...

I think Microsoft should consider allowing more than one character ( say
"@"
and ".") to be specified to carry out the parsing in one step instead of
making us do it in two steps once for removing "@" and another for "." .
Would any one who can influence them tell them ?

"David Biddulph" wrote:

.... and then something similar with the dot.
--
David Biddulph

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Without any formulas...................

Copy the column to an adjacent column. Select that column.

DataText to columnsDelimited by otherenter @ symbolNextColumn Data
FormatDo not Import(skip).


Gord Dibben MS Excel MVP

On Thu, 13 Sep 2007 12:22:48 +0200, "Laura Vanhoorelbeke"
wrote:

Hi,

I have been working on a worksheet in Excel and I have placed all my
Email
Addresses in my Column A. Now I want to have all the domain names in my
column B.
For example:
Cel A1:

Cel B1: hotmail

Now my question is, how can I do this with only 1 formula?

Thank you for helping me.








  #14   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 70
Default help with formula

Mr.Peterson,
Thank you very much. Using "Substitute" function, I could achieve what you
had suggested. It was a new learning for me. But the problem of getting the
desired portion in different columns ( if the text is in different forms like
" and ") as mentioned by
Mr.David Biddulph persists.

Balan

"Dave Peterson" wrote:

You don't have to do the data|text to columns multiple times.

You could select the range and change each of the delimiters (space, @, .,
comma, etc) to a single character. Then do data|text to columns using that
single character.





Balan wrote:

I think Microsoft should consider allowing more than one character ( say "@"
and ".") to be specified to carry out the parsing in one step instead of
making us do it in two steps once for removing "@" and another for "." .
Would any one who can influence them tell them ?

"David Biddulph" wrote:

.... and then something similar with the dot.
--
David Biddulph

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
Without any formulas...................

Copy the column to an adjacent column. Select that column.

DataText to columnsDelimited by otherenter @ symbolNextColumn Data
FormatDo not Import(skip).


Gord Dibben MS Excel MVP

On Thu, 13 Sep 2007 12:22:48 +0200, "Laura Vanhoorelbeke"
wrote:

Hi,

I have been working on a worksheet in Excel and I have placed all my
Email
Addresses in my Column A. Now I want to have all the domain names in my
column B.
For example:
Cel A1:
Cel B1: hotmail

Now my question is, how can I do this with only 1 formula?

Thank you for helping me.






--

Dave Peterson

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



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

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"