Results 1 to 22 of 22

REF ERROR: Sum, Offset and Indirect functions to map sum alternating ranges of values

Threaded View

  1. #1
    Registered User
    Join Date
    11-18-2020
    Location
    Nicaragua
    MS-Off Ver
    EXCEL V16.39
    Posts
    21

    Exclamation REF ERROR: Sum, Offset and Indirect functions to map sum alternating ranges of values

    Hello,

    I am having difficulty with a certain function. It is as follows: =SUM(OFFSET(INDIRECT("I"&U7),,,S8,1)). The idea is to sum all of the values in a range from the starting row (distinguished by cell U7) to the end row (distinguished by S8), across a single column (I). For some reason, this formula works perfectly when I apply it to about 30 cells or less, but gives me a reference error when I apply it to values greater than that. I have attached my worksheet, demonstrating this problem. Please see the following REF Errors in cells S2, T2 (They are mirrored in W2 and X2 but a solution to the former will apply just the same).

    For clarity, I have a string which details the amount of cells to observe, based on the total time (cells 012:014). Essentially, I record data at 240 fps, and therefore just 3-4 minutes of data donates tens of thousands of data points, which is necessary for my work. In order to easily manipulate the range of values analyzed by the S2 and T2 cells, please change the time values; they are in a custom format of mm:ss.00. Sheet 1 is my formulas working with 2 data points per interval (Although it works at 2400 data points per interval as well for some reason - does this have to do with equal intervals or something?) and sheet 2 is a closer realistic amount of data per interval (Although, again, I'm normally in the tens/hundreds of thousands) demonstrating no differences outside of my formulas (Just the INTERVALS) and depicting a REF error in ST and T2.

    Edit: The original file I posted lacked a working example of the formula in question. I have attached a new file (Example of formula working) demonstrating how the file can sometimes work, sometimes faulted. Please refer to this file. The ranges over which the formula should act are past the mark of the included data (excised due to submission limitations) but the theory remains the same. If you perform error tracing, Excel suggests my initial ranges in the formula are what is causing the error, independent of the data being retrieved (As evidenced by the value 0 in S2 vs #REF in T2).

    Please, if anyone could offer their assistance in this manner it would be genuinely appreciated!
    Thank you for your time.
    Attached Files Attached Files
    Last edited by SapphireZulu; 11-18-2020 at 01:55 PM. Reason: I am editing this to to include an excel file demonstrating the formula working in S2, but not T2. I have no idea why this occurs. Pls help

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 05-18-2016, 04:50 AM
  2. Replies: 4
    Last Post: 04-02-2016, 07:12 AM
  3. Offset and Indirect with Dynamic Named Ranges
    By nickmangan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-07-2014, 10:42 PM
  4. [SOLVED] INDIRECT Functions and Date Ranges
    By DSwartz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-09-2013, 12:31 PM
  5. [SOLVED] Combining IF, OFFSET and INDIRECT functions.
    By dowell89 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-30-2013, 05:50 AM
  6. [SOLVED] Combining OFFSET, Indirect and IF functions
    By dowell89 in forum Excel General
    Replies: 3
    Last Post: 10-25-2013, 06:20 AM
  7. Error while using loop and offset functions
    By Fei.R in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-19-2012, 10:57 PM

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