+ Reply to Thread
Results 1 to 4 of 4

Same formula refrence off different tabs

  1. #1
    Registered User
    Join Date
    07-07-2010
    Location
    south africa
    MS-Off Ver
    Excel 2007
    Posts
    34

    Same formula refrence off different tabs

    Hi, I am struggling to refrence a formula off different tabs, so for example in Tab sheet1 I have a table but in A1 i have a formula =can1!C7 which refrences off sheet CAN1 and then in B1 i have the same formula but off CAN2 so it reads =CAN2!C7. How can I just drag down so that the CAN goes in sequence but the cell ref stays the same? C7
    Keep life simple

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Same formula refrence off different tabs

    Hi,

    In A1 and dragged down

    =INDIRECT("'Can"&ROW()&"'!C7")
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    07-07-2010
    Location
    south africa
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Same formula refrence off different tabs

    Hi,

    Thanks but this doesnt seem to work. it shows #REF!. I have put it in exactly as you placed it. =INDIRECT("'Can"&ROW()&"'!C7") should I write anything after ROW(?) or just put it in exactly like that?

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Same formula refrence off different tabs

    Did you put this in row 1 and copy down?

    If not you'll need to deduct something from the ROW() function.

    So for instance if you put the formula in row 10 you'll have to deduct 9 so that ROW()-9 will equal 1 (for the CAN1 tab)

    So assuming it is in Row 10
    =INDIRECT("'Can"&ROW()-9&"'!C7")

    adjust as necessary if its in another row.

+ 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