ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Horizontal Data to Vertical Data (https://www.excelbanter.com/excel-discussion-misc-queries/235644-horizontal-data-vertical-data.html)

EricBB

Horizontal Data to Vertical Data
 
my data table,

Act id Lab Car SF Mas
1 2 3 4 6
2 6 3 5 8
10 5 7 4 6

how can i make a FORMULA for the above table to be like this,

Actid
1 Lab 2
1 Car 3
1 SF 4
1 Mas 6

2 Lab 6
2 Car 3
2 SF 5
2 Mas 8

10 Lab 5
10 Car 7
10 SF 4
10 Mas 6

i know how to do it by copying and transpose, what i need is a formula....

pls. help


EricBB

Horizontal Data to Vertical Data
 
what im looking is a formula to find the 3rd column. 1st & 2nd column is a
manual entry.

"EricBB" wrote:

my data table,

Act id Lab Car SF Mas
1 2 3 4 6
2 6 3 5 8
10 5 7 4 6

how can i make a FORMULA for the above table to be like this,

Actid
1 Lab 2
1 Car 3
1 SF 4
1 Mas 6

2 Lab 6
2 Car 3
2 SF 5
2 Mas 8

10 Lab 5
10 Car 7
10 SF 4
10 Mas 6

i know how to do it by copying and transpose, what i need is a formula....

pls. help


Stefi

Horizontal Data to Vertical Data
 
On another sheet:
In 2nd column:
=INDEX(OFFSET(Sheet1!$B$1,0,0,4,4),1,MOD(ROW()-2,5)+1)
In 3rd column:
=INDEX(OFFSET(Sheet1!$B$1,0,0,4,4),INT((ROW()-1)/5)+2,MOD(ROW()-2,5)+1)

and fill them down!

Regards,
Stefi

€žEricBB€ť ezt Ă*rta:

what im looking is a formula to find the 3rd column. 1st & 2nd column is a
manual entry.

"EricBB" wrote:

my data table,

Act id Lab Car SF Mas
1 2 3 4 6
2 6 3 5 8
10 5 7 4 6

how can i make a FORMULA for the above table to be like this,

Actid
1 Lab 2
1 Car 3
1 SF 4
1 Mas 6

2 Lab 6
2 Car 3
2 SF 5
2 Mas 8

10 Lab 5
10 Car 7
10 SF 4
10 Mas 6

i know how to do it by copying and transpose, what i need is a formula....

pls. help



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com