Calculated columns are the SharePoint equivalent of Excel formulae. They allow you display values that are calculated from the values of one or more other columns. These calculations can be made using standard mathematical operators and SharePoint's built-in functions.

learn more… | top users | synonyms

1
vote
2answers
889 views

Default Value for tomorrow at specific time

Say I'm currently using a Date/Time field for workflow purposes, the default value being Today+1. That gives the time at 12:00am tomorrow, which is great. Is there a way to always give the default ...
2
votes
2answers
4k views

How to match current user to a username column?

I have a list view that should only show when an admin adds the person's username to an "allowed viewers" username column. So, I am thinking to create a calculated column that compares the current-...
0
votes
1answer
842 views

Infopath: sum (non-bound) calculated values

Infopath & Sharepoint 2010, list Form: I have 2 calculated values placed on infoPath form. Those fields are not bound to existing list fields as I don't need store this data, just present to user....
1
vote
1answer
5k views

Infopath: Copy calculated value to list field

I'm using InfoPath and SP 2010. I'm using calculated fields which works well, but I wonder if there is a way to copy calculated field value to standard list field when form is submitted ?
2
votes
1answer
895 views

Calculated field to show the greater of two calculated values

I have some documents that need to be deleted based on the following criteria: one year after termination, or three years after hire date, whichever is greater. I have created two calculated columns ...
0
votes
1answer
1k views

How to create a Project Tasks List view for Overdue tasks?

How do I create a dedicated view to display only the Overdue tasks based on three columns. Start Date and End Date (Actual End Date) and Target Date (projected completion date) Target Date - Start ...
0
votes
1answer
66 views

Calculated coulmns in sharepoint 2007

I need to use text formulas, but I also want to include data in coulmn 'ID'. As this is default column for any list it is not available in default selection. So I have added it manually. Now old ...
0
votes
1answer
69 views

How Create Decade Field Calculated

Hello I'm having trouble creating a calculated field I managed to create a field that takes the date of an event =YEAR([Event Date]) however I needed to create another calculated field, this needs ...
0
votes
1answer
2k views

Can sharepoint calculate the number of “business hours” for a list item to be completed?

I work in financial institution and we want a column in a case management database to show the number of "Buinsess hours" from start to finish of a case. Business Hours Monday to Friday 5am - 8pm ...
1
vote
1answer
2k views

Insert html in formula field of a calculated column in sharepoint 2007 using javascript [duplicate]

Possible Duplicate: how to show HTML code in column? Is it possible to insert html/code in the formula field of a calculated column in sharepoint 2007 using javascript?
3
votes
2answers
3k views

SharePoint Calculated Field Limitations - Need Work Around

