copy different Horizontal data to vertical

johnny52

Active Member
Joined
Oct 13, 2006
Messages
323
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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

AlphaFrog

MrExcel MVP
Joined
Sep 2, 2009
Messages
16,384
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
323
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,384
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
323
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,123,231
Messages
5,600,427
Members
414,384
Latest member
joehalks

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
Top