Reformatting data

azedac

New Member
Joined
Sep 21, 2006
Messages
2
Hi,

I have data in an array, like:

machine 1.1.2006 2.1.2006 3.1.2006
BTA-CUT-A 1 11 111
BTA-CUT-B 2 22 222
BTA-CUT-C 3 33 333
BTA-CUT-D 4 44 444

and I would like to do re-formation into rows:

BTA-CUT-A 1.1.2006 1
BTA-CUT-B 1.1.2006 2
BTA-CUT-C 1.1.2006 3
BTA-CUT-D 1.1.2006 4
BTA-CUT-A 2.1.2006 11
BTA-CUT-B 2.1.2006 22
BTA-CUT-C 2.1.2006 33
BTA-CUT-D 2.1.2006 44
BTA-CUT-A 3.1.2006 111
BTA-CUT-B 3.1.2006 222
BTA-CUT-C 3.1.2006 333
BTA-CUT-D 3.1.2006 444


Have somebody any solution or advice?
Thanks a lot
Azedac
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Hi Azedac,

try this:

F2 is =OFFSET(A$2,(ROW()-2)/3,0)
G2 is =OFFSET($B$1,0,MOD(ROW()-2,3))
H2 is =VLOOKUP(F2,$A$2:$D$5,MOD(ROW()+1,3)+2)

Fill down

Denis
 
Upvote 0

Forum statistics

Threads
1,218,909
Messages
6,145,166
Members
450,592
Latest member
Boulder127

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