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 a business scenario where the client 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 add 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, or else navigate to https://<tenantname>.shareoint.com/sites/<sitename>/lists/<listname>
- 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 the 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. Now we can see, that the SharePoint calculated column today (Particular Date) has been added automatically with today’s date.

This is all about SharePoint Calculated Column Today.
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 the 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. 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.
- 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, 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.

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.

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.
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.

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.

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
You may also like:
- SharePoint calculated column remove characters from text
- SharePoint calculated column split string
- SharePoint calculated column if contains text
- SharePoint calculated column multiplication

Preeti Sahu is an expert in Power Apps and has more than 6 years of experience working with SharePoint and the Power Platform. As a Power Platform expert for Power BI, Power Apps, Power Automate, Power Virtual Agents, and Power Pages, she is currently employed with TSinfo Technologies. She is the author of the book Microsoft Power Platform A Deep Dive. She also made a big technical contribution to SharePointDotNet.com in the form of articles on the Power Platform. She enjoys traveling and spending time with her family in her spare time.