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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximum

Status
Not open for further replies.

hpl2001

Programmer
Dec 18, 2001
105
CA
I am writing a formula where I would like the formula to return the latest of four dates. Is there a function I can use that would work like:

latest(date1,date2,date3,date4)

TIA.

Holly
 
Try something like:

maximum([currentdate, currentdate -1,currentdate-2,currentdate-3])

Replacing the currentdates with your four fields.

-k
 
Thanks! That's the syntax I was looking for.

Holly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top