2010-04-21
New Member
- Joined
- Apr 21, 2010
- Messages
- 32
OS: Win XP Pro
Office: Windows 2007
I have a sheet (e.g. Sheet1) with some data on, e.g.
I have another sheet (e.g. Sheet2) with a lit of different names on:
For each of the 125 items on Sheet2, I need to copy 4 lines defined in Sheet1, but replace the "NAME" value with the value of the item in Sheet2
So the end result will be like this:
I could do that by hand, but there would be a big margin for error, plus it'll take ages.
I wonder if there is any way to automate the process in Excel?
Any advice much appreciated.
Thanks!
Office: Windows 2007
I have a sheet (e.g. Sheet1) with some data on, e.g.
Code:
NAME | PROFILE | VALUE
----------------------------------------------------------------------------------------
TEST ITEM 1 | AP: Use Invoice Batch Controls | YES
TEST ITEM 1 | CCC_ITR_CUSTOMER_ADDRESS_ID | 423422-XYZ
TEST ITEM 1 | Concurrent:Report Access Level | Responsibility
TEST ITEM 1 | HR: Security Profile | This and That
Code:
TEST ITEM 2
TEST ITEM 3
TEST ITEM 4
TEST ITEM 5
...
TEST ITEM 125
So the end result will be like this:
Code:
NAME | PROFILE | VALUE
----------------------------------------------------------------------------------------
TEST ITEM 1 | AP: Use Invoice Batch Controls | YES
TEST ITEM 1 | CCC_ITR_CUSTOMER_ADDRESS_ID | 423422-XYZ
TEST ITEM 1 | Concurrent:Report Access Level | Responsibility
TEST ITEM 1 | HR: Security Profile | This and That
TEST ITEM 2 | AP: Use Invoice Batch Controls | YES
TEST ITEM 2 | CCC_ITR_CUSTOMER_ADDRESS_ID | 423422-XYZ
TEST ITEM 2 | Concurrent:Report Access Level | Responsibility
TEST ITEM 2 | HR: Security Profile | This and That
TEST ITEM 3 | AP: Use Invoice Batch Controls | YES
TEST ITEM 3 | CCC_ITR_CUSTOMER_ADDRESS_ID | 423422-XYZ
TEST ITEM 3 | Concurrent:Report Access Level | Responsibility
TEST ITEM 3 | HR: Security Profile | This and That
TEST ITEM 4 | AP: Use Invoice Batch Controls | YES
TEST ITEM 4 | CCC_ITR_CUSTOMER_ADDRESS_ID | 423422-XYZ
TEST ITEM 4 | Concurrent:Report Access Level | Responsibility
TEST ITEM 4 | HR: Security Profile | This and That
TEST ITEM 5 | AP: Use Invoice Batch Controls | YES
TEST ITEM 5 | CCC_ITR_CUSTOMER_ADDRESS_ID | 423422-XYZ
TEST ITEM 5 | Concurrent:Report Access Level | Responsibility
TEST ITEM 5 | HR: Security Profile | This and That
...
TEST ITEM 125 | AP: Use Invoice Batch Controls | YES
TEST ITEM 125 | CCC_ITR_CUSTOMER_ADDRESS_ID | 423422-XYZ
TEST ITEM 125 | Concurrent:Report Access Level | Responsibility
TEST ITEM 125 | HR: Security Profile | This and That
I wonder if there is any way to automate the process in Excel?
Any advice much appreciated.
Thanks!