Applying Min & Max in Access

brendanolear

Active Member
Joined
Apr 26, 2008
Messages
366
I have a basic Table of Projects similar to this:

Project Name Month
Proj01 Bob 1
Proj01 Bob 2
Proj01 Bob 3
Proj01 Jack 4
Proj01 Jack 5

I can take table out to excel and add Min & Max formula to present as:

Project Name StartM EndM
Proj1 Bob 1 3
Proj1 Jack 4 5

I cannot however figure out how to do this in access, guidance appreciated
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
You would use an Aggregate (Totals) Query to do this in Access (you can Google it).

The SQL code for the query would look something like this:
Code:
SELECT Projects.Project, Projects.Name, Min(Projects.Month) AS StartM, Max(Projects.Month) AS EndM
FROM Projects
GROUP BY Projects.Project, Projects.Name;
 
Upvote 0

Forum statistics

Threads
1,214,909
Messages
6,122,189
Members
449,072
Latest member
DW Draft

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