Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add values in "P" that fall between dates "03/01/00 and 03/31/00"
A B E
2 01/11/2009 214 $140,000 3 01/25/2009 309 $40,000 4 03/03/2009 309 $200,000 5 03/15/2009 214 $10,000 6 03/21/2009 309 $300,000 7 03/25/2009 309 $120,000 8 04/15/2009 309 $150,000 Hello, I am hoping someone is able to help me with this issue. I am attempting to sum the values in a column, "E" when the date in column, "A" falls between 03/01/2009 and 03/31/2009, and the number in column "B" is equal to "309". Using the data above the formula should only add rows, 4, 6, & 7 for a total of $620,000. I have had a time of it trying to figure out how to create a to do this. Can anyone please assit? -- Art Los Angeles, California |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add values in "P" that fall between dates "03/01/00 and 03/31/00"
Hi Art,
Try: =SUMPRODUCT((A2:A8=DATEVALUE("01/03/2009"))*(A2:A8<DATEVALUE("31/03/2009"))*(B2:B8=309),E2:E8) -- Cheers macropod [MVP - Microsoft Word] "Art" wrote in message ... A B E 2 01/11/2009 214 $140,000 3 01/25/2009 309 $40,000 4 03/03/2009 309 $200,000 5 03/15/2009 214 $10,000 6 03/21/2009 309 $300,000 7 03/25/2009 309 $120,000 8 04/15/2009 309 $150,000 Hello, I am hoping someone is able to help me with this issue. I am attempting to sum the values in a column, "E" when the date in column, "A" falls between 03/01/2009 and 03/31/2009, and the number in column "B" is equal to "309". Using the data above the formula should only add rows, 4, 6, & 7 for a total of $620,000. I have had a time of it trying to figure out how to create a to do this. Can anyone please assit? -- Art Los Angeles, California |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add values in "P" that fall between dates "03/01/00 and 03/31/00"
Oops - with your regional settings, that should be:
=SUMPRODUCT((A2:A8=DATEVALUE("03/01/2009"))*(A2:A8<DATEVALUE("03/31/2009"))*(B2:B8=309),E2:E8) -- Cheers macropod [MVP - Microsoft Word] "Art" wrote in message ... A B E 2 01/11/2009 214 $140,000 3 01/25/2009 309 $40,000 4 03/03/2009 309 $200,000 5 03/15/2009 214 $10,000 6 03/21/2009 309 $300,000 7 03/25/2009 309 $120,000 8 04/15/2009 309 $150,000 Hello, I am hoping someone is able to help me with this issue. I am attempting to sum the values in a column, "E" when the date in column, "A" falls between 03/01/2009 and 03/31/2009, and the number in column "B" is equal to "309". Using the data above the formula should only add rows, 4, 6, & 7 for a total of $620,000. I have had a time of it trying to figure out how to create a to do this. Can anyone please assit? -- Art Los Angeles, California |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add values in "P" that fall between dates "03/01/00 and 03/31/00"
Give this a try:
=SUMPRODUCT(--(DATE(YEAR($A$2:$A$8), MONTH($A$2:$A$8),1)=DATE(2009,3,1)), --($B$2:$B$8=309),E2:E8) -- "Actually, I *am* a rocket scientist." -- JB Your feedback is appreciated, click YES if this post helped you. "Art" wrote: A B E 2 01/11/2009 214 $140,000 3 01/25/2009 309 $40,000 4 03/03/2009 309 $200,000 5 03/15/2009 214 $10,000 6 03/21/2009 309 $300,000 7 03/25/2009 309 $120,000 8 04/15/2009 309 $150,000 Hello, I am hoping someone is able to help me with this issue. I am attempting to sum the values in a column, "E" when the date in column, "A" falls between 03/01/2009 and 03/31/2009, and the number in column "B" is equal to "309". Using the data above the formula should only add rows, 4, 6, & 7 for a total of $620,000. I have had a time of it trying to figure out how to create a to do this. Can anyone please assit? -- Art Los Angeles, California |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add values in "P" that fall between dates "03/01/00 and 03/31/00"
Try one of these...
Use cells to hold your criteria: G2 = start date H2 = end date I2 = 309 =SUMPRODUCT(--(A2:A8=G2),--(A2:A8<=H2),--(B2:B8=I2),E2:E8) If you're using Excel 2007: =SUMIFS(E2:E8,A2:A8,"="&G2,A2:A8,"<="&H2,B2:B8,I2 ) -- Biff Microsoft Excel MVP "Art" wrote in message ... A B E 2 01/11/2009 214 $140,000 3 01/25/2009 309 $40,000 4 03/03/2009 309 $200,000 5 03/15/2009 214 $10,000 6 03/21/2009 309 $300,000 7 03/25/2009 309 $120,000 8 04/15/2009 309 $150,000 Hello, I am hoping someone is able to help me with this issue. I am attempting to sum the values in a column, "E" when the date in column, "A" falls between 03/01/2009 and 03/31/2009, and the number in column "B" is equal to "309". Using the data above the formula should only add rows, 4, 6, & 7 for a total of $620,000. I have had a time of it trying to figure out how to create a to do this. Can anyone please assit? -- Art Los Angeles, California |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add values in "P" that fall between dates "03/01/00 and 03/31/
Thank you very much. This is simple to follow and works like a charm. Thank
you to everyone who posted a response. I appreciate your assistance. "DATEVALUE" was the key. Thank you. -- Art Los Angeles, California "macropod" wrote: Oops - with your regional settings, that should be: =SUMPRODUCT((A2:A8=DATEVALUE("03/01/2009"))*(A2:A8<DATEVALUE("03/31/2009"))*(B2:B8=309),E2:E8) -- Cheers macropod [MVP - Microsoft Word] "Art" wrote in message ... A B E 2 01/11/2009 214 $140,000 3 01/25/2009 309 $40,000 4 03/03/2009 309 $200,000 5 03/15/2009 214 $10,000 6 03/21/2009 309 $300,000 7 03/25/2009 309 $120,000 8 04/15/2009 309 $150,000 Hello, I am hoping someone is able to help me with this issue. I am attempting to sum the values in a column, "E" when the date in column, "A" falls between 03/01/2009 and 03/31/2009, and the number in column "B" is equal to "309". Using the data above the formula should only add rows, 4, 6, & 7 for a total of $620,000. I have had a time of it trying to figure out how to create a to do this. Can anyone please assit? -- Art Los Angeles, California |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Add values in "P" that fall between dates "03/01/00 and 03/31/
Hi Art,
You're welcome. In the case of the formula I submitted, you might want to change '<' to '<=' if the intention is to include the end date in the range, or to change '=' to '' if the intention is to exclude the start date from the range. It all comes down to what you meant by 'between'. -- Cheers macropod [MVP - Microsoft Word] "Art" wrote in message ... Thank you very much. This is simple to follow and works like a charm. Thank you to everyone who posted a response. I appreciate your assistance. "DATEVALUE" was the key. Thank you. -- Art Los Angeles, California "macropod" wrote: Oops - with your regional settings, that should be: =SUMPRODUCT((A2:A8=DATEVALUE("03/01/2009"))*(A2:A8<DATEVALUE("03/31/2009"))*(B2:B8=309),E2:E8) -- Cheers macropod [MVP - Microsoft Word] "Art" wrote in message ... A B E 2 01/11/2009 214 $140,000 3 01/25/2009 309 $40,000 4 03/03/2009 309 $200,000 5 03/15/2009 214 $10,000 6 03/21/2009 309 $300,000 7 03/25/2009 309 $120,000 8 04/15/2009 309 $150,000 Hello, I am hoping someone is able to help me with this issue. I am attempting to sum the values in a column, "E" when the date in column, "A" falls between 03/01/2009 and 03/31/2009, and the number in column "B" is equal to "309". Using the data above the formula should only add rows, 4, 6, & 7 for a total of $620,000. I have had a time of it trying to figure out how to create a to do this. Can anyone please assit? -- Art Los Angeles, California |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel | |||
Changing "returned" values from "0" to "blank" | Excel Worksheet Functions |