Output data to separate new sheets based on names in first sheet

kebever

New Member
Joined
Jan 8, 2009
Messages
4
Hi all,

I would like to organize data in a workbook which has 2 worksheets, 1st having a list of identifiers in rows, and the other having all the data. The data in the data sheet goes likes this:

Identifier1
Date 1990 1991 1992 1993
Variable1 AAA BBB CCC DDD
Variable2 EEE FFF GGG HHH

Identifier2
Date 1990 1991 1992 1993
Variable1 NA XXX YYY ZZZ
Variable2 ZAA ZBB ZCC ZDD

and so on and so forth.

I would like to output the data such that, there will be a worksheet for every Identifier there is according to the 1st worksheet, and the data from the 2nd worksheet copied to their corresponding named worksheet, and the Data transposed as such:

Identifier1
Date Variable1 Variable2
1990 AAA EEE
1991 BBB FFF
1992 CCC GGG

on 1 worksheet, and the next identifier on another worksheet which is named after the identifier.

Having a few hundred identifiers, it will be great if I can use VBA and learn a thing from you all!

Thanks in advance! :)
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,214,925
Messages
6,122,303
Members
449,078
Latest member
nonnakkong

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top