A
Andrew Cushen
Hi all -
I have a set of dates in column A, and corresponding
values in column E. What I want to do is write a formula
that will sum all column E values whose corresponding
column A date falls in June. The dates are formatted like
this: 6/3/2004 . I have no problem when I specify one date
in the SUMIF formula, like so:
=SUMIF(A11:A50,"6/3/2004",E11:E50)
or even this short version works:
=SUMIF(A11:A50,"6/3",E11:E50)
I have tried various combinations like:
=SUMIF(A11:A50,"6/1" OR "6/2" OR "6/3",E11:E50)
=SUMIF(A11:A50,OR("6/1","6/2","6/3"),E11:E50)
=SUMIF(A11:A50, (>= "6/1/2004" AND <= "6/30/2004"),E11:E50)
and I've tried formatting the date like #6/1/2004#
or "#6/1/2004#". Nothing works. As long as I specify an
exact date, like "6/3/2004", or even a short version
like "6/3", it works fine, but only gives me values for
the one date (when I specify an exact date) or dates
starting with the number I specify (if I specify "6/3", it
gives me values for dates "6/3/2004" and "6/30/2004").
Is there any way to achieve what I'm after? It seems like
there must be, but a long search of the Excel Help turned
up nothing of any use...
TIA,
-Andrew
=========================================================
I have a set of dates in column A, and corresponding
values in column E. What I want to do is write a formula
that will sum all column E values whose corresponding
column A date falls in June. The dates are formatted like
this: 6/3/2004 . I have no problem when I specify one date
in the SUMIF formula, like so:
=SUMIF(A11:A50,"6/3/2004",E11:E50)
or even this short version works:
=SUMIF(A11:A50,"6/3",E11:E50)
I have tried various combinations like:
=SUMIF(A11:A50,"6/1" OR "6/2" OR "6/3",E11:E50)
=SUMIF(A11:A50,OR("6/1","6/2","6/3"),E11:E50)
=SUMIF(A11:A50, (>= "6/1/2004" AND <= "6/30/2004"),E11:E50)
and I've tried formatting the date like #6/1/2004#
or "#6/1/2004#". Nothing works. As long as I specify an
exact date, like "6/3/2004", or even a short version
like "6/3", it works fine, but only gives me values for
the one date (when I specify an exact date) or dates
starting with the number I specify (if I specify "6/3", it
gives me values for dates "6/3/2004" and "6/30/2004").
Is there any way to achieve what I'm after? It seems like
there must be, but a long search of the Excel Help turned
up nothing of any use...
TIA,
-Andrew
=========================================================