excel - Sumif Function involving dates and text -
i have 3 columns contain range of dates, ie 6/15/2013, corresponding items ie. gravel, asphalt etc , corresponding tonnages. need able sum of tonnages of asphalt per month.
i have tried several sumif statements coming no value. going fine until tried add sorting month "if" statement.
any appreciated.
sample data below
column | column b | column c 6/23/2013| asphalt | 12 7/14/2013| asphalt | 14 6/15/2013| gravel | 15 8/15/2013| gravel | 18 6/3/2013 | asphalt | 14
thanks
if have excel 2007 or later try using sumifs
, e.g. in f2
=sumifs(c:c,b:b,"asphalt",a:a,">="&e2,a:a,"<"&eomonth(e2,0)+1)
where column contains dates, b items , c tonnages....and e2 should contain 1st of month want sum. can add more more dates in e3 down , copy formula down
Comments
Post a Comment