Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date comparison formula 1

Status
Not open for further replies.

Hoppkins

Technical User
Sep 8, 2003
14
GB
I have to create a formula to compare 2 dates.

The fields are date/time created and date/time completed. I need to count how many things were completed more than 5 days after they were created.

Without involving the time part how could this be done?

FOr previous functions on this report ive been using a crosstab to achieve the results.

Thankyou!
 
Try:

if datediff("d",{table.created},{table.completed}) > 5 then 1

Then insert a summary (SUM, not count) on this formula.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top