In this SharePoint Online tutorial, we are going to discuss What is a SharePoint Calculated Column, How to create a SharePoint Calculated Column Today.
Also, we will see the topic below:
- SharePoint calculated column date and time
- SharePoint calculated column today minus date
- SharePoint List Calculated Column Current Month
- SharePoint List Calculated Column Current Year
- SharePoint List Calculated Column Day Formula
- SharePoint calculated column current date and time
- SharePoint calculated column if the date is greater than today
- SharePoint calculated column if the date is lesser than today
Also, Read: How to Calculate Average in SharePoint Online List
SharePoint Calculated Column
The calculated column in SharePoint is used to calculate field values which are automatically calculated based on the data within a SharePoint list based on the formula.
Calculated columns are formulas that perform calculations using data from other columns within the list.
SharePoint Calculated Column Today
Here, we will see how to create a SharePoint calculated column today with an Example:
Example: We have already created a list for RENA Technologies, a company based out in the United States of America.
Based on the business scenario, the client stored the Semiconductor Issue Tracker list. We already stored information like:
- Transaction ID
- Product ID
- Supplied Product
- Product Cost
- Product Delivery Person
- Is paid or what
- Product Supplied Date
but we will create a column for a Particular Date because, when we added items, to the list, we need to have an update of when we added an item of a particular date. So we will create a calculated column today for the Particular Date.
- Navigate to the SharePoint online list where we want to create a calculated column today, else navigate to https://<tenantname>.shareoint.com/sites/<sitename>/lists/<listname> Example: https://tsinfotechnologies.sharepoint.com/sites/RenaTechnologies/Lists/SemiconductorTransactionDetails
- Now, we will create a calculated column Today, Click on the +Add column -> Choose to See all column types -> Click on the Next button.

- Then Create column page appears, and we will provide a Name as per the user’s requirement. Example: We provided a name as a Particular Date.
- We choose to select a type as Calculated(calculate based on other columns).

- In Additional column settings, we can provide a Description (optional).
- In Formula, we can provide a formula for SharePoint calculated column which displays today’s date as
=Today()

- Next, we need to set the return type from the formula as Date and Time -> Set Date and Time format as Date only as shown below.
- Then if necessary, we can set it as Add to default view. Click on the OK button.

- Then navigate to the SharePoint list (Semiconductor Transaction Details). Now we can see, the SharePoint calculated column today (Particular Date) has been added automatically with today’s date.

This is all about SharePoint Calculated Column Today.
Check out: SharePoint Online List Version History
SharePoint Calculated Column Date and Time
Similarly, we follow the above procedures to create a SharePoint column by providing a name as a Particular date and time and selecting a type as Calculated data type.
- Provide a formula for SharePoint calculated column which displays today’s date and time as
=Today()
- Next, we need to set the return type from the formula as Date and Time.
- Set Date and Time format as Date and time as shown below. Click on the OK button.

- Then navigate to the SharePoint list (Semiconductor Transaction Details). Now we can see, the SharePoint calculated column date and time has been added automatically with today’s date and time.

This is how to work with SharePoint Calculated Column Date and Time.
SharePoint Calculated Column Today Minus Date
Here, we have already created a column for today, as per the above example, we have another date column as the Product Supplied Date, so we will calculate how many days have been completed when the product supplied date to Today’s date.
- Navigate to the SharePoint list, where you have calculated today’s date. (Semiconductor Transaction Details)
- Click on the +Add column -> Choose to See all column types.
- Click on the Next button.
- Then Create column page appears, and we will provide a Name as per the user’s requirement. Example: We provided a name as a Days Covered.
- We choose to select a type as Calculated(calculate based on other columns).
- In Additional column settings, we provide a Description(optional).
- Then Formula, now we provide a formula for Sharepoint calculated column today minus the date as (today-date column).
=Today()-[Product Supplied Date]

- Next, we need to set the return type from the formula as Number -> set the number of decimal places as 0. Click on the OK button.

- Then navigate to the SharePoint list(Semiconductor Transaction Details). Now we can see, the SharePoint calculated column today minus the product supplied date.

This is how to work with SharePoint Calculated Column Today Minus Date.
Have a look: SharePoint Phone Number Validation [With Examples]
SharePoint List Calculated Column Current Month
In this section, We will work with SharePoint List Calculated Column Current Month.
- Click on the +Add column -> Choose to See all column types.
- Click on the Next button.
- Then Create column page appears, and we will provide a Name as per the user’s requirement. Example: We provided a name as a Particular Date full month.
- We choose to select a type as Calculated(calculate based on other columns).
- In Additional column settings, we provide a Description(optional).
- Then Formula, now we provide a formula for List Calculated Column Month using Today column(Particular Date)
=TEXT([Particular Date],"MMMM")

