Home |
Search |
Today's Posts |
#8
![]() |
|||
|
|||
![]()
Hi,
You can use =SUMPRODUCT((A170:A180="Asia")*(MONTH(B170:B180)=9 )*(C170:C180)) Regards Govind. Saariko wrote: Hi again, I wen to the xLDunamic help page: Here is another unsuccessful try: =SUMPRODUCT((A170:A180="Asia")*(MONTH(ROW(B179:B18 0))=9)*(C170:C180)) please? "Saariko" wrote: Hi Frank, I usually use your replies with blind eyes, and Bingo. However, I have tried this solution of multiple arrays and condition, and a little problem for me on this one. I have 3 colums: A-dealer B-Date C-sale I want to sum (Pivot Table is not suitable for this part, I use it on a different worksheet) All sales made be a dealer based on a month. Asia 9/28/2004 2134 Asia 9/30/2004 2136 Europe 10/1/2004 2137 Europe 10/4/2004 2138 Europe 10/12/2004 2139 Europe 10/12/2004 2140 Asia 10/17/2004 2141 Europe 10/18/2004 2142 The sum would go to a different sheet MONTH Dealer Total Sales September Asia ????? October Europe ????? Again, I can't use pivot table for this part. I tried to tweak your funciton: =SUMPRODUCT(--(A3:A10000="Asia"),--(B3:B10000="9/28/2004")) =SUMPRODUCT(--(A3:A10000="Asia"),--(MONTH(B3:B10000)=10)) =SUMPRODUCT(--(A3:A10000="Asia"),--(MONTH(B3):MONTH(B10000)=10)) but no luck. Can you help? "Frank Kabel" wrote: Hi first don't replace the '--'. They coerce the boolean values to real numbers (TRUE=1/FALSE=0) for your example if you want to get the sum for one specific account use =SUMPRODUCT(--(A1:A4000=account_number),--(C1:C4000="collections"),--(D 1:D4000="michigan"),F1:F4000) Note: this is case sensitive. You may also consider using a pivot table for this: http://www.cpearson.com/excel/pivots.htm http://peltiertech.com/Excel/Pivots/pivotstart.htm http://www.contextures.com/xlPivot02.html http://www.ozgrid.com/Excel/excel-pivot-tables.htm -- Regards Frank Kabel Frankfurt, Germany dave wrote: Frank, Sorry, I got an error. What do I put in where the "--" are? Here is a more accurate example of my worksheet. Column A lists a range of account numbers so I'd like this range to find all 4000 accounts. Column C lists a range of departments so I'd like to find "collections" column D lists the location so I want "michigan" Column F has the balances so I want the sum of every account that meets these 3 criteria. Thanks, Dave -----Original Message----- Hi use SUMPRODUCT instead. e.g. =SUMPRODUCT(--(A1:A100=100),--(B1:B100="manager"),C1:C100) -- Regards Frank Kabel Frankfurt, Germany Dave Gremaud wrote: Does anyone use this function or have any suggestions on a different function that may work. I have a very large worksheet with multiple data columns. I am trying to sum multiple cells by using multiple variables. The SUMIF function works well but I can't insert more than one criteria. I have tried many times without success. I would greatly appreciate any assistance. Here is an example of my need: I would like a function to read (if column "a" = 100 and column "b" = "manager" then sum these fields). I know there must be a solution but it escapes me. Thanks! Dave . |