PC Review


Reply
Thread Tools Rate Thread

Copy data in table to column in worksheet

 
 
richzip
Guest
Posts: n/a
 
      25th May 2010
I would like to know if a macro, or a formula, can accomplish the following.
ON worksheet 1, I have data in table format. Within the range of data (every
other column), for each cell that has a value, I would like that value copied
to the first blank row, within column A, of worksheet 2. Column B of WS2
would then be populated with the row label for that piece of data; Column C
of WS 2 would be populated with the column label for that piece of data.

The data can be copied from WS1 in any order (top to bottom first, left to
right first), but it should only search for data in every other column (B & D
in the example below). If a cell is blank, nothing would be copied to WS2.
That cell would not remain blank, however. EAch searchd cell in WS1 (with
data) would be copied to the next blank cell in Col A in WS2

Worksheet 1:

A B C D E
1 Line # AM PM
2 L1 2199 Smith 2173 Jones
3 L2 2203 Johnson
4 L3 2200 Brown 2177 Edwards


Worksheet 2 results:

A B C
1 2199 L1 AM
2 2200 L3 AM
3 2173 L1 PM
4 2203 L2 PM
5 2177 L3 PM

Thank you all for your help
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy data from other worksheet based on column header sbitaxi@gmail.com Microsoft Excel Misc 0 29th Apr 2008 08:18 PM
copy column cell data onto another worksheet =?Utf-8?B?TmdT?= Microsoft Excel Programming 1 10th Apr 2007 09:00 AM
Copy Column data to other worksheet Rits Microsoft Excel Programming 2 30th Nov 2006 02:57 PM
How do I copy an entire column of data from one table to another =?Utf-8?B?Sm9leQ==?= Microsoft Access Getting Started 10 8th Oct 2005 02:17 AM
How to create a macro to copy data from a column to a row in another worksheet? NewAtExcel Microsoft Excel Programming 0 1st Jan 2004 12:38 AM


Features
 

Advertising
 

Newsgroups
 


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