Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Why doesnt this work?
I have two sheets. The one called CorpClaims and one called Summary, the
latter is where I want the answer. On CorpClaims is a list of data with various headings such as DateofLoss, Amount, DescriptionofLoss etc On Summary is a small table that has Description of Loss down the left in Column A, in row 2 is the applicable month (the input would be 01/08/2009 for August 09 and formatted as Aug 09). Then the value part of the table would be the sum of all amounts that fall under the Description of Loss, (which is defined in column AJ) that fall in a certain month. =SUMIFS(CorpClaims!L2:L20000,CorpClaims!F2:F20000, "="&AJ6,text(CorpClaims!I2:I20000,"mmyyyy"),"="&te xt(B2,"mmyyyy")) The formula works well until you add the second criteria, then I get a formula error and I think it is my syntax. I am able to use the TEXT() command in a SUMPRODUCT formula and it works but I prefer SUMIFS. Can this be done with SUMIFS? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Why doesnt this work?
The comparison should not be with sumproduct but with sumif, you cannot
enclose a range in sumif or countif with another function. Btw, there is no need to use the ampersand in this case, ,AJ6 will do -- Regards, Peo Sjoblom "MurrayBarn" wrote in message ... I have two sheets. The one called CorpClaims and one called Summary, the latter is where I want the answer. On CorpClaims is a list of data with various headings such as DateofLoss, Amount, DescriptionofLoss etc On Summary is a small table that has Description of Loss down the left in Column A, in row 2 is the applicable month (the input would be 01/08/2009 for August 09 and formatted as Aug 09). Then the value part of the table would be the sum of all amounts that fall under the Description of Loss, (which is defined in column AJ) that fall in a certain month. =SUMIFS(CorpClaims!L2:L20000,CorpClaims!F2:F20000, "="&AJ6,text(CorpClaims!I2:I20000,"mmyyyy"),"="&te xt(B2,"mmyyyy")) The formula works well until you add the second criteria, then I get a formula error and I think it is my syntax. I am able to use the TEXT() command in a SUMPRODUCT formula and it works but I prefer SUMIFS. Can this be done with SUMIFS? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Why doesnt this work?
Except that you can specify operators = < < along with the criteria you
cannot format the values or specify conditions within SUMIF() If this post helps click Yes --------------- Jacob Skaria "MurrayBarn" wrote: I have two sheets. The one called CorpClaims and one called Summary, the latter is where I want the answer. On CorpClaims is a list of data with various headings such as DateofLoss, Amount, DescriptionofLoss etc On Summary is a small table that has Description of Loss down the left in Column A, in row 2 is the applicable month (the input would be 01/08/2009 for August 09 and formatted as Aug 09). Then the value part of the table would be the sum of all amounts that fall under the Description of Loss, (which is defined in column AJ) that fall in a certain month. =SUMIFS(CorpClaims!L2:L20000,CorpClaims!F2:F20000, "="&AJ6,text(CorpClaims!I2:I20000,"mmyyyy"),"="&te xt(B2,"mmyyyy")) The formula works well until you add the second criteria, then I get a formula error and I think it is my syntax. I am able to use the TEXT() command in a SUMPRODUCT formula and it works but I prefer SUMIFS. Can this be done with SUMIFS? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
PASTE DOESNT WORK | Excel Worksheet Functions | |||
Why doesnt shortcut key work on some but not on others? | Excel Discussion (Misc queries) | |||
Why doesnt this work | New Users to Excel | |||
COUNTIF doesnt work! | Excel Worksheet Functions | |||
Formula doesnt work | Excel Worksheet Functions |