Here we go - I didn't think about date format... This assumes your cells are
formatted in date:
=SUMPRODUCT((MONTH(U9:U272)=1)*(T9:T272))
Excel stores dates as serial numbers (Julian date count since January 1,
1900), so you use the Month function to tell you the month from that serial
number.
"jeremy via OfficeKB.com" wrote:
Mike,
Thanks, I tried this formula =SUMPRODUCT((U9:U272="jan")*(T9:T272))
but the result was zero--should have been a value. Any thoughts? the date
is entered as mm/dd/yyyy in the column U.
jeremy
MikeDH wrote:
Jeremy
try this, assuming your tonnages are in column B:
=SUMPRODUCT((A1:A10="jan")*(B1:B10))
I need some help with a formula:
[quoted text clipped - 11 lines]
Jeremy
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200508/1