- Next, we need to set the return type from the formula as a Single line of text.
- Then click on the OK button.

- Then navigate to the SharePoint list(Semiconductor Transaction Details)

Now we can see, the SharePoint List Calculated Column Month Formula using the Today column(Particular Date).
SharePoint List Calculated Column Current Year
Similarly, we follow the above procedures to create a column by providing a name as a Particular date year and selecting a type as Calculated.
- Then Formula, now we provide a formula for List Calculated Column Year using Today column(Particular Date)
=TEXT([Particular Date],"YYYY")

- Then set the return type as Number -> click on the OK button. Navigate to the SharePoint list(Semiconductor Transaction Details)

Now we can see, the SharePoint List Calculated Column Year Formula using the Today column(Particular Date).
Read: SharePoint Online List Calendar View Color Coding
SharePoint List Calculated Column Day Formula
Similarly, we follow the above procedures to create a column by providing a name as a Particular date day and selecting a type as Calculated.
- Then Formula, now we provide a formula for List Calculated Column Day using Today column(Particular Date)
=TEXT([Particular Date],"dddd")

- Then set the return type as Single line of text -> click on the OK button. Navigate to the SharePoint list(Semiconductor Transaction Details)

Now we can see, the SharePoint List Calculated Column day Formula using the Today column(Particular Date)
SharePoint calculated column days between the date and today
Here, we will calculate the column days between the Product Supplied date and today. Similarly, we follow the above procedures to create a column by providing a name as a YearsHere and selecting a type as Calculated.
- Then Formula, now we provide a formula for column days between the Product Supplied date and today
=DATEDIF([Product Supplied Date],TODAY(),"Y")

- Then set the return type as Number -> Provide Number of decimal places as 0

- Click on the OK button. Navigate to the SharePoint list(Semiconductor Transaction Details)

Now we can see, the SharePoint List calculated column days between the Product Supplied Date and today in Years.
Check Post: How to Change SharePoint Online Team Site to Microsoft Teams
SharePoint calculated column if the date is greater than today
Here, we will calculate the Product Supplied Date is greater than today. Similarly, we follow the above procedures to create a column by providing a name as a Greater than and selecting a type as Calculated.
- Then Formula, now we provide a formula for Product Supplied Date is greater than today is
=[Product Supplied Date]>TODAY()

- Then set the return type as Yes/No -> click on the OK button. Navigate to the SharePoint list(Semiconductor Transaction Details)

Now we can see, the SharePoint List calculated column if the Product Supplied Date is greater than today in yes or no format.
SharePoint calculated column if the date is lesser than today
Here, we will calculate the Product Supplied Date is lesser than today. Similarly, we follow the above procedures to create a column by providing a name as a Lesser than and selecting a type as Calculated.
- Then Formula, now we provide a formula for Product Supplied Date is lesser than today is
=[Product Supplied Date]<TODAY()

- Then set the return type as Yes/No -> click on the OK button. Navigate to the SharePoint list(Semiconductor Transaction Details)

Now we can see, the SharePoint List calculated column if the Product Supplied Date is lesser than today in yes or no format.
Conclusion
In this SharePoint Online, we discussed What is a SharePoint Calculated column, How to create a SharePoint calculated column today, and also discussed:
- SharePoint calculated column date and time
- Sharepoint calculated column today minus date
- SharePoint List Calculated Column Current Month
- SharePoint List Calculated Column Current Year
- SharePoint List Calculated Column Day Formula
- SharePoint calculated column current date and time
- SharePoint calculated column if the date is greater than today
- SharePoint calculated column if the date is lesser than today
Moreover, you may like some more SharePoint Online tutorials:
- SharePoint Online Modern List Features
- SharePoint Document Library Check in and Check out
- SharePoint Online List Templates [With Real Examples]
- Indexed Column in SharePoint Online List
Bijay Kumar Sahoo is a highly accomplished professional with over 15 years of experience in the field of SharePoint and related technologies. He has been recognized as a Microsoft MVP (Most Valuable Professional) more than 9 times, starting from April 2014, for his exceptional contributions to the SharePoint community. Bijay is also a prolific author, having written two books on SharePoint – “Microsoft Power Platform – A Deep Dive” and “SharePoint Online Modern Experience Practical Guide“. His deep insights into SharePoint are also shared on his popular YouTube channel EnjoySharePoint where he teaches SharePoint to a global audience (From various countries like the United States of America, Canada, the United Kingdom, Australia, New Zealand, etc). Read more…