+ Reply to Thread
Results 1 to 3 of 3

Ignore #REF! when adding columns?

  1. #1
    Registered User
    Join Date
    08-17-2005
    Posts
    27

    Ignore #REF! when adding columns?

    I have a spreadsheet that updates links from other sheets daily. At the bottom it tallies the monthly runing totals.Since some of the source sheets do not have data yet entered, I get a #REF! in my cells that have no data, therefore my monthly accumalated also has #REF!.
    How can I get it to ignore the #REF! and/or show these as blank?
    Thanks-Greg

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    Of course you could edit each of your formulas with an IF statement to check for error codes and, if exist, return "" (this would be a lot of work, I'm thinking).

    =IF(ISERROR(yourlinkhere),"",yourlinkhere)

    However, this works for me and is only one cell to change:

    =SUMIF(yourrange,">=0")+SUMIF(yourrange,"<0")

    enter cell references to tally in place of 'yourrange'

    This should ignore all cells with errors, text and the like.

    Good Luck
    Last edited by swatsp0p; 10-28-2005 at 12:32 PM.
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Dave O
    Guest

    Re: Ignore #REF! when adding columns?

    Where #REF! is returned, you might change your formula to
    =IF(ISNUMBER(your formula here),your formula here,"")

    This will prevent REF! from returning, and the sum will evaluate
    properly.


+ 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