IF THEN help

I'm trying to make this work but I keep getting errors. Help!I
IF([Document Needed]1, =BO, THEN [Date Initiated]1+30), IF ([Document Needed]1,=LOC, THEN [Date Initiated]1+10)
Thank you,
Kelly
Comments
-
=IF([Document Needed]1, ="BO", [Date Initiated]1+30), IF([Document Needed]1,="LOC", [Date Initiated]1+10))
Try that one. You needed to put your criteria in Quotes and remove the words "Then" from your formula. The comma functions as a THEN.
-
Thank you so much for the fast response. It still sends me an error message.
Maybe this screen shot will help?
Thanks,
Kelly
-
What do you want the formula to give you if nothing is in that first box? Try this which will give you a blank cell. But you may want some due date there...
=IF([Document Needed]1, ="BO", [Date Initiated]1+30), IF([Document Needed]1,="LOC", [Date Initiated]1+10, ""))
-
Mike,
It looks like you may have fingered in an extra closing parenthesis between the two IF's
=IF([Document Needed]1, ="BO", [Date Initiated]1+30), IF([Document Needed]1,="LOC", [Date Initiated]1+10, ""))
vs.
=IF([Document Needed]1, ="BO", [Date Initiated]1+30, IF([Document Needed]1,="LOC", [Date Initiated]1+10, ""))
-
Thank you both for the help. I think we are getting closer as now it says #incorrect argument set. I moved it down a line to a real data line in hopes that would clear up the blank cell question. Here is a screen shot now.
-
Hi,
You have comma signs after Document Needed2 that shouldn't be there.
Did that solve it?
Have a fantastic weekend!
Best,
Andrée Starå
Workflow Consultant @ Get Done Consulting
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
No, that didn't help. That gave me a column error. Thank you for trying!
-
Yep. In both instances. Good catch. Removing those should clear things up.
-
Are both the Date Initiated column and the column you are typing the formula into formatted as date type columns?
-
Okay, I'm so confused now. This works -
=IF([Document Needed]2 = "BO", [Date Initiated]2 + 30)
and this works -
=IF([Document Needed]2 = "LOC", [Date Initiated]2 + 10)
But when I try to put them together, they don't -
=IF([Document Needed]2 = "LOC", [Date Initiated]2 + 10), ([Document Needed]2 = "BO", [Date Initiated]2 + 30))
-
You have an extra parenthesis and are missing an IF.
=IF([Document Needed]2 = "LOC", [Date Initiated]2 + 10, IF([Document Needed]2 = "BO", [Date Initiated]2 + 30))
Use this.
-
Yippy!! Thank you all for the help! Great chance for me to learn more.
Have a great weekend!
-
Happy to help!
Best,
Andrée
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Glad to help. Thanks all for jumping in to support.
Three heads are better than one.
-
Help Article Resources
Categories
Check out the Formula Handbook template!