+ Reply to Thread
Results 1 to 1 of 1

Fix SUMIF to return value of zero if match isn't found

  1. #1
    Registered User
    Join Date
    02-11-2013
    Location
    eugene, or
    MS-Off Ver
    Excel 2011
    Posts
    74

    Fix SUMIF to return value of zero if match isn't found

    Hey guys, I have a bit of code that generates a formula in specific cells, and for the most part works how I want it to, but I need to find a way to tell it if no match is found, to return a numerical value of zero. Right now the formula searches the workbook QB Output for the same invoice numbers found in the workbook the formula is in, if a match is found it adds up the items serviced and outputs a total. However, if the invoice number is not found the cell is left blank, which causes issues later in the code. So any help explaining to me how to make it return a value of "0" if no match is found, would be really helpful...

    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    11-29-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    0

    Re: Fix SUMIF to return value of zero if match isn't found

    change the """" to 0

+ 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