?
Solved

Sharepoint 2010 column calculated value

Posted on 2013-10-25
3
Medium Priority
?
567 Views
Last Modified: 2013-10-30
Hello
In Sharepoint 2007 I had a calculated value column with a function
=SUM(SECOND([Column name]); MINUTE([Column name])*60;HOUR([Column name])*60*60)
Column was a single line type with values similar to: "1:15:12"
It was used to transform item length to seconds
And it was working.
After an update to SharePoint 2010 such function is not working anymore.
SECOND, MINUTE, HOUR functions return #VALUE!
According the MS site it should work
http://office.microsoft.com/en-ie/sharepoint-server-help/minute-function-HA010379998.aspx

Maybe there is some configuration/regional settings issues someone had come around and would be able to share.
0
Comment
Question by:SamuelPallari
  • 2
3 Comments
 
LVL 15

Expert Comment

by:colly92002
ID: 39600031
Maybe it is the column definition.  
Go into Site Settings->Site columns and find the column
Check it is a datetime type
Check that the "Date and Time Format" has not been set to "Date Only", but is set to "Date & Time"
0
 

Accepted Solution

by:
SamuelPallari earned 0 total points
ID: 39600038
Figured out
Had to use SECOND(TIMEVALUE([Column name]))
0
 

Author Closing Comment

by:SamuelPallari
ID: 39610999
Figured out myself
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question