+ Reply to Thread
Results 1 to 13 of 13

Getting Cell References to Change Orientation

  1. #1
    Registered User
    Join Date
    05-13-2007
    Posts
    19

    Getting Cell References to Change Orientation

    I would like to reference cells in another tab in my worksheet, but change the orientation.

    For example, in Tab 2, I want to make rows A1:A26 equal to columns A1:Z1. Do I have to click back and forth between worksheets 26 times, or is there a way around this?

    Thanks

  2. #2
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    put this in cell a1 sheet1 and copy down to row 26

    to get data in cols a:z in row 1 of sheet2

    =INDIRECT("sheet2!R1"&"c"&ROW(),FALSE)
    not a professional, just trying to assist.....

  3. #3
    Registered User
    Join Date
    05-13-2007
    Posts
    19

    How do I get rows to go to columns

    How would I write the formula for the opposite situation...

    I want sheet 2, cloumns a:z to reference sheet 1, rows a1:a26.

    thanks again

  4. #4
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    =INDIRECT("sheet2!R"&COLUMN()&"c1",FALSE)

  5. #5
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    now I am not sure I answered your question- you want to enter the formula in sheet2 columns a:z I take it?

    that would be

    =INDIRECT("sheet1!R"&COLUMN()&"c1",FALSE)

  6. #6
    Registered User
    Join Date
    05-13-2007
    Posts
    19

    You answered my q, but it

    I want to multiply a values in a sheet called FEES, cells D9:D20 by a value in another worksheet called TIME EST., cells C9:V9. I want the product to appear in the worksheet called TIME EST, cells C10:V10.

    So, the formula would start in C10 in the worksheet called TIME EST, and I want to drag it across to V10 and have it populate, even though the references to the FEES worksheet need to change their orientation from rows to columns.

    Thanks!
    Last edited by nkissam; 05-13-2007 at 11:00 PM.

  7. #7
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    I think I've got this straight - this is entered in Time est cells c10

    =INDIRECT("Fees!R"&COLUMN()+6&"c4",FALSE)*C9

    to multiply cell c9 (above c10) by cell d9 on sheet Fees

    then in cell d10 it multiplies cell d10 by cell d10 on sheet Fees

  8. #8
    Registered User
    Join Date
    05-13-2007
    Posts
    19

    You're a GENIUS

    Just wish I understood how to recreate this for multiple situations just like this in many worksheets.

  9. #9
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    no genius here....just look at help on indirect function, and also look at r1c1 reference (as opposed to a1)

  10. #10
    Registered User
    Join Date
    05-13-2007
    Posts
    19

    Indirect function

    I have been studying the R1C1 reference in the HELP, and trying to expand upon this formula to make it useful in other worksheets. I think I almost have it but am still stuck on how to get the reference right.

    In column cells C8:infinity in worksheet TE, I want to reference rows B9:infinity in worksheet FEES. The important part is I want to drag the formula across the columns in worksheet TE and have it populate with the decending rows in cloumn B on the FEES sheet.

    I think if you write this one for me I will get it. The last formula had to do with multiplication so I am having trouble modifying.

    Thanks,

  11. #11
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    in cell C8 on sheet TE

    INDIRECT("Fees!R"&COLUMN()+6&"c2",FALSE)

    results in the equation

    =Fees!R9C2 where the 9 comes from column() being 3 (column C) +6

    which is the same as =Fees!B9 (column 2 (B), row 9)

    when you go to D8 on TE, the column is now 4

    so you get =Fees!R10C2

    which is

    =Fees!B10

  12. #12
    Registered User
    Join Date
    05-14-2007
    Posts
    3
    thanks for breaking down the function reference duane, with that last post, I finally figured out the function...

  13. #13
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    you are quite welcome.....best way to learn is to spend some time figuring it out and getting assistance only as needed.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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