How to Round an Access Totals Row to a Whole Number
Question details
The user wants to format or calculate a Microsoft Access datasheet totals row so that the aggregated values, such as averages, display as rounded whole numbers without decimals.

- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Calculating an average or aggregate total in an Access datasheet, form, or report, which results in a long decimal number that needs to be simplified to a whole number.
- Observed behavior
- The calculated totals row naturally displays multiple decimal places. Standard datasheet totals rows do not expose a direct Format property in the same way form or report text boxes do.
Determine whether you simply want to hide the decimals visually for a cleaner display, or if you need to mathematically round the underlying calculated value for use in further queries.
Format the Column in Datasheet View
Use this method if you are working in an Access datasheet view and only need to change how the totals row appears visually without altering the underlying data.
In a datasheet view, the Totals row itself does not have an independent Format property. Instead, you must apply the formatting to the entire column. Keep in mind that formatting only affects the display value.
Open your Microsoft Access table or query in Datasheet View and ensure the Totals row is enabled at the bottom of the grid.
Click the header of the column that contains the totals you want to round to select the entire field.
In the Ribbon, navigate to the Fields tab. Under the Formatting group, change the Format dropdown to 'Fixed'.
Adjust the Decimal Places property in the Ribbon to 0. The totals row will immediately display as a whole number.

Adjust the Format Property in Forms or Reports
Apply this solution when your calculated total is displayed inside a text box control on an Access form or report.
Use the Round Function in an Expression
Use this mathematical approach when you need to change the actual underlying calculated value, rather than just masking the decimals visually.
Looking for a Free Alternative to Microsoft Office?
While Microsoft Access is designed for complex relational databases, a large majority of data aggregation, average calculations, and mathematical rounding can be handled efficiently using a robust spreadsheet application. WPS Office offers a powerful, lightweight, and free suite for all your document and spreadsheet needs.
- 1. Download WPS Office: Navigate to the official WPS Office website and download the free installation package for your operating system.
- 2. Install and Launch: Run the quick installer, then open the WPS Spreadsheet application to begin managing your tabular data.
- 3. Process and Round Data: Import your CSV files or enter your data. Utilize the intuitive formatting tools and formula bar to calculate totals and round numbers effortlessly.

Frequently Asked Questions
Why does clicking the totals cell show decimal numbers despite formatting?
Formatting a column in Access Datasheet view only modifies the visual representation of the number for easier reading. The underlying stored or calculated value remains completely untouched, which is why clicking into the cell reveals the exact decimal number.
Can I change the actual mathematical formula used in an Access table's Totals row?
The Totals row in a table datasheet provides fixed, quick aggregate functions like Sum or Average, and you cannot customize the underlying formula directly within that dropdown. To mathematically alter the result (such as applying the Round function), you must build a separate Totals Query.
Is there a difference between formatting to 0 decimals and using the Round() function?
Yes. Formatting only hides the decimals visually, while the Round() function mathematically alters the output value. Using Round() ensures that if you use the total in further downstream calculations, the exact whole number is used, which helps prevent cumulative rounding errors.




