LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Copy row to new sheet if cell data is repeated more than 3 times

I have a spreadsheet with various pieces of data. Each value will be
repeated at least once in the sheet. I would like to use a macro that
will look thorugh the rows of a specific column, and copy the entire
row if it the data appears more than three times. Could anyone help
me with this?

For example, in the following all rows for credential 2, 3, and 5
should be copied onto a new sheet.

timestamp
24/05/10 23:54:39 Valid credential 1
24/05/10 23:37:04 Valid credential 2
24/05/10 23:27:03 Valid credential 3
24/05/10 23:26:59 Valid credential 4
24/05/10 23:26:55 Valid credential 2
24/05/10 23:18:10 Valid credential 1
24/05/10 23:15:42 Valid credential 2
24/05/10 23:14:11 Valid credential 3
24/05/10 23:09:18 Valid credential 4
24/05/10 23:02:47 Valid credential 4
24/05/10 23:02:42 Valid credential 3
24/05/10 22:38:59 Valid credential 5
24/05/10 22:38:33 Valid credential 1
24/05/10 22:38:31 Valid credential 5
24/05/10 22:38:29 Valid credential 2
24/05/10 22:38:27 Valid credential 5
24/05/10 22:33:39 Valid credential 3
24/05/10 22:31:35 Valid credential 5
24/05/10 22:31:33 Valid credential 5
 
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
Return names which are repeated 5 times Gaurav[_4_] Excel Discussion (Misc queries) 2 December 18th 08 10:54 PM
Max no. of times a text repeated nsd Excel Discussion (Misc queries) 3 October 29th 08 05:40 PM
Copying the repeated data of the previous sheet to the next sheet Sasikiran Excel Discussion (Misc queries) 1 September 25th 07 03:18 PM
Inserting Data Repeated Times Dan Spracklin Excel Discussion (Misc queries) 1 November 10th 06 05:51 PM
Count No. of times Dates are repeated Mandeep Dhami Excel Discussion (Misc queries) 6 December 8th 05 02:55 AM


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