+ Reply to Thread
Results 1 to 9 of 9

Sumproduct produces #N/A

Hybrid View

  1. #1
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    97

    Sumproduct produces #N/A

    I have 1200 rows of data and I am trying to sum up the quantity of defects for month/year using SUMPRODUCT; works great. When I alter the formula to incorporate 25000 rows of data to prevent from manual editing down the road when we add additional data the result changes to #N/A

    Is there another method to do, or something I am missing?

    =SUMPRODUCT((I2=$I$2:$I$25000)*(MONTH(A2)=MONTH($A$2:$A$25000))*(YEAR(A2)=YEAR($A$2:$A$25000)))
    Thank you so much.

  2. #2
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Sumproduct produces #N/A

    If you're worried about dynamic ranges and not wanting to have to worry about changing the ranges manually, you could always make your data table an Excel Table by highlighting the data range, press CTRL+T, and insert your formula there. Your SUMPRODUCT formula will then autoadjust to take into account the new data entered.

    That said, what is the result of the data in column I? Is it text or numerical data? You may want to upload a sample workbook too.
    Spread the love, add to the Rep

    "None of us are as smart as all of us."

  3. #3
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Sumproduct produces #N/A

    Quote Originally Posted by mcmahobt View Post
    If you're worried about dynamic ranges and not wanting to have to worry about changing the ranges manually, you could always make your data table an Excel Table by highlighting the data range, press CTRL+T, and insert your formula there. Your SUMPRODUCT formula will then autoadjust to take into account the new data entered.

    That said, what is the result of the data in column I? Is it text or numerical data? You may want to upload a sample workbook too.
    Thanks for your reply, Column M and P are the SUMPRODUCT columns I want to extend to 25000 rows.

    Sample - SUMPRODUCT Issue.xlsx

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

    Re: Sumproduct produces #N/A

    Are there any #N/A errors within any of the referenced ranges ?
    You'ld have to eliminate those.

  5. #5
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Sumproduct produces #N/A

    Quote Originally Posted by Jonmo1 View Post
    Are there any #N/A errors within any of the referenced ranges ?
    You'ld have to eliminate those.
    Thanks for your reply, I attached the workbook in my last post, I didn't seem to find any #N/A errors.

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

    Re: Sumproduct produces #N/A

    You have #N/A error values in column I (I552 I554 & I558)
    Clear those errors and the sumproduct will be fine.

  7. #7
    Registered User
    Join Date
    04-02-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    97

    Re: Sumproduct produces #N/A

    Quote Originally Posted by Jonmo1 View Post
    You have #N/A error values in column I (I552 I554 & I558)
    Clear those errors and the sumproduct will be fine.
    Of course I do My bad. Thank so much for everyone's help

  8. #8
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Sumproduct produces #N/A

    I552, I554 & I558 are having #N/A.Correct it.
    Last edited by kvsrinivasamurthy; 03-30-2015 at 10:54 AM.

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

    Re: Sumproduct produces #N/A

    You're welcome.

    FYI, you can use the SpecialCells function to help find errors (much easier than looking for them with your eyes)
    Highlight the range of cells and press CTRL + G, Click special
    There are alot of options in there that can hlep you find certain types of cell values.

+ 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. [SOLVED] Why the formula with #REF! still produces 0 value
    By alice2011 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-16-2014, 06:12 PM
  2. Same vba routine produces different results
    By john1674 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-10-2013, 05:44 AM
  3. X that produces the highest Y
    By TheFormulamonster in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-06-2013, 04:40 PM
  4. Over 16 Digits produces all zeros
    By troon in forum Excel General
    Replies: 5
    Last Post: 05-01-2009, 01:03 PM
  5. Column SUM produces #N/A
    By JOGIER in forum Excel General
    Replies: 3
    Last Post: 12-24-2008, 03:33 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