copy different Horizontal data to vertical

johnny52

Active Member
Joined
Oct 13, 2006
Messages
318
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
=IFERROR(INDEX(A$1:H$9,CEILING(ROWS(E$1:E2)/8,1)*4-3,MOD(ROWS(E$1:E2)+7,8)+1),""

This formula works for my 8 columns and 1 row of horizontal data (converts it to vertical in column i1 thru i8)

How can I copy this formula to a lower part of the worksheet where I have different row data (but the same columns),not the constant (E$1:E2) from just the first row

I can't seem to follow what this formula is doing (E$1:E1)/8,1)*4-3 and MOD(ROWS(E$1:E1)+7,8)+1),"") looks like it just reading that first row
 

Some videos you may like

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,362
Change the A$1:H$9 to the "different row data". The rest of the formula is the same.
 

johnny52

Active Member
Joined
Oct 13, 2006
Messages
318
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
Change the A$1:H$9 to the "different row data". The rest of the formula is the same.
Thanks, but I kind of want a formula to change this automatically ....the worksheet is quite large
 

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,362
Are we to assume that "different row data" means you want the formula to change to the next 9 rows every time you drag it down nine rows?
 
Solution

johnny52

Active Member
Joined
Oct 13, 2006
Messages
318
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
Are we to assume that "different row data" means you want the formula to change to the next 9 rows every time you drag it down nine rows?
yes if that's possible

Thanks
 

Watch MrExcel Video

Forum statistics

Threads
1,119,188
Messages
5,576,590
Members
412,736
Latest member
LODS
Top