+ Reply to Thread
Results 1 to 3 of 3

Suming Columns While Ignoring #VALUE! Errors in the Columns

  1. #1
    Registered User
    Join Date
    08-18-2014
    Location
    USA
    MS-Off Ver
    MS Office 2007
    Posts
    21

    Suming Columns While Ignoring #VALUE! Errors in the Columns

    Hi,

    When there is a cell with the #VALUE! error in a column that I want to sum, the sum function displays the same error. I want the function to display the sum of all the values within the column that do not have the #VALUE! error. Here is my current code for one of the columns:

    Please Login or Register  to view this content.
    The code was developed so that if there is a new row inserted, it will include that row in the function. Thanks for the help.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Suming Columns While Ignoring #VALUE! Errors in the Columns

    Why don't get rid of #VALUE! errors in the range?

    Just put
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    instead of your current formula.

  3. #3
    Registered User
    Join Date
    08-18-2014
    Location
    USA
    MS-Off Ver
    MS Office 2007
    Posts
    21

    Re: Suming Columns While Ignoring #VALUE! Errors in the Columns

    Hi Zbor,

    I completely agree with you. I am finding it difficult to change the function that I currently have in the cell. The cell only displays the error when the Annual cell is ="N/A". Here is the code for the function:

    Please Login or Register  to view this content.
    If I could include the current code I have here into this cell, and have it display "N/A" instead of #VALUE!, that would be great. The reason I receive the error is because the Annual cell is equal to "N/A". That is why I decided to change the sum function for the column. Thought it might be easier. Thanks for the help.
    Last edited by Stryker152; 08-21-2014 at 09:32 AM.

+ 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. Suming up alternative rows/columns
    By Phaneendra in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2013, 10:47 AM
  2. How to paste ignoring the hidden columns
    By nirola in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-13-2013, 01:15 AM
  3. Averaging Filtered Columns while ignoring zero
    By kritter in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-04-2012, 09:49 PM
  4. suming last 3 columns in pivot table
    By richurb in forum Excel General
    Replies: 0
    Last Post: 03-19-2010, 09:04 AM
  5. Vlookup and Suming columns
    By Paul1975 in forum Excel General
    Replies: 1
    Last Post: 10-08-2008, 10:30 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