I have a workbook with three sheets. The first sheet "Blanket_Data" has all of the standard colors that can be ordered by a customer. The second sheet "Cust_Color" contains the colors ordered by customers in column A and the customer account in column B. I need to find and copy the row on the Blanket_Data sheet based on the text in each cell in column A on the Cust_Color sheet, starting on A2. The row copied from Blanket_Data needs to be pasted on the third sheet "Import" and copied down for the number of cells with text in column A on the Cust_Color sheet, starting at A2. The customer account from column B on Cust_Color needs to be copied to the Import sheet in columns C and D. The Import sheet below is an example of what I would like the final result to be, sans the colorful formatting.
Thank you in advance.
BLANKET_DATA
CUST_COLOR
IMPORT
Thank you in advance.
BLANKET_DATA
COLOR | TYPE | CUST ACCT | CUST CODE | COLOR CODE | Username 1 | Credential 1 | Credential 2 | Credential 3 | ACCT | ACCOUNT FLAG | Payment | ENABLE OVERRIDE |
BLACK | STANDARD | BLACK | SPECIAL | 12345 | 888888 | USD | ||||||
BLUE | STANDARD | BLUE | SPECIAL | 67891 | 22222 | 777777 | No | USD | Yes | |||
BROWN | STANDARD | BROWN | 444444 | USD | No | |||||||
GRAY | STANDARD | GRAY | 12345 | 999999 | USD | No | ||||||
GREEN | STANDARD | GREEN | SPECIAL | 12345 | 666666 | USD | No | |||||
ORANGE | STANDARD | ORANGE | SPECIAL | 67891 | 22 | 111111 | USD | No | ||||
PINK | STANDARD | PINK | SPECIAL | 67891 | 33333 | 333333 | USD | No | ||||
PURPLE | STANDARD | PURPLE | SPECIAL | 67891 | 222222 | USD | No | |||||
RED | STANDARD | RED | SPECIAL | 12345 | 777777 | USD | ||||||
WHITE | STANDARD | WHITE | 555555 | USD | ||||||||
YELLOW | STANDARD | YELLOW | 11111 | 555555 | USD | No | ||||||
CUST_COLOR
COLOR | CUST ACCT |
GREEN | TPFB |
YELLOW | YPHPC |
BLUE | JPKCJ |
BLACK | KPPM |
RED | VPTFMI |
ORANGE | BPWPC |
PINK | |
PURPLE | |
IMPORT
COLOR | TYPE | CUST ACCT | CUST CODE | COLOR CODE | Username 1 | Credential 1 | Credential 2 | Credential 3 | ACCT | ACCOUNT FLAG | Payment | ENABLE OVERRIDE |
GREEN | STANDARD | TPFB | TPFB | GREEN | SPECIAL | 12345 | 666666 | USD | No | |||
YELLOW | STANDARD | TPFB | TPFB | YELLOW | 11111 | 555555 | USD | No | ||||
BLUE | STANDARD | TPFB | TPFB | BLUE | SPECIAL | 67891 | 22222 | 777777 | No | USD | Yes | |
BLACK | STANDARD | TPFB | TPFB | BLACK | SPECIAL | 12345 | 888888 | USD | ||||
RED | STANDARD | TPFB | TPFB | RED | SPECIAL | 12345 | 777777 | USD | ||||
ORANGE | STANDARD | TPFB | TPFB | ORANGE | SPECIAL | 67891 | 22 | 111111 | USD | No | ||
PINK | STANDARD | TPFB | TPFB | PINK | SPECIAL | 67891 | 33333 | 333333 | USD | No | ||
PURPLE | STANDARD | TPFB | TPFB | PURPLE | SPECIAL | 67891 | 222222 | USD | No | |||
GREEN | STANDARD | YPHPC | YPHPC | GREEN | SPECIAL | 12345 | 666666 | USD | No | |||
YELLOW | STANDARD | YPHPC | YPHPC | YELLOW | 11111 | 555555 | USD | No | ||||
BLUE | STANDARD | YPHPC | YPHPC | BLUE | SPECIAL | 67891 | 22222 | 777777 | No | USD | Yes | |
BLACK | STANDARD | YPHPC | YPHPC | BLACK | SPECIAL | 12345 | 888888 | USD | ||||
RED | STANDARD | YPHPC | YPHPC | RED | SPECIAL | 12345 | 777777 | USD | ||||
ORANGE | STANDARD | YPHPC | YPHPC | ORANGE | SPECIAL | 67891 | 22 | 111111 | USD | No | ||
PINK | STANDARD | YPHPC | YPHPC | PINK | SPECIAL | 67891 | 33333 | 333333 | USD | No | ||
PURPLE | STANDARD | YPHPC | YPHPC | PURPLE | SPECIAL | 67891 | 222222 | USD | No | |||
GREEN | STANDARD | JPKCJ | JPKCJ | GREEN | SPECIAL | 12345 | 666666 | USD | No | |||
YELLOW | STANDARD | JPKCJ | JPKCJ | YELLOW | 11111 | 555555 | USD | No | ||||
BLUE | STANDARD | JPKCJ | JPKCJ | BLUE | SPECIAL | 67891 | 22222 | 777777 | No | USD | Yes | |
BLACK | STANDARD | JPKCJ | JPKCJ | BLACK | SPECIAL | 12345 | 888888 | USD | ||||
RED | STANDARD | JPKCJ | JPKCJ | RED | SPECIAL | 12345 | 777777 | USD | ||||
ORANGE | STANDARD | JPKCJ | JPKCJ | ORANGE | SPECIAL | 67891 | 22 | 111111 | USD | No | ||
PINK | STANDARD | JPKCJ | JPKCJ | PINK | SPECIAL | 67891 | 33333 | 333333 | USD | No | ||
PURPLE | STANDARD | JPKCJ | JPKCJ | PURPLE | SPECIAL | 67891 | 222222 | USD | No | |||
GREEN | STANDARD | KPPM | KPPM | GREEN | SPECIAL | 12345 | 666666 | USD | No | |||
YELLOW | STANDARD | KPPM | KPPM | YELLOW | 11111 | 555555 | USD | No | ||||
BLUE | STANDARD | KPPM | KPPM | BLUE | SPECIAL | 67891 | 22222 | 777777 | No | USD | Yes | |
BLACK | STANDARD | KPPM | KPPM | BLACK | SPECIAL | 12345 | 888888 | USD | ||||
RED | STANDARD | KPPM | KPPM | RED | SPECIAL | 12345 | 777777 | USD | ||||
ORANGE | STANDARD | KPPM | KPPM | ORANGE | SPECIAL | 67891 | 22 | 111111 | USD | No | ||
PINK | STANDARD | KPPM | KPPM | PINK | SPECIAL | 67891 | 33333 | 333333 | USD | No | ||
PURPLE | STANDARD | KPPM | KPPM | PURPLE | SPECIAL | 67891 | 222222 | USD | No | |||
GREEN | STANDARD | VPTFMI | VPTFMI | GREEN | SPECIAL | 12345 | 666666 | USD | No | |||
YELLOW | STANDARD | VPTFMI | VPTFMI | YELLOW | 11111 | 555555 | USD | No | ||||
BLUE | STANDARD | VPTFMI | VPTFMI | BLUE | SPECIAL | 67891 | 22222 | 777777 | No | USD | Yes | |
BLACK | STANDARD | VPTFMI | VPTFMI | BLACK | SPECIAL | 12345 | 888888 | USD | ||||
RED | STANDARD | VPTFMI | VPTFMI | RED | SPECIAL | 12345 | 777777 | USD | ||||
ORANGE | STANDARD | VPTFMI | VPTFMI | ORANGE | SPECIAL | 67891 | 22 | 111111 | USD | No | ||
PINK | STANDARD | VPTFMI | VPTFMI | PINK | SPECIAL | 67891 | 33333 | 333333 | USD | No | ||
PURPLE | STANDARD | VPTFMI | VPTFMI | PURPLE | SPECIAL | 67891 | 222222 | USD | No | |||
GREEN | STANDARD | BPWPC | BPWPC | GREEN | SPECIAL | 12345 | 666666 | USD | No | |||
YELLOW | STANDARD | BPWPC | BPWPC | YELLOW | 11111 | 555555 | USD | No | ||||
BLUE | STANDARD | BPWPC | BPWPC | BLUE | SPECIAL | 67891 | 22222 | 777777 | No | USD | Yes | |
BLACK | STANDARD | BPWPC | BPWPC | BLACK | SPECIAL | 12345 | 888888 | USD | ||||
RED | STANDARD | BPWPC | BPWPC | RED | SPECIAL | 12345 | 777777 | USD | ||||
ORANGE | STANDARD | BPWPC | BPWPC | ORANGE | SPECIAL | 67891 | 22 | 111111 | USD | No | ||
PINK | STANDARD | BPWPC | BPWPC | PINK | SPECIAL | 67891 | 33333 | 333333 | USD | No | ||
PURPLE | STANDARD | BPWPC | BPWPC | PURPLE | SPECIAL | 67891 | 222222 | USD | No | |||