+ Reply to Thread
Results 1 to 9 of 9

How Do I Combine OFFSET With INDEX MATCH

  1. #1
    Registered User
    Join Date
    06-07-2012
    Location
    boston ma
    MS-Off Ver
    Excel 2003
    Posts
    16

    How Do I Combine OFFSET With INDEX MATCH

    Hi all,

    I'm trying to combine an OFFSET formula with and INDEX formula. I have each working successfully on their own, but I have no luck when i try to combine them. Can anyone explain what I'm doing wrong?

    Here is my INDEX formula:
    =INDEX('DataSet '!$C$4:$CMU$1700,MATCH('Device Summary'!$A4&'Device Summary'!$B4,'DataSet '!$A$4:$A$1500&'DataSet '!$B$4:$B$1500,0),MATCH('Device Summary'!D$3,'DataSet '!$C$3:$CMU$3,0))

    Here is my OFFSET formula:
    =OFFSET('DataSet '!D$4,(ROWS($1:2)-ROW($1:2))*54,,)

    This is how I tried to combine them:
    =OFFSET(INDEX('DataSet '!$C$4:$CMU$1700,MATCH('Device Summary'!$A4&'Device Summary'!$B4,'DataSet '!$A$4:$A$1500&'DataSet '!$B$4:$B$1500,0),MATCH('Device Summary'!D$3,'DataSet '!$C$3:$CMU$3,0))('DataSet '!D$4,(ROWS($1:2)-ROW($1:2))*54,,)

    These are screenshots of my 'Device Summary' worksheet and 'DataSet' worksheet:
    Screen Shot 2012-06-13 at 5.39.20 PM.png

    Screen Shot 2012-06-13 at 5.38.39 PM.png

    My #REF cell (C4) is where I'm attempting my combined formula.

    Thanks in advance!

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: How Do I Combine OFFSET With INDEX MATCH

    I can see what the INDEX/MATCH formula is doing, what do you want the OFFSET to do?
    Audere est facere

  3. #3
    Registered User
    Join Date
    06-07-2012
    Location
    boston ma
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: How Do I Combine OFFSET With INDEX MATCH

    I have 54 rows of daily data all for each column on my 'dataset' worksheet (each column is a different device in my case). On my 'device summary' worksheet I have each row as a new day. So I need the reference cell on my 'device summary' worksheet to reference the corresponding cell in my 'dataset' worksheet in this way:

    Device Summary | DataSet
    C4 | C4
    C5 | C58
    C6 | C112

    Hopefully that is a clear enough explanation.

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: How Do I Combine OFFSET With INDEX MATCH

    Just a guess ...
    Please Login or Register  to view this content.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    06-07-2012
    Location
    boston ma
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: How Do I Combine OFFSET With INDEX MATCH

    Thanks Marcol but there seems to be a minor problem in that instead of skipping 54 rows, it's actually skipping 108 rows.

  6. #6
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: How Do I Combine OFFSET With INDEX MATCH

    Why not post a sample of your workbook in Excel form rather than pictures?

  7. #7
    Registered User
    Join Date
    06-07-2012
    Location
    boston ma
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: How Do I Combine OFFSET With INDEX MATCH

    I actually realized what it is. If you remove the "$" from this part +(ROWS($1:1)-1)*54, of your formula, it works.

  8. #8
    Registered User
    Join Date
    06-07-2012
    Location
    boston ma
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: How Do I Combine OFFSET With INDEX MATCH

    Thanks big time for your help Marcol!

  9. #9
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: How Do I Combine OFFSET With INDEX MATCH

    Hmm?
    If you remove the "$" from this part +(ROWS($1:1)-1)*54
    (ROWS(1:1)-1)*54 equates to 0 i.e. (1-1)*54
    Dragged down that will not change, so your original formula must work ...
    =INDEX('your range',Match('your conditions')+0,'your column ref')

    See this workbook to see how using ROWS() as a counter/index can work
    Attached Files Attached Files

+ 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