Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SUMIF Function in Excel 5.0

5 views
Skip to first unread message

Lawrence Wood

unread,
Jan 31, 1995, 10:37:18 PM1/31/95
to
This is a case where you want to use the full blown
Sum-if formula. SUMIF was added to handle all the
easy cases (of which most are) but in the case of
multiple criteria you would have to use something like

{=SUM(IF((A2:A5="Buy")*(B2:B5="Grey"),C2:C5,0))}

Remember to press cntl-shift-enter to enter the formula.
This will give you the {} at the begining and end
of the formula, you dont type those yourself. Good
luck.

lw
************************************************************
#include<stddisclaimer.h>
The opinions stated above are entirely mine and do not
represent the opinions of my employer in any form
whatsoever. I just try help as I can.
************************************************************

In article <95026.193...@QUCDN.QueensU.CA> BJK wrote:
> I have been trying to use the SUMIF function to do some calculations. But I
> would like the summing to occur if there is a certain value in Column A and
> another certain value in column B. For example:
> A B C
> Buy Grey 80
> Buy Blue 80
> Buy Grey 90
> Sell Grey 100
> I would like the SUMIF to work if A="Buy" and B="Grey", giving me the answer
> 170. I have wriiten the function like:
> SUMIF(Sheet!A:B, AND(Sheet!A="Buy",Sheet!B="Grey",Sheet!C:C)
> But this gives me an answer of zero, which is not what I want. Does anybody
> have any suggestions on how to do this with SUMIF or is there some other way of
> accomplishing this? Thank you.
>

maryj...@gmail.com

unread,
Jan 3, 2017, 2:43:54 AM1/3/17
to
0 new messages