Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have the below date from which I want to sum the "amount" column based on
the "ID" column. (There are other criteria that I have to use as well, but they will be in other columns.) The sumproduct function works very well if I only want to sum the amounts of one ID, but I am not sure how to sum the amounts of multiple IDs using one formula. If I want to sum the amounts of both 1340 and 5450, I am currently using: =sumproudct(--(ID=1340),amt)+sumproduct(--(ID=5450,amt) =(118)+(98) =216 This works fine if I am only using a couple criteria, but my formulas are getting ridiculously long (on the edge of being too long for Excel) and are becoming difficult to adjust. Any thoughts? Thanks, Adam ID Amount 1340 9 1340 5 1340 28 1340 15 1340 61 5450 10 5450 12 5450 12 5450 12 5452 52 5450 52 5452 12 5452 63 1340 118 5450 98 5452 127 Total 343 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sumproduct, multiple conditions.. but I also want to "minus" somet | Excel Worksheet Functions | |||
SUMPRODUCT(--ISNUMBER(FIND("AM",C5:160))*(k5:k160="") | Excel Discussion (Misc queries) | |||
Sumproduct-multiple criteria for same range "OR" | Excel Worksheet Functions | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Please, need help with multiple "if" conditions | Excel Discussion (Misc queries) |