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: 244
Default Copying specific rows from one sheet to another

I have data on a sheet. I want to find all rows with
specific criteria (containing "variable data" from Site
sheet) and copy it to a new sheet with the name
of "variable information", continue until there are no
more variables on Site sheet.

The whole row must be copied. Some of the data rows will
have 10 columns others will have 20, for the sake of
space I will only list 4 columns below.


The site data sheet will have 1-75 sites listed. Only
three are listed below.

Sorting column C is fine.

sample data

worksheet "Site" (variable data)
A1 = chs
A2 = dub.aaa
A3 = lvl

worksheet "Data" (data to be parsed)
A1 = blank
B1 = NEW
C1 = test.chs.aaa.org
D1 = FRANK

A2 = blank
B2 = old
C2 = test.LVL.aaa.org
D2 = FRANK lvl

A3 = blank
B3 = NEW
C3 = test4_cccc.dub.aaa
D3 = FRANK DUB

A4 = blank
B4 = new
C4 = test.lvl.aaa.org
D4 = FRANK lvl 2

(on through 2000 rows)

Output

worksheet named "chs"
A1 = blank
B1 = NEW
C1 = test.chs.aaa.org
D1 = FRANK

worksheet named "lvl"
A1 = blank
B1 = old
C1 = test.lvl.aaa.org
D1 = FRANK lvl

A2 = blank
B2 = new
C2 = test.lvl.aaa.org
D2 = FRANK lvl 2

worksheet named "dub.aaa"
A1 = blank
B1 = NEW
C1 = test4_cccc.dub.aaa
D1 = FRANK DUB

All values will be listed in the 3rd column and will be
distinguished names (DN) as listed above. Some of the
DN may just be "aaa.org" or just "org" though. Not
necessarily only three letters either may be
xxxxxxxxxxxxxxxxxxxxx-xxxx.xxxxxxxxxxx.xxx.xxx

may or may not have "."

Thank you!

Chris

 
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
Copying rows with specific criteria Secret Squirrel Excel Discussion (Misc queries) 2 July 27th 08 08:22 AM
Copying Data from one sheet to another sheet on a specific day Gav123 Excel Worksheet Functions 0 May 1st 07 10:17 AM
Copying specific cells from a sheet to another Catalin Excel Discussion (Misc queries) 1 July 28th 06 11:59 PM
Copying specific rows Eric Montelongo Excel Worksheet Functions 1 June 20th 06 08:08 PM
Copying Specific Values From Sheet Jenn Excel Discussion (Misc queries) 1 July 11th 05 09:22 PM


All times are GMT +1. The time now is 03:36 AM.

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"