• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

how to transform table into one single column

Swissshield

New Member
hi all,

I have a table with 36 rows and 100 columns. In order to update a key in SAP I have to fill this into one single column. E.g. A1-A36,B1-B36,C1... etc.

Is there any simple formula combination to simplify this since I have to do this several times.

I've been trying to google this but I couldn't find anything sufficient, neither in this forum.

Thanks for you help!
 
Hi ,

Try this :

=OFFSET(Base!$A$1,MOD(ROW($A1)-1,36),INT((ROW($A1)-1)/36))

Base is the sheet tab which has your table.

Put the above formula on a different sheet , in cell A1 , and copy down as many rows as you want.

Narayan
 
Hi Swissshield,

Welcome to the forum, try this, insert a couple of columns so your data is in now in columns C1 to CX (that should be 100 columns wide), then in A1 put this and drag downwards

=OFFSET($C$1,INT((ROW()-1)/100),MOD(ROW()-1,100))

Sorry misread your question - you wanted it column on top of column o_O :oops:
 
Last edited:
Hi ,

Try this :

=OFFSET(Base!$A$1,MOD(ROW($A1)-1,36),INT((ROW($A1)-1)/36))

Base is the sheet tab which has your table.

Put the above formula on a different sheet , in cell A1 , and copy down as many rows as you want.

Narayan

WOW Thanks a lot Narayan! this worked perfect!
Best,
Swissshield
 
Hi Swissshield,

Welcome to the forum, try this, insert a couple of columns so your data is in now in columns C1 to CX (that should be 100 columns wide), then in A1 put this and drag downwards

=OFFSET($C$1,INT((ROW()-1)/100),MOD(ROW()-1,100))

Sorry misread your question - you wanted it column on top of column o_O :oops:

Thanks Oldchippy! :) you guys are :awesome:
 
Back
Top