Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
MORE THAN ONE CONDITION IN A FORMULA
I am trying to create a formula that will sum Column E, if Column A has more
than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E). |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
MORE THAN ONE CONDITION IN A FORMULA
=IF(AND(COUNTA(A1:A1000)1,COUNTA(C1:C1000)=1),SUM (E1:E1000))
Dave -- Brevity is the soul of wit. "CLM" wrote: I am trying to create a formula that will sum Column E, if Column A has more than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E). |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
MORE THAN ONE CONDITION IN A FORMULA
I need the sum of Column E if Column A = AY or BU and Column E = S or D
I am not sure I understand the formula you gave "Dave F" wrote: =IF(AND(COUNTA(A1:A1000)1,COUNTA(C1:C1000)=1),SUM (E1:E1000)) Dave -- Brevity is the soul of wit. "CLM" wrote: I am trying to create a formula that will sum Column E, if Column A has more than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E). |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
MORE THAN ONE CONDITION IN A FORMULA
This is my current formula:
=SUM(IF((A9:A10001="SI")*(C9:C10001="D"),E9:E10001 )) I need the first if to be either SI or SY with the rest to stay as is. "CLM" wrote: I need the sum of Column E if Column A = AY or BU and Column E = S or D I am not sure I understand the formula you gave "Dave F" wrote: =IF(AND(COUNTA(A1:A1000)1,COUNTA(C1:C1000)=1),SUM (E1:E1000)) Dave -- Brevity is the soul of wit. "CLM" wrote: I am trying to create a formula that will sum Column E, if Column A has more than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E). |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
MORE THAN ONE CONDITION IN A FORMULA
Have a go using a sumproduct formula
=SUMPRODUCT((A9:A10001="SI")+(A9:A10001="SY"),(C9: C10001="D")*(E9:E10001)) -- Greetings from New Zealand "CLM" wrote in message ... This is my current formula: =SUM(IF((A9:A10001="SI")*(C9:C10001="D"),E9:E10001 )) I need the first if to be either SI or SY with the rest to stay as is. "CLM" wrote: I need the sum of Column E if Column A = AY or BU and Column E = S or D I am not sure I understand the formula you gave "Dave F" wrote: =IF(AND(COUNTA(A1:A1000)1,COUNTA(C1:C1000)=1),SUM (E1:E1000)) Dave -- Brevity is the soul of wit. "CLM" wrote: I am trying to create a formula that will sum Column E, if Column A has more than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E). |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
MORE THAN ONE CONDITION IN A FORMULA
Thank you so much. It worked perfect.
"Bill Kuunders" wrote: Have a go using a sumproduct formula =SUMPRODUCT((A9:A10001="SI")+(A9:A10001="SY"),(C9: C10001="D")*(E9:E10001)) -- Greetings from New Zealand "CLM" wrote in message ... This is my current formula: =SUM(IF((A9:A10001="SI")*(C9:C10001="D"),E9:E10001 )) I need the first if to be either SI or SY with the rest to stay as is. "CLM" wrote: I need the sum of Column E if Column A = AY or BU and Column E = S or D I am not sure I understand the formula you gave "Dave F" wrote: =IF(AND(COUNTA(A1:A1000)1,COUNTA(C1:C1000)=1),SUM (E1:E1000)) Dave -- Brevity is the soul of wit. "CLM" wrote: I am trying to create a formula that will sum Column E, if Column A has more than one value (i.e. AG, ZU) + Column C has 1 value (i.e. S, D, E). |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formula and Condition for a Calculation to leave a zero if the res | Excel Worksheet Functions | |||
Can I set up a formula to lookup a value for a condition | Excel Discussion (Misc queries) | |||
Multiple Condition Formula | Excel Worksheet Functions | |||
Multiple Condition Sumif Formula | Excel Worksheet Functions | |||
Add condition to formula | Excel Worksheet Functions |