SUMIF ranges

G

Guest

-- In a SUMIF statement how do you write the range and sum_range portions to
include two ranges, one range from sheet 1 and one range from sheet 2?

=SUMIF(Sheet1!B20:B39,"<>999",Sheet1!E20:E39) works fine for Sheet1, but I
can not get
=SUMIF(Sheet1!B20:B39,'Sheet2!B3:B49',"<>999",Sheet1!E20:E39,'Sheet2!E3:E49')
to include the range or sum_range from sheet two.

Thanks John
 
B

Bob Phillips

=SUMIF(Sheet1!B20:B39,"<>999",Sheet1!E20:E39)
+SUMIF('Sheet2!B3:B49',"<>999",'Sheet2!E3:E49')


--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
G

Guest

Why not just use 2 SUMIF(...), one per sheet, then add them up?
: =SUMIF(...)+SUMIF(...)
 

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

Similar Threads


Top