How to Calculate Years in Microsoft Access
Welcome to our Microsoft Access tutorial where we explore the functionality of calculation fields in queries. Follow along as we demonstrate how to design a query that calculates the years an employee has been working at the company. Subscribe to our channel for more database tips and tricks!

To add a calculation field in a query using Microsoft Access, you can follow these steps: Open your database and go to the “Create” tab on the Ribbon. Click on “Query Design” in the “Queries” group. Add the tables you need for your query by double-clicking them in the “Show Table” dialog, then close the dialog. In the query design grid, right-click on a blank column in the “Field” row and select “Zoom” or press Shift + F2 to open the Zoom box for easier expression entry. Enter the name of your new calculated field, followed by a colon, and then the calculation expression. For example, if you want to calculate the variance between actual and projected sales, you would enter something like `Variance: [ActualSales] – [ProjectedSales]`. Ensure that you use square brackets around field names in your expression. After entering your expression, press Enter to confirm. To view the results, right-click the query tab and select “Datasheet View” or click “Run” in the “Results” group of the “Query Tools Design” tab. Remember, the fields used in your expression must be present in the tables you’ve added to your query, and be cautious of typing errors as field names are case-insensitive but must match exactly. How to add calculated fields in Microsoft Access. Microsoft Access tutorial. This is how to create a database.

Join this channel to get access to perks:

If you want to support me, check this out:

Online training courses:

Word course:

Excel Introduction Course for basic users:
Excel Intermediate Course:

Excel Advanced Course:

Microsoft Project Master Class:

Microsoft Visio Essentials:

Access for beginners course:

Access Master Class:

Classroom based courses can be arranged at

Courses are available through Microsoft Teams, Online and Face to face in the UK

Udemy Courses

Training Guide Books

Excel for New Managers

Microsoft Project Overview

Microsoft Visio Basic

Very cheap E_books are here:
Excel For New Managers
Microsoft Project Overview
Microsoft Visio Basics
Microsoft Access Introduction
A PowerPoint Overview

Leave a Reply

You must be logged in to post a comment.


“Steve’s background in IT training clearly provided him with great organisational and managerial skills which he put to good use at Second Chance Enterprises. His ability to see the long term strategy as well as manage the day to day management is one of his biggest strengths.”

Chriss Graham
Project Coordinator at Daisy Group

“I studied with Steve when we completed our CiPD CTP together. During the course I found Steve to be very personable and also very professional.  Steve was first on my list of suppliers. Steve was very competitively priced and very accommodating.”

Simon Snowdon
European Training Manager at HP Enterprise Services

“Steve delivered a number of Microsoft Office Training Sessions to a range of employees across Newcastle College. The service provided by Steve is second to none. I have no hesitations in recommending him to other employers.”

Christine Jackman
Learning Manager(North) - Winner of Training Programme of the Year NECCA

“The course was really thorough and Steve was very knowledgeable and explained things very well. I’ve not used Microsoft Project before but now I feel very confident that I’ll be able to use it for what I need to do in my job”.

Craig Forster
Estimator, John F Hunt Regeneration Ltd