Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi all,
Further to Petes successful resolution of my earlier query (thanks again Pete) I am now looking for the following info: where A = Date Column (date) where B = Model Column (text and number) where C = Qty of Model (number) Pete gave me the following formula to count the number of products in each month: =SUMPRODUCT((MONTH(A1:A1000)=1)*(YEAR(A1:A1000)=20 08)*(B1:B1000="Ec80")) However I now need to count the TOTAL number of products i.e. the above formula multiplied by the qty in stock of each model Date Model Qty 01/01/08 EC80 10 20/01/08 EC80 5 31/01/08 ZX40 7 So using the formula above I get "2" as the result I then need to use this to sum the total of Column C which should give me a result of "15" Thanks in advance!! Jon |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT((MONTH(A1:A1000)=1)*(YEAR(A1:A1000)=20 08)*(B1:B1000="Ec80"),(c1:c1000))
-- regards from Brazil Thanks in advance for your feedback. Marcelo "Jon" escreveu: Hi all, Further to Petes successful resolution of my earlier query (thanks again Pete) I am now looking for the following info: where A = Date Column (date) where B = Model Column (text and number) where C = Qty of Model (number) Pete gave me the following formula to count the number of products in each month: =SUMPRODUCT((MONTH(A1:A1000)=1)*(YEAR(A1:A1000)=20 08)*(B1:B1000="Ec80")) However I now need to count the TOTAL number of products i.e. the above formula multiplied by the qty in stock of each model Date Model Qty 01/01/08 EC80 10 20/01/08 EC80 5 31/01/08 ZX40 7 So using the formula above I get "2" as the result I then need to use this to sum the total of Column C which should give me a result of "15" Thanks in advance!! Jon |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Okay, Jon, to sum column C with the same criteria you need to change
the formula to: =SUMPRODUCT((MONTH(A1:A1000)=1)*(YEAR(A1:A1000)=20 08)*(B1:B1000="Ec80")*(C1:C1000)) Hope this helps. Pete On Jan 18, 11:09*am, Jon wrote: Hi all, Further to Petes successful resolution of my earlier query (thanks again Pete) I am now looking for the following info: where A = Date Column (date) where B = Model Column (text and number) where C = Qty of Model (number) Pete gave me the following formula to count the number of products in each month: =SUMPRODUCT((MONTH(A1:A1000)=1)*(YEAR(A1:A1000)=20 08)*(B1:B1000="Ec80")) However I now need to count the TOTAL number of products i.e. the above formula multiplied by the qty in stock of each model Date * * * * * * * * Model * * * * * * * Qty 01/01/08 * * * * * EC80 * * * * * * * * 10 20/01/08 * * * * * EC80 * * * * * * * * *5 31/01/08 * * * * * ZX40 * * * * * * * * * 7 So using the formula above I get "2" as the result I then need to use this to sum the total of Column C which should give me a result of "15" Thanks in advance!! Jon |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to check for a date range match in one column and then count thevalues equal to in another | Excel Worksheet Functions | |||
use a check box to dermine shipping charges of non-stock items | Excel Discussion (Misc queries) | |||
check whether a date falls in a range | Excel Discussion (Misc queries) | |||
how to check if date falls within range | Excel Worksheet Functions | |||
Can I check if a date falls between a range then sum other # if tr | Excel Worksheet Functions |