+ Reply to Thread
Results 1 to 6 of 6

Get SUM to ignore ### in a column

  1. #1
    Forum Contributor
    Join Date
    01-26-2008
    Posts
    124

    Get SUM to ignore ### in a column

    I am using a lookup function to return nalues to a column. Some of the values returned are ### and I cannot SUM this column. I either need to adjust the lookup formula to not return ### or adjust the SUM function to ignore ###. Any ideas?

    Thanks!

    Jim O
    Last edited by JOGIER; 03-22-2009 at 06:30 PM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,077

    Re: Get SUM to ignore ### in a column

    At the moment we're all working in the dark except for you, post your file here.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717

    Re: Get SUM to ignore ### in a column

    u can adjust ur vlookup
    something similar to below

    Please Login or Register  to view this content.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Get SUM to ignore ### in a column

    Presumably the error from a lookup is #N/A, not ###.

    =SUM(IF(NOT(ISNA(A1:A10)), A1:A10))

    Confirmed with Ctrl+Shift+Enter.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,698

    Re: Get SUM to ignore ### in a column

    This formula will sum positive values and ignore errors

    =SUMIF(A1:A10,">0")

    or, if you have negative numbers too you can just SUM without #N/A

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

  6. #6
    Forum Contributor
    Join Date
    01-26-2008
    Posts
    124

    Re: Get SUM to ignore ### in a column

    Thanks to all for the information. That takes care of the problem.

    Jim O

+ 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