Sum two data ranges when met two conditions

  • Thread starter Thread starter primi.gi
  • Start date Start date
P

primi.gi

Hi All,
I need to sum up some data from two ranges (on to different sheets) when
data meets two conditions.
It's an accountancy spreadsheet and I have one sheet for Clients, one for
Invoices, one for Forecast, and so on. In a cell of a different sheet I would
need to sum all Invoices (total money) of a Client (first condition) when
year = 2009 (second condition). I created the file in 2008 and had only a
DB.SUM for the whole year that was working just fine, but now we will carry
on inserting data in the same sheets for 2009 as well....
Can anybody help?
 
Hi Leith,
yes I do need separate totals for each year, in a different sheet in order
to show TOTAL of money forecast for a specific Client in 2009 and TOTAL of
Actual money invoiced for same Client in 2009.

Bernard Liengme (I posted the issue twice by mistake) suggested a SUMPRODUCT
that worked fine, for some reason with forecast but returns an error
(#VALUE!) for invoices even though the formula is the same, just adjusted...

Any thoughts?
Primigi
 
Hi,
I found the error: one of the array was containing a formula nested in an IF
of which the false condition was "". Once set the false condition to 0
evrything works fine.
Thanks anyway :)

Primigi
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top