Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumif criteria "equal"
Hello, I want to search column A, if the values in column A are equal, I
want to sum the corresponding values in column D. I've tried the following formula and it does not work: =SUMIF(A5:A100,"=",D5:D100) Could someone offer a suggestion for the correct "criteria" value? Thanks |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumif criteria "equal"
If the cells are equal to what?
If you want to get a subtotal of each column A value, use a Pivot Table (Data Pivot Table in Excel 2003) and drop your column A label into the row field and column d in the Data field. "KB" wrote: Hello, I want to search column A, if the values in column A are equal, I want to sum the corresponding values in column D. I've tried the following formula and it does not work: =SUMIF(A5:A100,"=",D5:D100) Could someone offer a suggestion for the correct "criteria" value? Thanks |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumif criteria "equal"
if the values in column A are equal, I want to
sum the corresponding values in column D If the values in column A are equal to what? -- Biff Microsoft Excel MVP "KB" wrote in message ... Hello, I want to search column A, if the values in column A are equal, I want to sum the corresponding values in column D. I've tried the following formula and it does not work: =SUMIF(A5:A100,"=",D5:D100) Could someone offer a suggestion for the correct "criteria" value? Thanks |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Sumif criteria "equal"
In addition to Sean's answer, you can pop this in an empty column (in row 5,
then autofill) =sumproduct((A$5:A$100=A5)*1,(D$5:D$100)*1) The problem is that for each matching value, you will get the same total again. Example: Column A Column D Result "Cat" 10 14 "Dog" 6 6 "Cat" 4 14 "Fish" 2 2 So you can't really subtotal the result column in any meaningful way, unless you copy/paste special/ values, then remove duplicate rows. "KB" wrote: Hello, I want to search column A, if the values in column A are equal, I want to sum the corresponding values in column D. I've tried the following formula and it does not work: =SUMIF(A5:A100,"=",D5:D100) Could someone offer a suggestion for the correct "criteria" value? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How can I link the "sumif" criteria to a cell? thks | Excel Discussion (Misc queries) | |||
COUNTIF based on several criteria incl. a "does not equal" criteri | Excel Worksheet Functions | |||
sort data rows "greater than or equal" criteria in another cell | Excel Worksheet Functions | |||
How do I use the criteria "is not blank" in a SUMIF formula? | Excel Worksheet Functions | |||
results of "SUMIF" test criteria | Excel Worksheet Functions |