logo
search
Others

How to Convert Minutes to Hours and Minutes in a SharePoint List

Huda QurayshiHuda Qurayshi Oct 7, 2026 869 views

Question details

The user needs to format a numeric column storing total minutes into a readable text string displaying hours and minutes.

How to Convert Minutes to Hours and Minutes in a SharePoint List
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Displaying time duration data stored as raw minutes in a user-friendly format, such as converting 150 minutes to 2 hours and 30 minutes.
Observed behavior
The list currently displays only numeric minute values, requiring a formula or calculation to display the desired format.
Before you start

Ensure you have the necessary permissions to modify list settings and add calculated columns to your SharePoint list.

Solution 1Recommended

Use a Calculated Column Formula

You can create a calculated column in SharePoint that mathematically converts the minutes into hours and concatenates the remaining minutes into a formatted text string.

This solution utilizes standard formula functions (INT and MOD) that are natively supported by SharePoint calculated columns. It requires no custom code and updates automatically whenever the source minutes value is modified.

1
Open List Settings

Navigate to your SharePoint list. Click on the Settings gear icon in the top right corner and select 'List settings'.

2
Create a New Column

Scroll down to the Columns section and click on 'Create column'.

3
Configure Column Details

Enter a name for your new column, such as 'Formatted Duration'. Under the column type options, select 'Calculated (calculation based on other columns)'.

4
Enter the Conversion Formula

In the Formula text box, input the following formula: =INT([Time]/60)&" Hours, "&MOD([Time],60)&" Minutes". Note: Replace '[Time]' with the exact name of your original numeric column.

5
Save the Column

Set the data type returned from this formula to 'Single line of text', then click 'OK' at the bottom of the page to apply your changes.

Use a Calculated Column Formula
Advanced Customization: For JSON formatting or advanced UI customizations, you can use SharePoint Column Formatting. If you need further assistance with JSON, it is recommended to check Microsoft Q&A using the SharePoint Development tag.
Free Microsoft Office alternative

Manage and Calculate Time Data Offline with WPS Office

If you are exporting SharePoint list data or need a powerful spreadsheet tool to analyze and format time data offline, WPS Office provides a lightweight, highly compatible alternative to Microsoft Office. It supports the exact same formulas for time calculation without the subscription costs.

  1. 1. Download the Installer: Visit the official WPS Office website and click the free download button for your operating system.
  2. 2. Run the Installation: Open the downloaded installer file and follow the on-screen prompts to complete the setup.
  3. 3. Open and Analyze Data: Launch WPS Spreadsheet, import your exported list data, and apply your duration formatting formulas.
Free to use with a lightweight, quick installation.Fully compatible with Microsoft Excel (.xlsx) formats and formulas.Seamlessly calculate durations using INT and MOD functions just like SharePoint.Familiar tabbed interface makes switching from Microsoft Office easy.Includes comprehensive Writer, Presentation, and PDF tools in one suite.
microsoft office alternative - wps office

Frequently Asked Questions

How do I handle empty values in my SharePoint time formula to avoid errors?

You can wrap your calculated formula in an IF statement to check if the source column is blank. For example: =IF(ISBLANK([Time]), "", INT([Time]/60)&" Hours, "&MOD([Time],60)&" Minutes").

Can I perform this same minute-to-hour conversion in a spreadsheet?

Yes. The exact same logic applies in spreadsheet software. The formula =INT(A2/60)&" Hours, "&MOD(A2,60)&" Minutes" works perfectly in both Microsoft Excel and WPS Spreadsheet, assuming your minutes are stored in cell A2.

Why am I getting a syntax error when saving my calculated column in SharePoint?

Syntax errors often occur due to regional settings. If your SharePoint site uses a locale that requires semicolons instead of commas to separate formula arguments, replace the commas in the formula with semicolons. Also, ensure your column name exactly matches the text inside the brackets.