LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #10   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Identify and move duplicate rows?

Yes. You can establish a criteria range and put in conditions like equal to
, less than, greater than using the operators

Header1
="<=21"
for example.

for multiple columns, being on the Same row is an AND relation and in
sequential rows is an OR relation.

You can have a computed condition as well. You use a dummy column name for
this (shouldn't match any column name in the data and the formula refers to
the first row of data.

Excel help is fairly good for explaining the possibilities and has examples.

--
Regards,
Tom Ogilvy

"Dave" wrote in message
u...
Hi Gord,

Nice, I didn't realise that Advanced Filter could handle whole rows for
unique records.....

Do you know if it is possible to use criteria with Advanced Filter in VBA?
When I've used Advanced Filter with VBA I've always inserted a blank

column,
added the criteria criteria, done the filtering then removed the inserted
column.

Thanks

Dave

<Gord Dibben wrote in message
...
ali

Recorded macro.....

Sub Macro1()
'
' Macro1 Macro
' Macro recorded 12/14/2003 by Gord Dibben

Sheets.Add
''inserts a sheet and copies unique rows to A1 on new sheet
Sheets("Day").Range("C1:H500").AdvancedFilter Action:=xlFilterCopy,

_
CopyToRange:=Range("A1"), Unique:=True
End Sub

Gord Dibben Excel MVP


On Sun, 14 Dec 2003 16:21:04 -0600, ali


wrote:

Tom, apologies for missing your question. In response, i am only
interested if the whole row matches another.

In response to the suggestion to use macro recorder and advanced
filter... when i tried it the advanced filter part was not recorded.
Is this normal?

Thanks for all the help


---
Message posted from http://www.ExcelForum.com/








 
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
how to identify duplicate rows & staffs xfr frm one depart to anot Calculate Date range Excel Discussion (Misc queries) 1 August 25th 09 10:41 AM
Identify duplicate rows Joe Excel Discussion (Misc queries) 1 October 17th 07 12:25 AM
Need to identify duplicate entries in a Table bman342 Excel Worksheet Functions 6 July 6th 06 09:33 AM
How do I identify duplicate numbers in Excel? Patrick Excel Discussion (Misc queries) 1 February 1st 06 04:40 PM
identify duplicate enteries Debi Excel Worksheet Functions 5 October 13th 05 12:33 AM


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