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 extract unique records from one column

I had 6,000 email ids in one column.
I would like to have separate column for each unique id for ex. yahoo,
hotmail etc. From Find and Replace I gave Yahoo and choose Find All options.
In results I find all yahoo entries alone.
How can I transfer those yahoo entries alone and insert in the excel sheet
as separate column?
--
K. Mahendra Raj, Coimbatore

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 150
Default extract unique records from one column

Assuming that A4:A100 contains your data, try the following...

Let C2 contain Hotmail

Let D2 contain Yahoo

C3, copied across to D3:

=COUNTIF($A$4:$A$100,"*"&C2&"*")

C4, copied down and across:

=IF(ROWS(C$4:C4)<=C$3,INDEX($A$4:$A$100,SMALL(IF(I SNUMBER(SEARCH(C$2,$A$4
:$A$100)),ROW($A$4:$A$100)-ROW($A$4)+1),ROWS(C$4:C4))),"")

....confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!

In article ,
Mahendra raj, Coimbatore
wrote:

I had 6,000 email ids in one column.
I would like to have separate column for each unique id for ex. yahoo,
hotmail etc. From Find and Replace I gave Yahoo and choose Find All options.
In results I find all yahoo entries alone.
How can I transfer those yahoo entries alone and insert in the excel sheet
as separate column?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 751
Default extract unique records from one column

On May 8, 1:12 pm, Mahendra raj, Coimbatore
wrote:
I had 6,000 email ids in one column.
I would like to have separate column for each unique id for ex. yahoo,
hotmail etc. From Find and Replace I gave Yahoo and choose Find All options.
In results I find all yahoo entries alone.
How can I transfer those yahoo entries alone and insert in the excel sheet
as separate column?
--
K. Mahendra Raj, Coimbatore


Assuming your emails are in A2:A6000, you can place the following
formula in, say, F2:

=INDEX($A$2:$A$6000,SMALL(IF(ISNUMBER(SEARCH("@yah oo.",$A$2:$A
$6000)),ROW($A$2:$A$6000)-ROW($D$2)+1)))

This is an *array* formula, commit with Shift+Ctrl+ENter. Copy down
until you get error values. If needed, you can then copy the new
column and Edit|Paste Special...Values

HTH
Kostis Vezerides


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
Filtering for Unique Records with multiple-column criteria crcurrie Excel Discussion (Misc queries) 5 April 10th 07 10:06 AM
In Excell-2000, database how do you extract unique records bgpereira Excel Worksheet Functions 5 December 24th 05 06:47 AM
Extract Unique Records from two lists MarkN Excel Worksheet Functions 3 November 11th 05 01:07 PM
Extract Unique entries in a column Jeff Excel Worksheet Functions 4 October 18th 05 08:04 PM
In column A I have duplicate records. How do I tag an unique reco. Tian Excel Discussion (Misc queries) 2 January 13th 05 07:37 PM


All times are GMT +1. The time now is 04:56 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"