+ Reply to Thread
Results 1 to 9 of 9

Formulas from columns to rows between data sheets

  1. #1
    Registered User
    Join Date
    10-27-2011
    Location
    Gloucester, England
    MS-Off Ver
    Excel 2010
    Posts
    9

    Formulas from columns to rows between data sheets

    Hi im Using Excel 2010

    I couldnt find anything on here so i thought id pop the question its probably really simple but i just cant seem to figure it out,

    What it is i have two data sheets.

    i want to display the content of data sheet1 on to data sheet2,

    Which is easy i know how to do that how ever i want the columns to be displayed as rows and the rows as columns as i have quiet a bit of data to convert between the two, the formula im using is
    Please Login or Register  to view this content.
    but if i copy it across it gives me E37 where as i want D38 etc
    after that i will need to do E37 across

    so any help would be great full

    Regards
    Shane
    Last edited by shatan1984; 10-27-2011 at 04:55 PM. Reason: needs to be edited

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Help Excel2010

    Welcome to the forum.

    Please take a few minutes to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    10-27-2011
    Location
    Gloucester, England
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Help Excel2010

    Quote Originally Posted by shg View Post
    Welcome to the forum.

    Please take a few minutes to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    done that, but still no help yet

  4. #4
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Formulas from columns to rows between data sheets

    You haven't said where that formula is input, but you basically need either INDEX or INDIRECT:

    =INDEX('Data sheet1'$1:$1048576,column(),row())
    for example, or:
    =INDIRECT("'Data sheet1'R"&column()&"C"&row(),0)
    Remember what the dormouse said
    Feed your head

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Formulas from columns to rows between data sheets

    See this workbook
    =IFERROR(INDEX(Sheet1!$A$2:$G$20,COLUMN(A$1),ROW($A1)),"")

    Or you could use the array formula TRANSPOSE()

    Hope this helps

    [EDIT]
    Oops! Sorry RS, you beat me to it again!
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  6. #6
    Registered User
    Join Date
    10-27-2011
    Location
    Gloucester, England
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Formulas from columns to rows between data sheets

    Quote Originally Posted by romperstomper View Post
    You haven't said where that formula is input, but you basically need either INDEX or INDIRECT:

    =INDEX('Data sheet1'$1:$1048576,column(),row())
    for example, or:
    =INDIRECT("'Data sheet1'R"&column()&"C"&row(),0)
    sorry i was entering it straight into the cell

  7. #7
    Registered User
    Join Date
    10-27-2011
    Location
    Gloucester, England
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Formulas from columns to rows between data sheets

    Quote Originally Posted by Marcol View Post
    See this workbook
    =IFERROR(INDEX(Sheet1!$A$2:$G$20,COLUMN(A$1),ROW($A1)),"")

    Or you could use the array formula TRANSPOSE()

    Hope this helps

    [EDIT]
    Oops! Sorry RS, you beat me to it again!

    Thanks but that doesnt seem to work,

    im entering the data in Cell B5 to Y5 on sheet 2 and the data is coming from Cell D30 to D53 on sheet 1....

  8. #8
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Formulas from columns to rows between data sheets

    Quote Originally Posted by shatan1984 View Post
    sorry i was entering it straight into the cell
    I meant which cell it was in - you may need to adjust the ROW() and COLUMN() parts depending on where your data starts on the data sheet compared to where your output is on the second sheet. (my formulas assume same locations on both).

  9. #9
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Formulas from columns to rows between data sheets

    Try this
    =IFERROR(INDEX(Sheet1!$D$30:$E$53,COLUMN(A$1),ROW($A1)),"")

    This will handle two Columns of data, if you only need one column then change E to D, similarly if you have more columns to transpose, E gets changed (increased) accordingly.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1