Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Help with date subtraction formula

$
0
0

I have 3 columns that will go into this formula:

Baseline date

Actual date

Current date (do I need to make a column for this?)

This is the logic I want to code:

If the Actual Date is NOT null then: Baseline date - Actual date

If the Actual date is null then: Baselinedate - Current date


This is what I have:

=IF(OR(ISBLANK[Actual Finish]),[Baseline Finish]-[Today],IF(ISERROR[Actual Finish],[Baseline Finish]-[Actual Finish]))

I get a syntax error so Im not sure what Im doing wrong



Viewing all articles
Browse latest Browse all 11571

Trending Articles