Lifeseeker
Registered User.
- Local time
- Today, 05:32
- Joined
- Mar 18, 2011
- Messages
- 273
Hi,
I would like to have a query that pulls any ONE of the three tests stored in three different columns based on the date difference being the smallest.
So column A, column B and column C, and they all contain date/time.
if any one of the columns has value, use it and if there are two values picked up in the column C, then I would like the query to compare column C with column D and get me the one where the date difference is the smallest.
Does this make sense?
How should I go about doing this?
Thank you
I would like to have a query that pulls any ONE of the three tests stored in three different columns based on the date difference being the smallest.
So column A, column B and column C, and they all contain date/time.
if any one of the columns has value, use it and if there are two values picked up in the column C, then I would like the query to compare column C with column D and get me the one where the date difference is the smallest.
Does this make sense?
How should I go about doing this?
Thank you