Results 1 to 11 of 11
  1. #1
    3 Star Lounger
    Join Date
    May 2001
    Location
    Berkeley, California, USA
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    sum ignore '#VALUE!' (Office 97 SR2)

    I wish to sum a long column which contains some "#VALUE!" errors and ignore those errors.
    How can I do that.

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Salt Lake City, Utah, USA
    Posts
    9,508
    Thanks
    0
    Thanked 6 Times in 6 Posts

    Re: sum ignore '#VALUE!' (Office 97 SR2)

    Array enter (Ctrl-Shift-Enter) this formula:

    =SUM(IF(ISERROR(range),,range))
    -John ... I float in liquid gardens
    UTC -7ąDS

  3. #3
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: sum ignore '#VALUE!' (Office 97 SR2)

    ...and add the NOT right after the IF ~~~ IF(NOT(ISERROR~~~ <img src=/S/smile.gif border=0 alt=smile width=15 height=15>

  4. #4
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: sum ignore '#VALUE!' (Office 97 SR2)

    Why? I don't see anything wrong with John's formula.
    Legare Coleman

  5. #5
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: sum ignore '#VALUE!' (Office 97 SR2)

    Because the formula as posted returns #VALUE! when summing a range which contains #VALUE!. At least it does in xl2000, maybe not in 97.

  6. #6
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: sum ignore '#VALUE!' (Office 97 SR2)

    It works fine for me on XL2K. I only get the result you describe if I leave out one of the commas in the IF so that it returns the range on the true condition instead of the false.
    Legare Coleman

  7. #7
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: sum ignore '#VALUE!' (Office 97 SR2)

    If you forget to hold control-shift, one also gets #Value!.
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  8. #8
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: sum ignore '#VALUE!' (Office 97 SR2)

    OOPS, my mistake, sorry John, Legare!

  9. #9
    New Lounger
    Join Date
    Apr 2001
    Location
    Lititz, Pennsylvania, USA
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: sum ignore '#VALUE!' (Office 97 SR2)

    If there's a specific error you want to ignore, you can use SUMIF -->
    in this case
    =SUMIF(range,"<>#VALUE!")

  10. #10
    3 Star Lounger
    Join Date
    May 2001
    Location
    Berkeley, California, USA
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: sum ignore '#VALUE!' (Office 97 SR2)

    I got an error message that said "Type Mismatch"?

  11. #11
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    South Carolina, USA
    Posts
    7,295
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: sum ignore '#VALUE!' (Office 97 SR2)

    Could you show us the formula you used and did you hold down Ctrl/Shift when you pressed enter?
    Legare Coleman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •