+ Reply to Thread
Results 1 to 6 of 6

OFFSET formula in horizontal way

  1. #1
    Registered User
    Join Date
    11-18-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    8

    OFFSET formula in horizontal way

    Hi all,

    I've been trying to get the OFFSET formula to work in my worksheet, but no success.
    The data is arranged in a horizontal way and I only see examples on sites with the data being aligned in a vertical way.

    The data goes like this:

    A B C D E
    Week: 1 2 3 4
    Prio 1: 3 4 5 7
    Prio 2: 4 6 8 9

    So if I want the graph used for data above to update automatically for week, prio1 and prio2 to the right, what would the formula have to look like?

  2. #2
    Forum Contributor
    Join Date
    01-22-2014
    Location
    genoa, italy
    MS-Off Ver
    Excel 2007
    Posts
    134

    Re: OFFSET formula in horizontal way

    prio.xlsx

    I'm not sure I've understood well what you want to do (please give more details) but I've done the attached.
    Can this help ?
    AL

  3. #3
    Registered User
    Join Date
    11-18-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: OFFSET formula in horizontal way

    Thank you for your reply. I'm afraid that won't help me. The data is already there and I don't want to create any other tables with lookup.
    I just want the table to update automatically when I enter new values (see attachment for (crap) example).

    Only way I know of doing this is via Offset (or putting everything into data table but that will screw up my layout of graph).
    Attached Files Attached Files

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: OFFSET formula in horizontal way

    Hi,

    Based on your attachment, go to Name Manager and create the following new names:

    Name: Last_Week
    Refers to: =MATCH(7^7,Sheet1!$11:$11)

    Name: WEEK
    Refers to: =Sheet1!$B$11:INDEX(Sheet1!$11:$11,,Last_Week)

    Name: PRIO1
    Refers to: =Sheet1!$B$12:INDEX(Sheet1!$12:$12,,Last_Week)

    Name: PRIO2
    Refers to: =Sheet1!$B$13:INDEX(Sheet1!$13:$13,,Last_Week)

    Exit Name Manager.

    Add/amend each of your three data series so that, in the Series values: box, you enter:

    =Sheet1!WEEK
    =Sheet1!PRIO1
    =Sheet1!PRIO2


    (Obviously amend the "Sheet1" part if that is not your actual sheetname. Also note that, if this sheetname contains spacing, you will need to add two apostrophes as well, i.e. ='Chart Sheet'!WEEK, etc.)

    You will notice that Excel will most likely replace the "Sheet1" part with the actual workbook name, though this is not something you should worry about.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Registered User
    Join Date
    11-18-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: OFFSET formula in horizontal way

    I tried what you said and it somewhat works. Week is on the horizontal axis though and is not automatically updated in the graph when entering new value.
    Graph does move a space to the side but the weeknumber is not automatically applied in the graph.

  6. #6
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: OFFSET formula in horizontal way

    Could you please re-upload the precise previous attachment but with your attempts at following my instructions included, and point out precisely where and when the solution fails?

    Thanks a lot

+ 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. [SOLVED] Copying and pasting Horizontal Data to Horizontal cells
    By jjin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-11-2013, 01:14 AM
  2. Replies: 2
    Last Post: 08-09-2012, 09:16 AM
  3. Reformatting - insert formula with offset, then offset to next cell
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2011, 05:41 AM
  4. Vertical & Horizontal Offset / match row and column
    By David Brown in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2010, 12:43 PM
  5. What formula, horizontal and vertical
    By djfatboyfats in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-28-2008, 08:06 PM

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