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

Date Difference Grouping 1

Status
Not open for further replies.

TMRO

Technical User
Jan 10, 2003
140
CA
Hi everybody,

I think this is a easy one, but somehow my brain is stucked on this Monday morning:

I have this table

Name Date
A1 1/1/2004
A1 1/2/2004
A2 1/1/2004
A2 1/6/2004
A3 1/2/2004
A3 1/8/2004

Always the column "name" will be in pairs: 2 A1, 2 A2, 2 A3 etc...
So what I need to find out is: the difference in days between the first A1 and the second A1,

somethink like
Name Difference in days Month
A1 1 1
A2 5 1
A3 6 1

etc...


Could anybody give me a hint?
Thanks a lot,
TMRO
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top