Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You need to use SUMPRODUCT:
=SUMPRODUCT(--(A1:A10="Month"),--(B1:B10="Account")) However, you may find that a pivot table is a more elegant solution for your data analysis needs. Dave -- Brevity is the soul of wit. "Michael" wrote: Hi, I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
However, you may find that a pivot table is a more elegant solution for
your data analysis needs. Pivot table, elegant? LOL! <vbg Biff "Dave F" wrote in message ... You need to use SUMPRODUCT: =SUMPRODUCT(--(A1:A10="Month"),--(B1:B10="Account")) However, you may find that a pivot table is a more elegant solution for your data analysis needs. Dave -- Brevity is the soul of wit. "Michael" wrote: Hi, I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Now come on Dr Valko, we need to keep our prejudice under wraps <G
Bob "T. Valko" wrote in message ... However, you may find that a pivot table is a more elegant solution for your data analysis needs. Pivot table, elegant? LOL! <vbg Biff "Dave F" wrote in message ... You need to use SUMPRODUCT: =SUMPRODUCT(--(A1:A10="Month"),--(B1:B10="Account")) However, you may find that a pivot table is a more elegant solution for your data analysis needs. Dave -- Brevity is the soul of wit. "Michael" wrote: Hi, I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
<G
Biff "Bob Phillips" wrote in message ... Now come on Dr Valko, we need to keep our prejudice under wraps <G Bob "T. Valko" wrote in message ... However, you may find that a pivot table is a more elegant solution for your data analysis needs. Pivot table, elegant? LOL! <vbg Biff "Dave F" wrote in message ... You need to use SUMPRODUCT: =SUMPRODUCT(--(A1:A10="Month"),--(B1:B10="Account")) However, you may find that a pivot table is a more elegant solution for your data analysis needs. Dave -- Brevity is the soul of wit. "Michael" wrote: Hi, I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Dave,
How do I get the amount using this formula? By the way thanks for your quick response! "Dave F" wrote: You need to use SUMPRODUCT: =SUMPRODUCT(--(A1:A10="Month"),--(B1:B10="Account")) However, you may find that a pivot table is a more elegant solution for your data analysis needs. Dave -- Brevity is the soul of wit. "Michael" wrote: Hi, I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
See T. Valko's response. He includes the amount whereas I didn't in my
response. Dave -- Brevity is the soul of wit. "Michael" wrote: Dave, How do I get the amount using this formula? By the way thanks for your quick response! "Dave F" wrote: You need to use SUMPRODUCT: =SUMPRODUCT(--(A1:A10="Month"),--(B1:B10="Account")) However, you may find that a pivot table is a more elegant solution for your data analysis needs. Dave -- Brevity is the soul of wit. "Michael" wrote: Hi, I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
#8
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
=SUMPRODUCT(--(month_range=C3),--(account_range=B6),amount_range) Biff "Michael" wrote in message ... Hi, I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
#9
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Dr. Valko!!
Worked Like a charm!! Just one question so that I can learn from this, what does "--" do for the formula?? Thanks!!!!! "T. Valko" wrote: Try this: =SUMPRODUCT(--(month_range=C3),--(account_range=B6),amount_range) Biff "Michael" wrote in message ... Hi, I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
#10
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=SUMPRODUCT(--(month_range=C3),--(account_range=B6),amount_range)
Each element in these arrays will evaluate to either TRUE or FALSE: (month_range=C3) (account_range=B6) The "--" coerces these logical values (TRUE, FALSE) to numbers. 1 for TRUE and 0 for FALSE. Then all 3 arrays are multiplied together and totaled for the final result. See this for an extensive discussion: http://xldynamic.com/source/xld.SUMPRODUCT.html Biff "Michael" wrote in message ... Dr. Valko!! Worked Like a charm!! Just one question so that I can learn from this, what does "--" do for the formula?? Thanks!!!!! "T. Valko" wrote: Try this: =SUMPRODUCT(--(month_range=C3),--(account_range=B6),amount_range) Biff "Michael" wrote in message ... Hi, I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
#11
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
See http://xldynamic.com/source/xld.SUMPRODUCT.html
-- --- HTH Bob (change the xxxx to gmail if mailing direct) "Michael" wrote in message ... Dr. Valko!! Worked Like a charm!! Just one question so that I can learn from this, what does "--" do for the formula?? Thanks!!!!! "T. Valko" wrote: Try this: =SUMPRODUCT(--(month_range=C3),--(account_range=B6),amount_range) Biff "Michael" wrote in message ... Hi, I have 2 worksheets, one sheet with the columns listed below and the other sheet summarizes the activity entered in the first tab. Column A = "Amount" Column B = "Account" Column C = "Month" What I am trying to do is: SUMIF("Month"=Cell(C3) and "Account" = Cell(B6)) then return the "Amount" based on the criteria. How would I create a formula to do just that? Please let me know if need to further explain. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I have 2 criterias within sumif function | Excel Worksheet Functions | |||
Counting instances based on two criterias | Excel Worksheet Functions | |||
Formula requiring two different criterias | Excel Worksheet Functions | |||
total of certain cells using 2 criterias | Excel Worksheet Functions | |||
Multiple Data Validation Criterias | Excel Worksheet Functions |