Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Uniqe Records
Hi Dears, Most of the times we have similiar and uniqe records in Col A. for Example ColA Book Cup Tea Book Pen Cup Is there some codes. that if i clik a buttion, the data copy in col and similiar words will copy only one time i.e similiar words wil not copy Repeatedly. For example Col B Book Cup Pen Tea Thanks and Regards Syed Haider Al -- Syed Haider Al ----------------------------------------------------------------------- Syed Haider Ali's Profile: http://www.excelforum.com/member.php...fo&userid=2199 View this thread: http://www.excelforum.com/showthread.php?threadid=56043 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Uniqe Records
Sub Test()
Dim iLastRow As Long Dim i As Long Dim j As Long iLastRow = Cells(Rows.Count, "A").End(xlUp).Row For i = 1 To iLastRow If IsError(Application.Match(Cells(i, "A").Value, Columns(2), 0)) Then j = j + 1 Cells(j, "B").Value = Cells(i, "A").Value End If Next i End Sub -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Syed Haider Ali" <Syed.Haider.Ali.2asr1t_1152647710.2974@excelfor um-nospam.com wrote in message news:Syed.Haider.Ali.2asr1t_1152647710.2974@excelf orum-nospam.com... Hi Dears, Most of the times we have similiar and uniqe records in Col A. for Example ColA Book Cup Tea Book Pen Cup Is there some codes. that if i clik a buttion, the data copy in col B and similiar words will copy only one time i.e similiar words will not copy Repeatedly. For example Col B Book Cup Pen Tea Thanks and Regards Syed Haider Ali -- Syed Haider Ali ------------------------------------------------------------------------ Syed Haider Ali's Profile: http://www.excelforum.com/member.php...o&userid=21994 View this thread: http://www.excelforum.com/showthread...hreadid=560436 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Uniqe Records
Thanks Bob for your guidance. Syed Haider Ali -- Syed Haider Ali ------------------------------------------------------------------------ Syed Haider Ali's Profile: http://www.excelforum.com/member.php...o&userid=21994 View this thread: http://www.excelforum.com/showthread...hreadid=560436 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Delete records when certain records have duplicate column data | New Users to Excel | |||
draw 999 x 8 random records from file with 8614 records | Excel Programming | |||
End Of Records | Excel Programming | |||
Uniqe value counter returns #N/A error | Excel Worksheet Functions | |||
Uniqe list | Excel Programming |