Follow me on Twitter: @eusp

Taming the Elusive “Calculated Column” – Date and Time – Part 2

Original Publication Date: Friday, May 29, 2009
Filed Under: Calculated Column, Dessie Lunsford | Leave a Comment
SharePoint User Level: Power User
 

Probably the best approach to really be able to see just what’s going on is to plug in a few test dates and run through the calculations, which is what we’ll begin with next time.

Taming the Elusive “Calculated Column” – Date and Time – Part 1

Original Publication Date: Thursday, May 28, 2009
Filed Under: Calculated Column, Dessie Lunsford | 4 Comments
SharePoint User Level: Power User
 

I wanted to start off the series on the “Date and Time” set of functions by examining a specific problem that many folks have posted questions about – that is, how do you calculate the difference (number of days) between two dates, while excluding weekends? (Iain on the STP forums asked this recently, which sparked my interest in writing this)

Taming the Elusive “Calculated Column” – Logic – Part 10

Original Publication Date: Wednesday, May 13, 2009
Filed Under: Calculated Column, Dessie Lunsford | 2 Comments
SharePoint User Level: Power User
 

If we had taken the same direction as in the previous series (detailing the “IF”) to test for each possible combination of values with multiple nested “IF” functions, the formula would have been considerable longer, and would have worked, but would have been much less efficient.
By using the “OR” and “AND” functions to test for combinations of values at the same time, we’ve not only lessened the development time need to create the formula, we’ve also made debugging and testing much easier (always a good thing).

Taming the Elusive “Calculated Column” – Logic – Part 9

Original Publication Date: Tuesday, May 12, 2009
Filed Under: Calculated Column, Dessie Lunsford | 1 Comment
SharePoint User Level: Power User
 

In order to take what we’ve learned by using our “Truth Table” and convert it into a usable formula for our SharePoint list, we need to work through the logic in order to make sure we don’t skip any steps (which can happen when designing complicated formulas “on-the-fly”). In the previous series on “Logic Functions”, we used a nested “Hierarchical” diagram to accomplish this since all we were working with were a series of nested “IF” statements (“If this, do this, if not do that”). Although we could take this same approach to detail the logic this time, it wouldn’t really help us too much since there’s only one “IF” in our problem.

Taming the Elusive “Calculated Column” – Logic – Part 8

Original Publication Date: Friday, May 8, 2009
Filed Under: Calculated Column, Dessie Lunsford | 3 Comments
SharePoint User Level: Power User
 

Now that we’ve looked at how to trace down the logic of an “OR” function and that of an “AND” function, we’re going to merge the two in order to be able to test for multiple conditions together.

Last night, I wanted to sum a calculated column with groups on the page with the groups closed. SharePoint does not do this OOB and my previous attempt at a solution needed data rendered (groups expanded).

To accomplish this, I did two things to my OWS API. First, I added a getType method that [...]

Taming the Elusive “Calculated Column” – Logic – Part 6

Original Publication Date: Tuesday, May 5, 2009
Filed Under: Calculated Column, Dessie Lunsford | 4 Comments
SharePoint User Level: Information Worker
 

To model this approach, we looked at using common logic modeling tools like “Truth Tables” and “Hierarchical Flowcharts” to first build out the path the logic will take, then transform that logic into a complete formula we can simply paste into a SharePoint calculated column.

 Page 2 of 8 « 1  2  3  4  5 » ...  Last »