To Calculate the qty b/w two dates

V

vmohan1978

In Sheet 1 the table is as below
SL.NO Received Dia Qty (MT)
1 29-Mar-03 20 19.89
2 31-Mar-08 10 6.51
3 31-Mar-08 10 0.63
4 11-Apr-08 10 1.43
5 27-Apr-08 20 8.23
6 28-Apr-08 20 25
7 3-May-08 16 9.77
8 3-May-08 20 10

In sheet 2 the table is as below
Starting Date Closing Date 8 10 12 16 20 25 32
1-Jun-08 30-Jun-08
1-Jul-08 31-Jul-09
1-Aug-08 31-Aug-08
I need the qty recieved b/w two dates based on the Dia Of Bar
 
J

Jacob Skaria

Suppose Sheet1 Col B has got the dates try the below formula to get the total
qty for Dia 10..Once you try out this in Sheet1 you can change 10 to a
reference... Please try and feedback

=SUMPRODUCT(--(B1:B100>=DATE(2009,4,1)),--(B1:B100<=DATE(2010,3,31)),--(C1:C100=10),D1:D100)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top