Conditional summing of values

H

Huck_M

I have created a report from a query that includes an equipment "start up
date" and an "estimated days" required for equipment startup. The query and
report includes all equipment that has shipped but has not been started. I
can accurately sum the "estimated days" for the entire report, but I also
need to calculate the "estimated days" on only the equipment has a "start up
date" 90 days from the current date. Can anyone provide any guidance?
 
D

Duane Hookom

You can create conditional sums with expressions like:
=Sum(Abs({true/fals expression}) * {Expression To Sum})
For instance if you want to sum the sales for Mondays, you would use:
=Sum(Abs(Weekday([SaleDate])=2) * [UnitPrice]*[Quantity])
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top