Adding certain cells in one column

J

JT

In my spreadsheet cells in the range E1 through E80 contain total dollar
calculations from each of the columns to their left. Corresponding cells in
column G contain either an X or a Y. I need a formula that scans column G
for all occurrances of Y, then ads together the total of the corresponding
cells in column E.

APpreciate any help!

JT
 
M

Mike H

Try this

=SUMPRODUCT((G1:G80="y")*(E1:E80))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
N

Nadine

Would a SUMIF do the same thing?

Mike H said:
Try this

=SUMPRODUCT((G1:G80="y")*(E1:E80))
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 

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