too long sumif help

J

Jaan

Hi
Could I create short formula

=SUMIF(A1:E1;G$4;A2:E2)+SUMIF(A3:E3;G$4;A4:E4)+SUMIF(A5:E5;G$4;A6:E6)+SUMIF(A7:E7;G$4;A8:E8)+SUMIF(A9:E9;G$4;A10:E10)+SUMIF(A11:E11;G$4;A12:E12)+SUMIF(A13:E13;G$4;A14:E14)..............+SUMIF(A201:E201;G$4;A202:E202)
 
B

Bob Phillips

Like the idea Domenic.

You could do it with SUMIF no need for SUMPRODUCT, and it could return a
result from the wrong rows if say A14=G4 and A15 is a value.

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 
D

Domenic

Bob Phillips said:
You could do it with SUMIF no need for SUMPRODUCT...

Definitely! I should have used SUMIF... :)
...and it could return a
result from the wrong rows if say A14=G4 and A15 is a value.

True, but I don't think that would be the case. Of course, I could be
wrong... :)
 
J

Jaan

Hi

Domenic formula SUMPRODUCT is perfect. But Bob formula not working.I hope
this is my mistake.The MOD not understandability for me.Thanks.

"Domenic" kirjutas:
 
D

Domenic

In that case, use SUMIF instead...

=SUMIF(A1:E201,"A",A2:E202)

....it's more efficient.

Hope this helps!
 

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

Formula 6
Payment calculation 1
PLEASE HELP TO MATCH ALL SHEET AND THEN MERGE, 1
Tricky Formulas 14
Tricky Formula 2
Double Metal Jacketed Gasket 0
Merge Append all sheet 1
Merge Append all sheet into 1 1

Top