View Full Version : SharePoint: Calculated Column Formula (Nesting Help)

06-19-2009, 09:34 PM
Running MOSS 2007 and have created a calculated column. I could use a hand coming up with a proper formula for it. There are 3 states the calculation needs to display (New, Refresh, <blank>). Here is what the formula needs to accomplish:

IF ORD >= TODAY, "New"
IF ORD < TODAY & NRD >= TODAY, "Refresh"
Else, ""

I know how to do a formula for one or the other IF/THEN/ELSE statements (see below), but don't know how to combine them.

I've tried putting these together in various ways but so far no joy. This is what I've attempted to use but obviously don't have the syntax correct...


How should I write this better?

The second question I have is where can I find a good source on educating myself on this? So far I've found very good information on the functions supported by SharePoint (http://msdn.microsoft.com/en-us/library/bb862071.aspx)but they only explain what each of the Functions, Operators & Constants are. Nesting them is where I stumble. Assistance on this would be very appreciated.

06-22-2009, 06:35 PM

06-22-2009, 09:21 PM
Well, if anyone's interested, here's the syntax for what I was looking for:

And I found this great resource of logical functions: http://office.microsoft.com/en-us/sharepointtechnology/CH101032621033.aspx

Basically, I just needed a 2nd "IF" function...

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum