A
Attila Fust
I need to sum values in a row of data where the date in
the column of the row falls within a certain date range.
Here is an example of the data. The data to be summed is
in sheet one and the dates used for the criteria are in
sheet 2.
Sheet_1:
col a col b col c col d
Nov 15/92 Feb 15/93 Sep 15/93 Feb 15/94
15.00 20.00 30.00 10.00
Sheet_2:
col a col b
Jan 1/93 Dec 31/93
Jan 2/94 Dec 31/94
I basically want to sum the data in Sheet_1 that is
between a date range based on Sheet_2. For example, sum
values in sheet_2:row2 if the date in sheet_1:row1 is
between the dates in sheet_2:A1 and sheet_2:A2 (ie between
Jan 1/93 and Dec 1/93). In this example the product would
be $50.00.
I can't seem to use sumif to do this. I tried an array
formula - =SUM(IF((sheet_1!$A$1>=sheet_2!$a$1)*(sheet_1!
$b$1>=sheet_2!$b$1),sheet_1!a2:d2)) - but this did not
seem to work either. With this formla it will sum
everything.
Any suggestions?
Thanks,
Attila
the column of the row falls within a certain date range.
Here is an example of the data. The data to be summed is
in sheet one and the dates used for the criteria are in
sheet 2.
Sheet_1:
col a col b col c col d
Nov 15/92 Feb 15/93 Sep 15/93 Feb 15/94
15.00 20.00 30.00 10.00
Sheet_2:
col a col b
Jan 1/93 Dec 31/93
Jan 2/94 Dec 31/94
I basically want to sum the data in Sheet_1 that is
between a date range based on Sheet_2. For example, sum
values in sheet_2:row2 if the date in sheet_1:row1 is
between the dates in sheet_2:A1 and sheet_2:A2 (ie between
Jan 1/93 and Dec 1/93). In this example the product would
be $50.00.
I can't seem to use sumif to do this. I tried an array
formula - =SUM(IF((sheet_1!$A$1>=sheet_2!$a$1)*(sheet_1!
$b$1>=sheet_2!$b$1),sheet_1!a2:d2)) - but this did not
seem to work either. With this formla it will sum
everything.
Any suggestions?
Thanks,
Attila