+ Reply to Thread
Results 1 to 7 of 7

Trying to find sums with #N/A involved

  1. #1
    Registered User
    Join Date
    06-22-2012
    Location
    Rockford, IL
    MS-Off Ver
    Excel 2010
    Posts
    5

    Trying to find sums with #N/A involved

    I am currently struggling with trying to find the sums because the #N/A is involved. I have attached an example of what I am working on. Basically there is different levels of totals I am trying to get the first is the various total (the yellow box and they are grouped togethor). Second is the subtotal (blue which includes the various totals). The third is the total of all the accounts (Red). There isn't really anyway to go around the #N/A because it is pulled from a system. If there is any solution that would be great. This is just a small example and I'm dealing with a several hundred accounts.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Trying to find sums with #N/A involved

    maybe with a pivot table. (see my example).
    Attached Files Attached Files
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Trying to find sums with #N/A involved

    hmm could you use a helper column to pull the values from C into, say, F, to exclude the #NA, and then base your totals on that? for instance in F5...

    =IF(ISNUMBER(C5),C5,"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    03-15-2007
    Location
    AL, USA
    MS-Off Ver
    2007
    Posts
    174

    Re: Trying to find sums with #N/A involved

    Using that sheet you posted, for the "other suptotal":

    =SUMIF(C24:C33, "<>#N/A")

    and you can use that for the other subtotals as well.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Trying to find sums with #N/A involved

    =SUMIF(C1:C33,"<>#n/a")
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Trying to find sums with #N/A involved

    LOL i was wondering why that didnt work when i tried that at 1st, and now i just saw why...i left the / out of the N/A

  7. #7
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Trying to find sums with #N/A involved

    Since you are on Excel 2010 take a look on AGGREGATE function. There are options like "Ignore error values, nested SUBTOTAL and AGGREGATE functions"
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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