Help

Having a wee bit of brain trouble today with a formula

Topic Labels: Formulas
Solved
Jump to Solution
1127 3
cancel
Showing results for 
Search instead for 
Did you mean: 
RonniEloff_VKDe
8 - Airtable Astronomer
8 - Airtable Astronomer

I have a formula that worked but I decided to go and mess with it.

I have a Date field that is the date of the task action

I have a Days to next action field to add to Date field to define next time to attempt the task (normally a callback)

I have a Next Task Date formula field that shows the Date for the next task based on Date + Number of Days  - and it was nicely working

The formula in the Next Task Date field looked like this - DATEADD({Date }, {Days to next action}, 'days')

However I don't want the formula to put anything in the Next Task Date if the Numbers of days is blank

Here is my current formula

If ({Days to next action}=BLANK(), DATEADD({Date }, {Days to next action}, 'days'))

It's failing and I can't figure out why.

Thanks in advance for helping

1 Solution

Accepted Solutions
TheTimeSavingCo
18 - Pluto
18 - Pluto

Try:

 

IF(
  {Days to next action},
  DATEADD({Date}, {Days to next action}, 'days')
)

 

See Solution in Thread

3 Replies 3
TheTimeSavingCo
18 - Pluto
18 - Pluto

Try:

 

IF(
  {Days to next action},
  DATEADD({Date}, {Days to next action}, 'days')
)

 

Thanks.  Can I ask why Blank() wouldn't work here.  It was a solution from another problem I found in the Community that almost mimicked my issue of what I was trying to accomplish

I'm not sure either I'm afraid heh, hopefully someone else can answer that