I have the following in a calculated field. I need to add many more IF statements but when I start adding more to the code I begin to get Syntax Error. I need a workaround to make this work. =IF(...
0
votes
1answer
358 views

How can I prevent a user from changing a formula in a calculated column?

I would like users to be unable to change formulas of some calculated columns, both from the list settings and from datasheet view. I am currently trying this via event receiver but I have went back ...
1
vote
1answer
2k views

Conditional Sum of Data in Another List

I have two lists 'Projects' and 'Tasks' where 'Tasks' are associated with 'Projects' with a lookup column. On the Projects list I would like to display the sum of all of the 'Actual Time' values (a ...
5
votes
6answers
13k views

How to resolve full names from a Person or Group column (that contains multiple entries) in a designer workflow

I have a custom list with a custom content type, with a workflow, on SharePoint 2007 as outlined in this other StackExchange question. I'm using a Person or Group typed column to contain a list of ...
1
vote
2answers
17k views

How can we create and calculate a ([Due Date]- [Today])/7 column in SP 2010?

How can we calculate ([Due Date]- [Today])/7 column that updates daily as value of Today changes and lets us calculate weeks left for due date ? Could create ([Due Date]- Today() )/7 and it worked ...
2
votes
3answers
11k views

How to convert date field in single line of text using Calculated columns

I have created a calculated field for a content type in my Sharepoint 2010 and I want to return a date in the TEXT format because I am returning some text with it. The condition I have put in the ...
1
vote
1answer
14k views

Calculated column- evaluating multiple conditions

Banged my head against this one for too long so thought I'd give in and post it. I'm trying to create a calculated column that evaluates two different conditions, as in: IF [Boolean A] = No OR [...
2
votes
1answer
3k views

How to make SharePoint 2010 calendar view Time Sensitive!

I am trying to create Dataview Webpart for SharePoint Calendar Events to display [Today] items. I was sucessful on that, my next challenge is how to make it time sensitive. I want to display events ...
2
votes
3answers
6k views

Calculated Column colour coded result

I have created a list on our new company sharepoint to track monthly sales orders, a kind of very basic sales pipeline if you will. In our list we have "Sales Price" and "Cost Price" columns and from ...
0
votes
1answer
68 views

How can I add a column tracking who last changed another column, so a modified column for a column

I need to track who mast modified specific columns, and would like to display this name in a column within the list. So within the list Column A would be Fix complete and Column B would be Fix ...
0
votes
2answers
4k views

Nested if statement in calculated list item

This should be easy but I have been beating my head against the wall on it. Here is my statement I'm using: =IF(AND([TODAY]>[Due In],[Comp Date]=""),"NO",IF(AND([TODAY]<[Due In],[Comp Date]=""),""...
4
votes
1answer
4k views

Calculated Hyperlink Column - Lost ID-Field Value Upon Editing

I created a calculated column with the following formula: ="<a href='../X_C03 Staff Members/DispForm.aspx?ID="&ID&"'>View</a>" and included this into a view. The column works ...
0
votes
3answers
4k views

Display Calculated Field as link

in a custom ListDefinition I used a calculated field to format a Text into an URL. I'm developping in VisualStudio2010 for SP2010. Here is my ListDefinition: <Fields> <Field Name="...
1
vote
2answers
5k views

How to apply CAML query on the Calculated Column of the list?

I have a calculated column that stores the calculated date value. When I apply the CAML query, it does not return any row even if the record exists. Can any one please guide me on this topic> ...
0
votes
1answer
3k views

Use value of Hyperlink column in a calculated column

I want to create a calculated column, it should show the value of Title and the URL of a Hyperlink column called Main Website. But I get an error for my formula: =[Title]&" ("&[Main Website]&...
3
votes
0answers
409 views

CAML Contains on a lookup field of a calculated column

I have some issue when using the CAML Contains statement when the field is a lookup field on a calculated column. It basically does not work, the Equal works though. here is the query, nothing ...
0
votes
1answer
701 views

Assign a calculated column a value

Is it possible to assign a value to a calculated column in a workflow, even if the formula for the column has already been set?
4
votes
4answers
17k views

How to set the Default value of a Date/Time column to next Friday?

I did some poking around in the documentation for Calculated field formulas, but I don't see anything that would help me do this. Does anyone know if it can be done? Can you point me in the right ...
0
votes
1answer
103 views

set several list columns based on portions of document name seperated by an underscore

If I have a docuent library that has a documents in it using the following format: Region_Division_Store.pdf ...notice the underscores. I also have three columns named Region, Division, Store. ...
0
votes
1answer
3k views

How to use the countif function of excel in calculated column of list?

I have a calculated column in my list where I want to apply the countif function available in excel. How can I do tht? Please guide.. Thanx in advance..
1
vote
1answer
195 views

using calculated field in calculated field

I have field1, field2, field3, calcfield1, calcfield2, complexCalcField1 Calcfield1 and Calcfield2 use field1, field2 and field3 for its values. ComplexCalcField1 uses Calcfield1 and Calcfield2 for ...
1
vote
1answer
623 views

Calculated Fields and Outputting to Excel

So my issue is with SharePoint 2007 and what is happening is that when I output to a excel spread sheet a custom view, If I export some calculated columns it also brings in the columns that were used ...
1
vote
1answer
347 views

Update field by code behind

I have an existing list with a text field and records in it. Now I want to change that text field into a calculated field to make it concat two other text fields in the list (possibly by changing the ...
0
votes
1answer
1k views

Calculated Column - complex formula

One of our previous SharePoint Developer developed this formula for a calculated column named as "pGantt" in a SP2010 document library. I am not able to understand its syntax. The value produced by ...
1
vote
2answers
376 views

Calculated field syntax error

I'm trying to get the difference of two date fields in terms of years. SP keeps giving syntax error. Any pointers where I'm wrong? =DATE(YEAR([Awarded Project End Date])-YEAR([Awarded Project Start ...
4
votes
1answer
13k views

Calculated Column with Nested IF statments

Here is my current formula that works. ="<DIV style='font-weight:bold; font-size:24px; color:"&IF([Project Close A]="",IF(Program="CAPITAL",IF([Project Close P]>=[Current Date],"green","red"...
0
votes
1answer
831 views

Have an Association Column equal the field of another Column

I have created an association column as part of a reusable workflow in SharePoint designer. I am now trying to have this column equal the field of another column in Document Library. I have tried ...
0
votes
4answers
3k views

Trouble with IF formula

We have a task list with a column that categorizes tasks into one of 12 categories. We're trying to calculate a NEW column that will be populated with one of two values, "Technical" or "Procedural" ...
1
vote
1answer
11k views

How can I get HTML to display properly from a calculated column? [duplicate]

Possible Duplicate: how to show HTML code in column? I have a calculated column where I am generating some HTML code based on values in the list item. How can I get HTML to display properly ...
2
votes
1answer
10k views

SharePoint List Calculated column to calulate Totals

I could import the excel data shown here to a SharePoint list 2010.I imported all the columns. Let's say I have two columns. Name and Value. For Value column, I have numeric type. I need to calculate ...
0
votes
2answers
800 views

Trying to detect published documents

I have a site that has a document library and I made a calculated field for the content type called status that determines if a file is published or not. I used =IF(MOD(Version,1)<>0,"Draft","...
0
votes
1answer
147 views

Sharepoint Column Totals to User - Value defined by status

So I have two list databases. User Points User Submissions These two databases work together. A user 'submits' for points in a status of 'submitted'/UserPoints[PendingPoints:Column] once 'approved' ...
0
votes
1answer
258 views

Calculated column to split the url Moss 2007

I have a link column eg: http://abcd/Shared%20Documents/test.doc. I need to create a calculated column to just get the name of the file..in this case "test.doc". Any help with the calculated column ...
0
votes
3answers
2k views

Calculated value column

In SharePoint foundation 2010 can i add a new calculated value column where the calculation are based on when another column is modified ?
1
vote
2answers
1k views

SP2007 formula to remove every occurrence of '#;' from a field

I want to create a calculated column to have values without the '#;' in it. What is the formula to do that?
7
votes
4answers
46k views

Column calculated value to get the current date time?

I have tried using =TEXT(Today,"mm-dd-yyyy hh:mm:ss") but that only returns the 5/5/55 00:00:00, it won't give the time. How do I get both the date and time with a calculated formula?
2
votes
2answers
3k views

Using SharePoint version number in calculated column?

I'm trying to get the value of column "Version" in a calculated column. I'm not sure if it's a bug with SharePoint 2007 but every time a document is updated, the version number shown in the calculated ...
3
votes
2answers
2k views

IF statement, Trouble with formula

I have created a simple list where we record time spent on troubleshooting customers. But now I would like to create a simple formula for a Calculated field, but I can't get it to work. We have two ...
3
votes
1answer
565 views

“Changed On/Modified” columns - Date Format & Regional Settings

I was wondering if I change my regional settings through: Site Settings - Regional Settings - Locale: Dutch (Netherlands), affects the date format of the standard columns (Changed On/Modified e.g.). ...
10
votes
2answers
55k views

Using calculated field to retrieve substring of another field

Suppose I have a field that contain the following data: ========================== | Email Address | ========================== | Jack@wonderland.com | | Peter@nobodyland.com | | Jill@...