Dates

drock99a

Board Regular
Joined
Mar 31, 2004
Messages
58
I have a table that has a date completed field. I need my query to look at this field and tells me that last time that particular item was worked on. The query shows the original date and not anything newer. For example PC #1 was originally worked on 11/1/04, it was again serviced on 12/15/04 the query keeps referring back to 11/1/04, I need it to show the most recent time it was worked.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
What query do you currently have?

Can you not use a totals query and Max for the completed field?
 
Upvote 0
SELECT DISTINCTROW TOP 5 Completed.*, Completed.User, Completed.Location, Completed.[Printer Name], Completed.[Printer Type], Completed.[Serial Number], Completed.Zone
FROM Completed
WHERE (((Completed.Zone)=[Zone :]))
ORDER BY Completed.[Date Completed];
 
Upvote 0

Forum statistics

Threads
1,221,841
Messages
6,162,314
Members
451,759
Latest member
damav78

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top