Date range is a range with numeric dates, the sum range is the range you
want to sum
assume you have dates in C33:C36 and values in D33:D36 and the criteria and
X2 and Y2 holds the dates you want as criteria
=SUMIF(C33:C36,"="&X2,D33:D36)-SUMIF(C33:C36,""&Y2,D33:D36)
if you don't use the ampersand in countif or sumif they will look for the
text string X2 as opposed to what's in cell X2
--
Regards,
Peo Sjoblom
"jbsand1001" wrote in message
...
Aladin,
Thank you but I am having a little trouble with this formula.
Date Range? Is this a range like January, February, etc... in consecutive
cell columns? Can this be represented like C33:C36?
&x2? What dos this do in this function?
SumRange--Is this just the range like A d33:d36
Thank You,
Judd
"Aladin Akyurek" wrote:
For summing...
=SUMIF(DateRange,"="&X2,SumRange)-SUMIF(DateRange,""&Y2,SumRange)
jbsand1001 wrote:
I am looking for a formula that will look at cell B1 with a specific
date
and only will count/add data from a column based on the date ranges
provided
August 04-August 05. For example
I only want to count data between august 04 to august 05
Column A Column B Column C
Column D
jan-04 August 1 2004 1 Total
Between August 04 and August 05=
February-04 2
8
Mar-04 5
Aprl-04... 1
Aug-04 3
Sept-04 1
Oct-04 1
Nov-04... 1
Aug-05 2
|