Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 17
Default Unique Record retrieval.

Dear All,

I want to fetch unique records through Formula or VBA.
I have two records in two different column.I want to fetch Unique records
from both the Column.
E.g

Col k10:k25 Col L10:L25

Rstyv 1"50 2.5
Rstyv 2"50 3.5
Rstyv 1"50 2.5
Rstyz 3"50 8.5
Rstyv 2"50 3.5
...........and so on.
i want to display in another two column the unique records from range
k10:k25 to corresponding
Col L10:L25.

Please assist,

Rgds,
aligahk06



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Unique Record retrieval.

Try the below macro with the below data in ColA/B. Please note there is a
header assigned to these columns...The unique list will be generated in
ColD/E. If you are new to macros

--Set the Security level to low/medium in (Tools|Macro|Security).
--From workbook launch VBE using short-key Alt+F11.
--From menu 'Insert' a module and paste the below code.
--Get back to Workbook.
--Run macro from Tools|Macro|Run <selected macro()


Col A Col B
Header 1 Header 2
Rstyv 1"50 2.5
Rstyv 2"50 3.5
Rstyv 1"50 2.5
Rstyz 3"50 8.5
Rstyv 2"50 3.5


Sub Macro()
Columns("A:B").AdvancedFilter Action:=xlFilterCopy, _
CopyToRange:=Range("D1"), Unique:=True
End Sub

If this post helps click Yes
---------------
Jacob Skaria


"Aligahk06" wrote:

Dear All,

I want to fetch unique records through Formula or VBA.
I have two records in two different column.I want to fetch Unique records
from both the Column.
E.g

Col k10:k25 Col L10:L25

Rstyv 1"50 2.5
Rstyv 2"50 3.5
Rstyv 1"50 2.5
Rstyz 3"50 8.5
Rstyv 2"50 3.5
..........and so on.
i want to display in another two column the unique records from range
k10:k25 to corresponding
Col L10:L25.

Please assist,

Rgds,
aligahk06



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 806
Default Unique Record retrieval.

Hello,

One possible solution:
http://sulprobil.com/html/pfreq.html

Regards,
Bernd
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
Copy Unique Record Kim Excel Discussion (Misc queries) 2 August 27th 09 07:35 PM
Find unique record Isabelle Excel Discussion (Misc queries) 3 October 21st 08 03:05 PM
lots of data to be sorted for each unique record vlookupabyss Excel Discussion (Misc queries) 6 January 30th 08 11:36 AM
Attempting to sort unique/only count first record in each unique g MJW[_2_] Excel Discussion (Misc queries) 3 August 10th 07 02:56 PM
Display unique record BBTMAMA Excel Discussion (Misc queries) 3 September 11th 05 03:40 PM


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