How do I get average days to fill?

  • Thread starter Evelyn Williams
  • Start date
E

Evelyn Williams

I have a report that provides the date of a requisition that was submitted to
a manager and the date of hire, if that candidate was choosen. I'm trying to
get average days to fill....What is the expression/equation to get average
days to fill a position? I keep getting zeros.
 
K

KARL DEWEY

Try this --
Sum(IIF([HireDate] Is Null, 0, [HireDate]-[RequisitionDate]+1)) /
Sum(IIF([HireDate] Is Null, 0, 1))
 
J

John Spencer

I would try the following. Either as the source of a control in the report
footer of a database or as an expression in a totals query if you are using
one for the source of your report.

Avg(IIF([HireDate] is Null,Null,DateDiff("d",[RequisitionDate],[HireDate])))

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
 

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

Similar Threads

Average Days 9
Series fill only copying and fill series greyed out 1
Average Number of Days 1
Average Days 2
Compute Average Days 1
Number of Days? 4
Days late on payment using Date() 9
calculating average days 1

Top