Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Macro to repeatedly find duplicate data

This is my data,

Column A Column B Column C Column D
Outflow 25 15 Broken
Internal 10 5 Dropped
Internal 20 1 Broken
Outflow 35 22 Broken
Outflow 21 7 Dropped

I need it to look in column A for "Outflow" , once found copy and paste the
whole row in sheet2, then go back and look for "Outflow" again and repeat
until it doesn't find anything. Then I need it to start looking for
"Internal" , once found copy and paste into sheet3 and so on.
Any help it greatly appreicated,

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Macro to repeatedly find duplicate data

You can use AutoFilter:

1. Make sure you have a header row
2. Click on a cell in the header row and:
Data Filter Autofilter
3. Click on the pull-down and pick Outflow
4. Copy the visible rows and paste them to sheet2

repeat 3 & 4 for the other values.
--
Gary''s Student - gsnu200835


"Jack E" wrote:

This is my data,

Column A Column B Column C Column D
Outflow 25 15 Broken
Internal 10 5 Dropped
Internal 20 1 Broken
Outflow 35 22 Broken
Outflow 21 7 Dropped

I need it to look in column A for "Outflow" , once found copy and paste the
whole row in sheet2, then go back and look for "Outflow" again and repeat
until it doesn't find anything. Then I need it to start looking for
"Internal" , once found copy and paste into sheet3 and so on.
Any help it greatly appreicated,

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Macro to repeatedly find duplicate data

Thanks that worked perfect!!

"Gary''s Student" wrote:

You can use AutoFilter:

1. Make sure you have a header row
2. Click on a cell in the header row and:
Data Filter Autofilter
3. Click on the pull-down and pick Outflow
4. Copy the visible rows and paste them to sheet2

repeat 3 & 4 for the other values.
--
Gary''s Student - gsnu200835


"Jack E" wrote:

This is my data,

Column A Column B Column C Column D
Outflow 25 15 Broken
Internal 10 5 Dropped
Internal 20 1 Broken
Outflow 35 22 Broken
Outflow 21 7 Dropped

I need it to look in column A for "Outflow" , once found copy and paste the
whole row in sheet2, then go back and look for "Outflow" again and repeat
until it doesn't find anything. Then I need it to start looking for
"Internal" , once found copy and paste into sheet3 and so on.
Any help it greatly appreicated,

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
Find Duplicate data vadda Excel Discussion (Misc queries) 2 October 10th 08 09:28 PM
How do I find duplicate numbers in a data? Manni Excel Worksheet Functions 1 September 19th 08 10:38 PM
Macro - Copy and Paste repeatedly skipping cells [email protected] Excel Discussion (Misc queries) 5 January 6th 07 11:22 PM
How do I repeatedly find text in an Excel sheet? H Excel Worksheet Functions 1 March 15th 06 02:40 PM
Creating a macro to find duplicate names Carter Devereaux Excel Discussion (Misc queries) 1 July 6th 05 10:39 PM


All times are GMT +1. The time now is 12:43 PM.

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"