Results 1 to 11 of 11

sumproduct suddenly returning #NAME? - why is it failing?

Threaded View

  1. #1
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,682

    sumproduct suddenly returning #NAME? - why is it failing?

    I've been looking at this for the last couple of hours. I am posting here to get another set of eyes on it and attaching a sample with altered locations but the same data in sheet1 columns K through T. My formulas in the attached are in sheet2 and data in sheet1 and to keep it similar I only used columns A and K through T.
    This was my working formula until I updated the workbook this morning.
    =SUMPRODUCT(('Contributing Factors'!$A$2:$A$7488=$D$2)*('Contributing Factors'!$K$2:$T$7488=$C870))
    This is in my attachment and also returning #NAME?
    =SUMPRODUCT((Sheet1!$A$2:$A$4337=$B$1)*(Sheet1!$K$2:$T$4337=$C2))
    in col A of sheet1 is the name that matches what is in D2.
    in columns K through T are the items I'm looking to count that matches what is in cell C2.

    Every month the new data has a different count from the prior month.
    So last month there were 4370 rows. This month 4337 rows. I always included extra rows in the formula but not whole columns (because I don't like using named tables).
    So I paste over the existing data and if there are fewer rows this month I just highlight and hit delete.
    This morning I right clicked and used delete rows which of course changes the rows included in the formulas that reference them.
    That is the only difference I did this morning that I have not done in the past.

    Right now I'm just using a multiple countifs formula doing the counts column by column and adding them.
    I am using similar sumproduct formulas elsewhere and none of them are returning #NAME?
    Usually that shows up when you misspell a formula like sunproduct.
    Last edited by Sam Capricci; 08-13-2020 at 07:45 PM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Code suddenly started failing - not sure why!
    By Natemaru in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-02-2020, 09:45 AM
  2. Replies: 1
    Last Post: 02-16-2020, 01:20 PM
  3. Formula was working fine and suddenly is returning a N/A
    By jphilipson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2019, 01:21 AM
  4. [SOLVED] Sumproduct formula failing after turn of the year
    By sipa in forum Excel General
    Replies: 5
    Last Post: 01-01-2017, 01:13 PM
  5. [SOLVED] ListBox Suddenly Failing to Load Data
    By omagoodness in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-18-2016, 09:08 AM
  6. Multiple date based SUMPRODUCT failing
    By smninos in forum Excel General
    Replies: 14
    Last Post: 11-24-2009, 02:30 PM
  7. [SOLVED] Sumproduct suddenly not working
    By Andy in forum Excel General
    Replies: 7
    Last Post: 07-11-2005, 06:05 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