+ Reply to Thread
Results 1 to 5 of 5

Dragging formulas by row reference..?

  1. #1
    Registered User
    Join Date
    12-03-2007
    Posts
    13

    Dragging formulas by row reference..?

    Hello

    Does anyone know how I can drag the below formula:

    ='G:\Folder\Folder\[Spreadsheet.xls]TAB'!B5

    to make the B5 at the end into: B5, C5, D5, E5, F5 etc?

    Thank you!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Unless I am not thinking straight...and assuming you mean dragging the formula downwardss....then you will need the use of Indirect()

    Please Login or Register  to view this content.
    will be equivalent to ='G:\Folder\Folder\[Spreadsheet.xls]TAB'!B5

    Then copy down...

    The only hitch is that Indirect() only works if the other workbook is open....

    If the workbook will be closed you will need to download and install the Morefunc.xll addin free from this site: http://xcell05.free.fr/english/

    and use the Indirect.Ext() function.

    Please Login or Register  to view this content.
    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.

  3. #3
    Registered User
    Join Date
    12-03-2007
    Posts
    13

    :(

    I just tried that and it doesn't want to work. Something about too many brackets or something...

    When I try to drag downwards (or sidewards), I'm just getting, B5, B6, B7, B8..... I need the ending to keep the number, but the letter changes if that makes sense (?) Putting the dollar sign doesn't seem to work either.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I don't get any errors with the formula....

    Make sure you copy it and paste it in the cell and only change the book names and sheet names without adding extra brackets, etc....

    Also, if you are dragging sideways, you don't need my formula and if you don't have the $ before the B, then it should change to C5, D5, E5, etc.... just by dragging it....

    Check that you are in Automatic calculation mode through...Tools|Options, Calculation tab...check on Automatic.

  5. #5
    Registered User
    Join Date
    12-03-2007
    Posts
    13

    :)

    Must have been fat fingers earlier - it works now - thank you!

+ 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