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

2
votes
3answers
4k 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
65 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
2k 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 ...
4
votes
1answer
2k 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
3k 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 ...
1
vote
2answers
3k 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
2k 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 ...
1
vote
0answers
343 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
542 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
3answers
6k 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
94 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
2k 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
162 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
291 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
296 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
650 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
254 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
6k 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 ...
0
votes
1answer
636 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
2k 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
4k 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 ...
2
votes
1answer
6k 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
463 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 ...
0
votes
1answer
143 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
236 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
1k 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?
6
votes
2answers
28k 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
2k 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
319 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.). ...
9
votes
2answers
23k 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 | | ...
3
votes
2answers
1k views

How to create a calculated column based on Workflow Status column

I want to create a calculated column based on Workflow Status column which the system is not allowing. The error is "One or more column references are not allowed, because the columns are defined as a ...
2
votes
5answers
7k views

How do we create dynamic url in Sharepoint 2010 Calculated field

I am working on creating sharepoint dashboard using color coding. I have my custom list created and all of the traffic lights are working based on condition user provides. Following is the basic set ...
1
vote
1answer
5k views

Using an Additional Lookup Column Value in a Calculated Column

I have a lookup column based on another list's description (a 'Category' list) and have ticked the other list's 'Category ID' column to be shown at the same time (I note that this is a manually ...
0
votes
2answers
10k views

How to get Full Name in 'Calculated Column' from User Id in SharePoint List

I have a list with a column which consist of user id. there is also a calculated column which has to get the full name from this id. I was able to achieve this by installing custom WSP. Is there any ...
3
votes
2answers
2k views

How to calculate business days excluding Thursdays and Fridays given between two dates?

How to get the business days excluding the weekends (Thursdays and Fridays) in between two given dates? Given dates are two list columns (Start Date & End Date) and business days is a calculated ...
1
vote
1answer
840 views

Substring-after or similar to extract ID from a URL?

I'm using a script-based solution to add a Comment Box to dispform.aspx in a MOSS document library. The comments live in a separate list and I have a requirement to show the Name metadata from the ...
1
vote
1answer
823 views

How to Retrieve Numeric Column value from SharePoint List

In the SharePoint list I am having the numeric column and the value is like this 123,456,789,012,346,000,000,000,000,000,000,000,000,000,000,000,000,000,000,000. I am using SPQuery to retrieve items ...
4
votes
5answers
18k views

How do you Sum a Calculated Column?

I have a calculated column in a list and I would like to get a sum of that column in the view. I can't use datasheet view, and I don't like the idea of a workflow because the user only sees a few ...
2
votes
2answers
3k views

Calculated column based on number of entries of each choice in a choice column

I am working in SharePoint 2010. I need to make a chart to represent how many projects we have from each division. We have a SharePoint list of our projects with a choice column of all the divisions. ...
3
votes
3answers
3k views

Sharepoint - Calculated Column showing different colours based on list item age

Marc, I understand you are a busy man, but if you can spare atleast sometime to my query below then I will really appreciate the gesture. Background: We get several requests (items on SharePoint ...
1
vote
3answers
2k views

Calculated field - Get Modify Date when a Particular Column is get Changed

How to get a calculated field with modify date, when one field or column changes in the share point list. For example, If I have a field status, i should get a modify field populated with today's ...
3
votes
4answers
13k views

How to use calculated field to retrieve the ID of the item in the SharePoint 2007 List?

I have a calculated field in a SharePoint 2007 list. I want this calculated field to include the ID of the item but I could not find the ID column inside the "Insert Column" List box. How should I go ...
1
vote
2answers
1k views

What is the formula for calculated field to calculate the milliseconds of the field “Created” in SharePoint 2007

In SharePoint 2007 List, there is a field (or column) called "Created". It contain the date in which a item is created. I want to create any field, a calculated field, to help me calculate the ...
5
votes
4answers
4k views

calculated field - formula for ageing

Again a calculated field question, How can I create a calculated field to find out, what is the age of the entry. In the list I will have a created date field, from that I would like to create a ...
3
votes
1answer
5k views

Calculated field Date formula

I have a date field, and it has the date in the format - 11/2/2011 11:40 AM How ever my requirement is to get the date in the format - 02 Nov 2011 11:40 AM For that I created a calculated field for ...
0
votes
2answers
435 views

calculated fields

I'm using SharePoint 2007 and I'm working on a List in a DataSheet view. I created the field "Color" - a dropdown field that contains: "Yellow","Green","Blue". I also created the fields: ...
1
vote
1answer
920 views

Problem with formula when creating calculated column when referenced column that has space in its name

Not sure what the problem is but when i use the following formula when creating a calculated column =IF([Event Type]="","Black",IF([Event Type]="PFL","Red",IF([Event Type]="VCL","Gold",IF([Event ...
2
votes
1answer
3k views

Calculated Column - Last Name from Full Name

I'm trying to write a calculated column formula to return the Last Name from a column that currently has employee's full names. The problem that I am having, is that the full names are stored in a ...