Solved

Sumproduct formula

Posted on 2011-09-12
6
409 Views
Last Modified: 2012-05-12
Hi Experts,

I would like to request Experts help create a Sumproduct formula for "Table1" and Table2" at "Report" sheet based on data at "Data" sheet.

Table1: need to count how many time the same date are appeared at Column E (Data_sheet)  according to month.

Table2: Count how many time the listed "Item" at Column C (Data_sheet) appeared based on Month (Column E _Data sheet)  

I have manually inserted a few data at Table 1 and 2 for Experts to get better view. Hope Experts could help.
 
CountData.xls
0
Comment
Question by:Cartillo
6 Comments
 
LVL 29

Accepted Solution

by:
gowflow earned 167 total points
Comment Utility
This is for Table1
am working on Table2 !!!
gowflow
CountData.xls
0
 

Author Comment

by:Cartillo
Comment Utility
Hi gowflow,

Thanks for the formula.
0
 
LVL 10

Assisted Solution

by:SANTABABY
SANTABABY earned 167 total points
Comment Utility
Table1:
Use the following formula in B3 and then copy the content of the cell(B3) to other similar cells in table1.
=COUNTIF(Data!$E:$E,A3)

Table2:
Use the following formula in M3 and then copy the content of the cell(M3) to other similar cells in table2.
=COUNTIFS(Data!$C:$C,"="&$L3,Data!$E:$E,">="&DATE(YEAR(INDIRECT(ADDRESS(2,COLUMN(),1))),MONTH(INDIRECT(ADDRESS(2,COLUMN(),1))),1),Data!$E:$E,"<"&DATE(YEAR(INDIRECT(ADDRESS(2,COLUMN(),1))),MONTH(INDIRECT(ADDRESS(2,COLUMN(),1)))+1,1))


It appears a little complicated. I'll think about simplifying it further. Please let me know if it works.

Thanks.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 166 total points
Comment Utility
You could use this formula for table 2 - in M3 copied across and down

=SUMPRODUCT((Data!$C$2:$C$1000=$L3)*(TEXT(Data!$E$2:$E$1000,"mmm-yy")=TEXT(M$2,"mmm-yy")))

format as 0;; to hide zeroes, see attached

regards, barry
27303595.xls
0
 
LVL 29

Expert Comment

by:gowflow
Comment Utility
here is both
gowflow
CountData.xls
0
 

Author Closing Comment

by:Cartillo
Comment Utility
Hi,

Thanks a lot for the formulas.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now