I have a form (viewed in datasheet view) with a column for the machine used and one for the time taken.
I know how to make a total box in the footer:
=Sum([Time])
that adds up all the times
but what i need is 6 boxes which add up the times for each machine
something like:
=IIf([Machine]=1,Sum([Time]))
=IIf([Machine]=2,Sum([Time]))
but obviously that doesnt work...
I know how to make a total box in the footer:
=Sum([Time])
that adds up all the times
but what i need is 6 boxes which add up the times for each machine
something like:
=IIf([Machine]=1,Sum([Time]))
=IIf([Machine]=2,Sum([Time]))
but obviously that doesnt work...