+ Reply to Thread
Results 1 to 4 of 4

OFFSET troubles (multiple sheets)

  1. #1
    Registered User
    Join Date
    03-08-2013
    Location
    Japan
    MS-Off Ver
    Excel for Mac 2011
    Posts
    19

    OFFSET troubles (multiple sheets)

    I am having trouble with this code.. I get a popup window saying that the formula I typed contains an error. Can someone see what I've done wrong?

    Sheet1 has a column like this

    .......A.........B..
    1...Name...Mary
    2...Name...Tom
    3...Name...Peter
    4...Name...John

    I would like JUST column B of Sheet1 to be reprinted on Sheet 2, where I am typing the code. But I will occasionally update Sheet 1 so when I add names to Sheet1, I would like Sheet2 to be updated automatically.

    I am using this code on Sheet2

    Please Login or Register  to view this content.
    also on Sheet2 I have filled in column M with numbers from 0 to 100. My logic on this was that it would change the number of rows to offset from Sheet 1 as I dragged the code down through my cells on Sheet2. Similar to the way Setting one cell to =$A1 and dragging that code down would sequentially make it =$A2, =$A3, etc.

    BUT... for some reason this doesn't work. I am not a programmer and I am very much a beginner at this (as may or may not be obvious) so problem solving when my reasoning goes awry is a bit beyond my skill set. I am instead left with no idea why what I've written is incorrect. Please help me.
    Last edited by tygrrboi; 03-09-2013 at 04:16 AM.

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: OFFSET troubles (multiple sheets)

    to do what you are describing why not try this :
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag down

    as to the error you are receiving it looks like you are missing the indirect function to turn the string name of the cell into a reference that the offset can use..

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Registered User
    Join Date
    03-08-2013
    Location
    Japan
    MS-Off Ver
    Excel for Mac 2011
    Posts
    19

    Re: OFFSET troubles (multiple sheets)

    Thanks.. Of course I was over thinking it. Thanks for getting me back on track.

    *smacks myself* that the answer was so simple.

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: OFFSET troubles (multiple sheets)

    don't worry, I have fallen in to the same trap myself many times

    You are Welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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