+ Reply to Thread
Results 1 to 3 of 3

Sum array #value! Error

  1. #1
    Registered User
    Join Date
    02-14-2012
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    18

    Sum array #value! Error

    I use this formula (see below) in a report I run every month. I have been using it in the same way for years. Now, all of a sudden, I am getting a #VALUE! error. I format everything the same every time I run the report. I have even started this report from scratch twice to make sure it wasn't something else from another sheet or a formatting issue causing the error.

    The formula (except for today) sums column C of the 'WYT3' tab when column B of the 'All Exceptions' tab matches column C of 'WYT3' and column F of 'All Exceptions' matches column A of 'WYT3'.

    "=SUM(('WYT3'!$C$2:$C$###)*(B2='WYT3'!$C$2:$C$###)*(F2='WYT3'!$A$2:$A$###))" [in this example ###=1701 on 'WYT3'
    Attached Files Attached Files
    Last edited by chrisboughter; 08-01-2013 at 03:41 PM. Reason: Solved

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

    Re: Sum array #value! Error

    Are you sure that's right? You have column C as both criteria column and the column to sum, that's a little unusual......

    Which version of Excel are you using? If it's Excel 2007 or later SUMIFS would probably be better for you
    Audere est facere

  3. #3
    Registered User
    Join Date
    02-14-2012
    Location
    Cincinnati, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: Sum array #value! Error

    Hi daddylonglegs,

    Thanks for the reply. I found out what the problem was. If you look at column C being summed on tab 'WYT3' I found a non number value in cell C1372. Funny thing is, it will sum column C of tab 'WYT3' by itself but when you add the 2nd test it fails. I took out the non-number value and the forumula works perfectly as it always.

    Thanks,
    Chris

+ 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. Defining Array - Runtime error 9, Subscript out of range error
    By MaartenW in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-03-2012, 07:32 AM
  2. Integer defined array vs variant defined array ..error making assignment to integer
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-07-2011, 01:48 PM
  3. Array loop producing error "Run time error '1004'"
    By jeskit in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 05-06-2011, 08:56 AM
  4. Array problem: Key words-Variant Array, single-element, type mismatch error
    By davidm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-09-2005, 01:54 AM
  5. Array problem: Key words-Variant Array, single-element, type mismatch error
    By davidm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-08-2005, 12:30 AM

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