Date wise Sum Formula required

G

Guest

I have date, Qty code & Quantity.
08-03-2007 1 X 40 1
11-03-2007 2 X 20 2
11-03-2007 8 X 20 8
14-03-2007 1 X 20 1
30-03-2007 1 X 20 1
18-03-2007 1 X 20 1
18-03-2007 2 X 20 2
18-03-2007 1 X 20 1
21-03-2007 2 X 20 2

Note-The qty in the 3dr colm are got by simply placing the formula
=MID(A2:A$9,1,1) But I need formula to sum Qty date wise. And important is
that to avoid result repetition where the date repeats in some cells. Help me
please.
 
T

tqm1

Now, Monthwise Total

How to get monthwise total in column C as below

----A--------B---C
08-03-2007--10--
11-03-2007--20--
11-03-2007--30--60
14-04-2007--40--
30-04-2007--50--
18-04-2007--60--150
18-05-2007--70--
18-05-2007--80--
21-05-2007--90--24
 
T

T. Valko

Try this:

=IF(AND(MONTH(A1)=MONTH(A2),ISNUMBER(A2)),"",SUMPRODUCT(--(MONTH(A$1:A$9)=MONTH(A1)),B$1:B$9))

copied down

Biff
Microsoft Excel MVP
 

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