I have a spreadsheet(sample)
date unit name reason day eve night
2/8 4 Monti smith self float OT
2/9 4 Monti jones self OT
2/9 4 Monti smith self OT
2/9 2DSU doe OT self
I want to count shifts used (day eve and night)for a particular unit during a particular data range.
i.e. 4 Monti from 2/8/ thru 2/11.
I tried
count(if(a2:a10<=value("2/8/2007"))*(a2:a10>=value("2/11/2007"))*(b2:b10=data!a27)*(e2:g:10<>""))
data!a27 represents 4 Monti
my answer should be 7
date unit name reason day eve night
2/8 4 Monti smith self float OT
2/9 4 Monti jones self OT
2/9 4 Monti smith self OT
2/9 2DSU doe OT self
I want to count shifts used (day eve and night)for a particular unit during a particular data range.
i.e. 4 Monti from 2/8/ thru 2/11.
I tried
count(if(a2:a10<=value("2/8/2007"))*(a2:a10>=value("2/11/2007"))*(b2:b10=data!a27)*(e2:g:10<>""))
data!a27 represents 4 Monti
my answer should be 7