+ Reply to Thread
Results 1 to 2 of 2

SUM doesn't work in a long array formula

  1. #1
    Registered User
    Join Date
    10-18-2019
    Location
    London
    MS-Off Ver
    Office365
    Posts
    1

    SUM doesn't work in a long array formula

    Hi!

    I'm trying to use a SUM that is working on its own in a large formula that I need to operate as an array (CSE) but inside that long formula it just calculates 0.

    This is the sum I want to use: SUM(VALUE($Q$2:INDIRECT("Q"&ROW()-1))) - Basically I want to sum up all the values on top of a given one in a column.

    When I include it in the bigger formula and I evaluate it, I get SUM(#VALUE) so result is 0, but when I use it in a normal cell, even if I execute it as CSE, it works.

    As for the part in the bigger formula that needs to be operated in an array is this one:

    SUM(IF(CONDITION,1/RANGE)) - I'm trying to sum the reciprocals of certain values if they meet a condition (1/n+1/m+1/p...etc) This is the only way I've managed to do it

    Any ideas on why this is happening?

    Thanks!

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: SUM doesn't work in a long array formula

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

+ 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. Array formula doesn't work (CTRL+SHIFT+ENTER)
    By Ztv in forum Excel Formulas & Functions
    Replies: 65
    Last Post: 04-07-2021, 12:29 AM
  2. array formula doesn't work
    By zarize92 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-15-2019, 05:40 AM
  3. Simple SUM array formula doesn't work. Bug?
    By Zahum in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-05-2016, 08:35 AM
  4. [SOLVED] IF formula in ARRAY = works <> doesn't work
    By bkanealy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-02-2014, 09:31 AM
  5. [SOLVED] weekday() result used in an array formula doesn't work. Formula works if i type in date
    By aarco50 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-25-2014, 03:25 PM
  6. [SOLVED] Cannot get specific array formula to work with VBA? (LONG CODE)
    By magicbob007 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-05-2012, 10:22 PM
  7. Excel 2007 : CSE Array Formula doesn't work
    By srschiller in forum Excel General
    Replies: 12
    Last Post: 11-17-2011, 04:35 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