+ Reply to Thread
Results 1 to 2 of 2

Changing sheet lookup reference when copy/pasting?

Hybrid View

  1. #1
    Registered User
    Join Date
    07-14-2010
    Location
    UK
    MS-Off Ver
    Excel 2003
    Posts
    1

    Changing sheet lookup reference when copy/pasting?

    Hi,

    I have what should be a very simple excel problem but i cannot seem to get my head around it!

    I have one worksheet in which the formula in each colum looks up a different sheet.

    So column A, as part of the formula, looks up sheet1, colum b should then use the exact same formula but look up sheet2 and so on.

    The problem i have is that once ive created the formula in colum A (formula is quite long SUMPRODUCT function) i cannot simply copy and paste it to all other colums? Where it is looking up a cell reference its easy to change it from static to dynamic etc, but is there a way to do this with the sheet reference?

    It would not sound like a massive amount of work to simply overtype the reference in cell "B2" with the correct sheet ref and then copy/paste down the rows, however in reality there are breaks in the sheet and also 14 sheets all of which use a similar set up (with just one change to the formula in each).

    Does this make sense, and is there an easy answer!

    Thanks

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Changing sheet lookup reference when copy/pasting?

    To change a sheet name as you copy a formula, you will need to employ the INDIRECT function.

    Check here for some guidance: http://www.contextures.com/xlFunctions05.html#RefSheet
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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