Microsoft Access 2010 : Finding the Largest and Smallest Values in a Field by Using a Query
1. Find the Largest Values in a Field
Open a query in Design view.
Click the Sort cell of the field in which you want to find the top values.
Click the down arrow that appears.
Click Descending.
If necessary, click the Design tab.
Using the Top Values field control, perform any of these tasks:
Click the control’s down arrow and select a default value to specify the number of values or the percentage of values to display.
Type a number indicating the number of values you want displayed in the query results.
Type a percentage indicating the portion of the table’s rows you want displayed in the query results.
Click Run.
2. Find the Smallest Values in a Field
Open a query in Design view.
Click the Sort cell of the field in which you want to find the top values.
Click the down arrow that appears.
Click Ascending.
If necessary, click the Design tab.
Using the Top Values field control, perform any of these tasks:
Click the control’s down arrow and select a default value to specify the number of values or the percentage of values to display.
Type a number indicating the number of values you want displayed in the query results.
Type a percentage indicating the portion of the table’s rows you want displayed in the query results.
Click Run.
Note:
To have your query display all its results, return to Design view, click the Design tab, click the Top Values field’s down arrow, and then click All.