+ Reply to Thread
Results 1 to 4 of 4

Ref# error on sum(index(match))

  1. #1
    Registered User
    Join Date
    03-14-2014
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2010
    Posts
    11

    Ref# error on sum(index(match))

    Ok I have a workbook with several linked workboooks. Currently to update values ALL the source files have to be opened. I figured it was the use of the OFFSET() function that caused this, so to fix this I have tried index match and sums. Still get the REF# error until I open the source file.

    Old code
    Please Login or Register  to view this content.
    Tried a sumproduct to replace still gives ref#
    Please Login or Register  to view this content.

    tried just sum still gives ref#
    Please Login or Register  to view this content.
    Individually the Index() functions work, but when I try to sum(index():Index()) I get ref#.

    Any help would be Apprecaited. Oh and when the source file is open it works just fine.

    Thanks
    JR
    Last edited by JayRab; 03-14-2014 at 12:48 PM.

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Ref# error on sum(index(match))

    REF# suggest tat there is missing range or tab/workbook - generally formula is pointing to non existing data.
    Verify all your links
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

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

    Re: Ref# error on sum(index(match))

    Assuming that you have dates in Results'!$D$9:$D$374 and you want to sum Results'!$CM$9:$CM$374 for rows when those dates are >= MTD!H15 and <=B4 try this formula

    =SUMPRODUCT((K:\Mill\Shared Files\[Operator Data 2014 MTN.xlsx]Results'!$D$9:$D$374>=MTD!H15)*(K:\Mill\Shared Files\[Operator Data 2014 MTN.xlsx]Results'!$D$9:$D$374<=B4),K:\Mill\Shared Files\[Operator Data 2014 MTN.xlsx]Results'!$CM$9:$CM$374)
    Audere est facere

  4. #4
    Registered User
    Join Date
    03-14-2014
    Location
    Nashville, TN
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: Ref# error on sum(index(match))

    Quote Originally Posted by daddylonglegs View Post
    Assuming that you have dates in Results'!$D$9:$D$374 and you want to sum Results'!$CM$9:$CM$374 for rows when those dates are >= MTD!H15 and <=B4 try this formula

    =SUMPRODUCT((K:\Mill\Shared Files\[Operator Data 2014 MTN.xlsx]Results'!$D$9:$D$374>=MTD!H15)*(K:\Mill\Shared Files\[Operator Data 2014 MTN.xlsx]Results'!$D$9:$D$374<=B4),K:\Mill\Shared Files\[Operator Data 2014 MTN.xlsx]Results'!$CM$9:$CM$374)
    All your assumptions where correct of course AND it work perfectly, thanks again. I will dissect this formula and see how it differs from mine and figure out how it works. Thanks again.

+ 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. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  2. Index Match N/A Error
    By Henry c in forum Excel General
    Replies: 1
    Last Post: 08-19-2010, 04:07 AM
  3. Index match error
    By CESAR V. ARROYO in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-02-2010, 03:11 PM
  4. Index & Match error
    By vb613 in forum Excel General
    Replies: 3
    Last Post: 04-24-2007, 06:12 AM
  5. Index Match Error
    By dfab100 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-19-2007, 01:04 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