Hi, I have a worksheet called 'Overall' which adds totals for years relating to dates in other worksheets ('Sell and Purchases') using a SUMPRODUCT Function.
This works fine but I'm looking for cells to be blank rather than 0 if all of the referencing cells for that particular year are blank in that worksheet. So I need an IF Function but I'm not sure how to do this.
Take the year 2012 for example in the Overall Sheet:
Total - 2012 (Cell D7 - Overall Worksheet)
* If 'Sell' and 'Negative' for 2012 are blank, Overall Total equals blank.
* If 'Sell' or Negative' equals 0 or more for 2012, sum takes places with additions.
Sell - 2012 (Cell B7 - Overall Worksheet)
* If 2012 has no date entries in 'Sell' Worksheet, this will be blank.
* If entries in 'Sell' Worksheet equal 0 or more, sum takes place with additions for this date.
Purchases - 2012 (Cell C7 - Overall Worksheet)
* If 2012 has no date entries in 'Purchases' Worksheet, this will be blank.
* If entries in 'Purchases' Worksheet equal 0 or more, sum takes place with additions for this date.
Please find attached sample workbook.
Any help with this would be great. Thanks.
Bookmarks