+ Reply to Thread
Results 1 to 8 of 8

Sumproduct returning #N/A on multiple criteria

  1. #1
    Registered User
    Join Date
    10-13-2015
    Location
    Uk
    MS-Off Ver
    2013
    Posts
    3

    Question Sumproduct returning #N/A on multiple criteria

    Hi

    Read a previous post with an identical issue as me but still cannot resolve my problem! I am trying to create a sumproduct on multiple criteria - I cannnot see anything wrong with the formula but it still does not work! As per the OP on the post I looked at, I am now tearing my hair out! I have inserted curly brackets via ctl shft and enter but with or without them it still does not work. The $A$8, and C$3, I have copied the values from the data sheet so there should be no issue with #n/a due to formatting. Please help!

    =SUMPRODUCT(('[2016 GL transactions.xlsx]Sheet1'!$P$2:$P$64188=$A$8)*('[2016 GL transactions.xlsx]Sheet1'!$K$2:$K$64188=C$3)*('[2016 GL transactions.xlsx]Sheet1'!$D$2:$D$64188))

  2. #2
    Registered User
    Join Date
    10-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Sumproduct returning #N/A on multiple criteria

    Are you trying to sum on Sheet1 D2:D64188? If so,

    =SUMPRODUCT(('[2016 GL transactions.xlsx]Sheet1'!$P$2:$P$64188=$A$8)*('[2016 GL transactions.xlsx]Sheet1'!$K$2:$K$64188=C$3),'[2016 GL transactions.xlsx]Sheet1'!$D$2:$D$64188)

    If not, then maybe post a sample so I get a better idea.

  3. #3
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumproduct returning #N/A on multiple criteria

    I think the most likely cause of the #N/A with that formula is if there are any existing #N/A errors within any of the referenced ranges.

    If that's the case, try SUMIFS instead
    =SUMIFS('[2016 GL transactions.xlsx]Sheet1'!$D$2:$D$64188,'[2016 GL transactions.xlsx]Sheet1'!$P$2:$P$64188,$A$8,'[2016 GL transactions.xlsx]Sheet1'!$K$2:$K$64188,C$3)

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumproduct returning #N/A on multiple criteria

    Note that using SUMIFS requires that the source file be open.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    10-13-2015
    Location
    Uk
    MS-Off Ver
    2013
    Posts
    3

    Re: Sumproduct returning #N/A on multiple criteria

    Hi all

    Thanks but I use SUMIFS all the time and I need to have the data without the source file being open so SUMIFS is not an option.

    How do i post an example as per swiftrain please?

  6. #6
    Registered User
    Join Date
    10-12-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    62

    Re: Sumproduct returning #N/A on multiple criteria

    instead of "post quick reply", click on advanced and scroll down to "Manage attachments", you can upload from there. It will default to inline, which is fine.

  7. #7
    Registered User
    Join Date
    10-13-2015
    Location
    Uk
    MS-Off Ver
    2013
    Posts
    3

    Re: Sumproduct returning #N/A on multiple criteria

    OK thanks. I think I have resolved my problem...by accident I shortened the range and it worked and I realised that the fault was occurring on a cell with #N/A data in my range, therefore it kind of stopped reading the whole data list.

    Seems to be working for now but thanks anyway, I am sure I'll be back with more issues at some point.

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Sumproduct returning #N/A on multiple criteria

    You're welcome.

+ 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. Replies: 2
    Last Post: 08-07-2015, 12:42 AM
  2. [SOLVED] Vlookup multiple criteria returning multiple values
    By ykobure in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 04-16-2015, 07:28 AM
  3. [SOLVED] Multiple criteria SUMPRODUCT (3 criteria) Excel 2003
    By lelrich in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-10-2014, 01:58 PM
  4. [SOLVED] Two criteria Index Match on multiple sheets returning multiple values
    By Joak in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2014, 10:03 AM
  5. Looking up multiple criteria and returning a value
    By Jaice in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-10-2014, 09:05 AM
  6. Replies: 6
    Last Post: 08-04-2013, 11:53 AM
  7. Replies: 5
    Last Post: 04-20-2012, 08:54 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