subtarct each detail record in a group

A

ali

HI, Thanks for your reply. what i am looking for is in need to subtarct each
deatail record in a group section from the record below it.
for example:
Country Date yearDiff
 
J

jl5000

check the DMax function to extract the latest date before the current
record's date and subtract the result,
 
Top