+ Reply to Thread
Results 1 to 4 of 4

Sum formula not working with #n/a cells.

  1. #1
    Registered User
    Join Date
    09-10-2011
    Location
    Battle Creek, MI
    MS-Off Ver
    Excel 2011
    Posts
    9

    Sum formula not working with #n/a cells.

    I am creating a blank billing sheet and I have got a couple of different formulas in there. I am trying to use a sum formula at the bottum to sum the totals of labor and equipment. The sum won't total if there are cells with the #n/a. What I've got is a VLOOKUP formula to pull up the rate and then a HRS Worked column. The rate and HRS Worked multiply to give a labor total for one person. But, If there is no classifiacation the VLOOKUP cannot bring up a rate and therefore cannot put a labor total in for that person. I have a labor total at the bottum for all of the employers. That will not total if there is one cell with out a total for one employee. If there is not a total for an employee it will show up as #n/a because the formula cannot total for that employee.


    I would think that there is a way that you can sum the column even if there is a #n/a cell in the column.

    Any help is greatly appreciated.

    Thanks,
    Brian

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Sum formula not working with #n/a cells.

    Hi bmonaweck02 and welcome to the forum,

    Fix the formulas that give the #N/A so they display zero instead.

    If they are like:
    Please Login or Register  to view this content.
    Make them:
    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

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

    Re: Sum formula not working with #n/a cells.

    There are also some options to sum a range and ignore errors, you can sum column A ignoring #N/A errors with this formula

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

    ....or use this one to sum the same column and ignore any errors

    =AGGREGATE(9,6,A:A)
    Audere est facere

  4. #4
    Registered User
    Join Date
    09-10-2011
    Location
    Battle Creek, MI
    MS-Off Ver
    Excel 2011
    Posts
    9

    Re: Sum formula not working with #n/a cells.

    I got it thank you very much to all who responded. I used the =AGGREGATE function.

+ 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