+ Reply to Thread
Results 1 to 3 of 3

sumif producing SPILL error

  1. #1
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    sumif producing SPILL error

    I'm running into a new problem with SUMIF. A workbook illustrating the prob is attached.

    What I want is a single cell (not a range of cells) to give me the sum of values in M30:M231 if the corresponding row in column C ="L"

    So if C31="L" then we include M31 in the addition.

    The formula either produces a 0 as a result, or a !Spill error, depending on whether the criteria is written as C30="L" or C30:C231="L".

    I've also tried SUMIFS and the formula still wants to spill into the rows below.

    Not sure what I'm doing wrong.

    Any advice? thanks!
    Attached Files Attached Files

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

    Re: sumif producing SPILL error

    Like this ? =SUMIF(C30:C231,"L",M30:M231)

  3. #3
    Forum Contributor
    Join Date
    12-03-2008
    Location
    Key West, FL
    MS-Off Ver
    365 Apps for Enterprise
    Posts
    665

    Re: sumif producing SPILL error

    Thanks Pepe, that worked!

+ 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. SUMIF producing unexpected zero results
    By WilliamRSA in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-29-2019, 08:43 AM
  2. Help: DAX Formula Error - Producing same value all the way down column
    By tbucki1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-27-2017, 12:06 PM
  3. [SOLVED] Countif with Sumif is producing a single error in output
    By sipa in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 12-30-2014, 07:34 AM
  4. [SOLVED] Syntax producing an error
    By paradise2sr in forum Excel General
    Replies: 7
    Last Post: 05-25-2014, 12:13 PM
  5. loop that keeps producing a next without for error
    By Sc0tt1e in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 03-26-2014, 04:49 AM
  6. [SOLVED] Workbook Event Producing an Error
    By BeachRock in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-12-2014, 01:42 PM
  7. VBA code suddleny producing an error
    By drgogo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2010, 07:18 AM

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