+ Reply to Thread
Results 1 to 4 of 4

Problem with linking offset function and reference table

  1. #1
    Registered User
    Join Date
    02-13-2015
    Location
    Boston, MA
    MS-Off Ver
    2013
    Posts
    10

    Problem with linking offset function and reference table

    This is my first post, so please bear with me.

    I have a master table with all of my entered data. Using the offset function, I created a smaller table that I can scroll through by adding a scroll bar to the area with the offset functions. Everything works correctly UNTIL I add another row to the top of the master table. The cells containing the offset functions lose their reference to the master table cells.

    Ex.

    Row Column B
    19 =offset($B$,37,$A$1,0) where $A$1 is a reference to the added scroll bar.
    20 =offset($B$,38,$A$1,0)
    21 =offset($B$,39,$A$1,0)
    22 =offset($B$,40,$A$1,0)

    My table runs from B37:I1017. B37 is the header row. When I add a row to the table, creating a new 38 row, the offset function disappears in cell B19 leaving me with values of


    19 =offset($B$,37,$A$1,0)
    20 =offset($B$,39,$A$1,0)
    21 =offset($B$,40,$A$1,0)
    22 =offset($B$,41,$A$1,0)

    Is there a function or workaround I can use to avoid having to format the cells every time I add a row? I am using the worksheet as a financial ledger, and will be adding new rows weekly.

    Any help would be greatly appreciated. I hope my description makes sense!

    Matt
    Last edited by mjo1983; 02-13-2015 at 09:42 PM. Reason: Solved

  2. #2
    Registered User
    Join Date
    02-13-2015
    Location
    Boston, MA
    MS-Off Ver
    2013
    Posts
    10

    Re: Problem with linking offset function and reference table

    I figured it out...I was able to use the INDEX function inside the OFFSET function.

    I even got it to work with a dynamic table that includes a created scroll bar.

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Problem with linking offset function and reference table

    Hi Matt,

    This sounds like you used a Dynamic Named Range to solve your question. If not, they are VERY cool. See them at:
    http://www.bettersolutions.com/excel...G820716330.htm or
    http://www.ozgrid.com/Excel/DynamicRanges.htm

    Also - if you problem is solved, you should edit your first post and change the prefix of the title to "Solved", so people know you've got an answer.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Registered User
    Join Date
    02-13-2015
    Location
    Boston, MA
    MS-Off Ver
    2013
    Posts
    10

    Re: Problem with linking offset function and reference table

    Quote Originally Posted by MarvinP View Post
    This sounds like you used a Dynamic Named Range to solve your question. If not, they are VERY cool.
    I'm really not sure what it is, but it does seem similar. I'm just glad that I got it to work!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Offset function with reference cell equal to the value of match function
    By cmurda in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-08-2014, 02:09 PM
  2. Offset function problem - returns circular reference
    By busyknitter in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-16-2013, 07:36 AM
  3. Replies: 16
    Last Post: 12-24-2012, 06:21 AM
  4. [SOLVED] Cell Reference Problem with Offset and Large
    By zakkair in forum Excel General
    Replies: 11
    Last Post: 06-25-2012, 12:06 PM
  5. OFFSET function with variable reference cell
    By smile2leksa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2009, 08:32 AM

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