cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
jeanwang Helper II
Helper II

Formula in a calculated column

Hi,

 

I am creating a project plan based on sharepoint list. I have set up a deadline for each step, if the previous step is delayed for x days, i want the deadline of following steps to be extended by x days as well. I have wrote a formula in the column setting like this, but it doesn't work.

 

Calculated formula.PNG

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Re: Formula in a calculated column

Is this a problem with Flow or SharePoint? I would recommend posting this to A sHarePont forum instead. Unless of course you are trying to replace the sharepoint logic with Flow.

View solution in original post

Super User
Super User

Re: Formula in a calculated column

@jeanwang 

I agree with @Pieter_Veenstra .

That said, I believe that you need to include the DATEVALUE function in your expression:

=IF(ISBLANK(Date1),DATEVALUE("09/20/19"),Date1)

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

3 REPLIES 3
Super User
Super User

Re: Formula in a calculated column

Is this a problem with Flow or SharePoint? I would recommend posting this to A sHarePont forum instead. Unless of course you are trying to replace the sharepoint logic with Flow.

View solution in original post

Super User
Super User

Re: Formula in a calculated column

@jeanwang 

I agree with @Pieter_Veenstra .

That said, I believe that you need to include the DATEVALUE function in your expression:

=IF(ISBLANK(Date1),DATEVALUE("09/20/19"),Date1)

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

jeanwang Helper II
Helper II

Re: Formula in a calculated column

Thank you, Scott! This works well. Will post in SharePoint forum next time. I was in the middle of building a flow, didn't realize my knowledge has expanded to SharePoint ist now 🙂

Helpful resources

Announcements
firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (9,932)