+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT formula to ignor #NA

  1. #1
    Registered User
    Join Date
    08-30-2011
    Location
    Australia
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    57

    SUMPRODUCT formula to ignor #NA

    I Have the following SUMPRODUCT formula that I am using to count the number of people between the ages of 18 & 30, it works fine except if the data is missing and it shows a #N/A the it does not calculate. I have tried various modifications to the formula such as ISNUMBER ISERROR but to no avail, hoping someone can steer me in the right direction with this.

    Current formula
    Please Login or Register  to view this content.
    Have tried
    Please Login or Register  to view this content.
    Also tried
    Please Login or Register  to view this content.
    Thanks for any assistance

  2. #2
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,907

    Re: SUMPRODUCT formula to ignor #NA

    Try this ...

    =SUM(IF(ISNUMBER(A3:A20),(A3:A20>=18)*(A3:A20<=30)))

    Enter with Ctrl+Shift+Enter.

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: SUMPRODUCT formula to ignor #NA

    you can try (Ex2007 and above) IFERROR(your formula,"") or for 2003 and above IF(ISERROR(your formula),"",your formula)

  4. #4
    Registered User
    Join Date
    08-30-2011
    Location
    Australia
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    57

    Re: SUMPRODUCT formula to ignor #NA

    Thanks Phuocam & Sandy, Phuocam your formula works as I need, I also found that a Countifs formula works as well
    Please Login or Register  to view this content.
    so I will mark this as solved, thanks again for the help.

+ 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. how to make excel ignor letters in a cell
    By tukae in forum Excel General
    Replies: 7
    Last Post: 12-06-2014, 01:53 AM
  2. Need to Filter top 10 and ignor hidden values
    By Rob89 in forum Excel General
    Replies: 4
    Last Post: 11-07-2014, 08:14 PM
  3. [SOLVED] CountIFS with multiple criteria to ignor blank cells
    By dbaker4020 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-02-2013, 09:03 AM
  4. Use Xldown to find cell, but ignor Formula in cells
    By t0m46 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2010, 07:46 AM
  5. Ignor Spaces
    By stevekirk in forum Excel General
    Replies: 5
    Last Post: 09-28-2006, 10:49 AM
  6. Ignor blank cells
    By stevekirk in forum Excel General
    Replies: 4
    Last Post: 09-03-2006, 04:40 PM
  7. How to count the number of cells used, but ignor 0
    By rmwarde in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-10-2005, 12:10 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