Conditional Sum of cells

U

ub

Hi
I have data in Cell A1,A2, C1,C2 E1,E2
A C E
10 15 12
1 0 1

I WANT THE SUM OF CELLS A1 & C1 ONLY IF THE VALUE IN A2 AND C2 IS NOT ZERO
THIS IS AN EXAMPLE. ACTUALLY THE NUMBER OF CELLS THAT I NEED SUM OF ARE MORE
THAN 20 IN THE SHEET. BUT THEY ARE NOT IN ORDER
 
M

M Kan

If the values in your condtional range are always 1 or 0, you could just use
a basic SUMPRODUCT function

Do the rest of your values extend across multiple columns, but in rows 1 and
2, or are they always in columns A:E, but down more rows than just 1 and 2?

Also, what values can your conditional tests take?
 

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

Top