# Stumped on an IF formula

✭✭
edited 09/26/22

I have data in the following fields:

Target Sales:

Last Week's Sales:

I currently have a formula that tells me if Last Week's Sales are less than Target Sales, then return "Yes" or "No"

I need to update the formula to tell me if Last Week's Sales are less than Target Sales, are Last Week's Sales below more than 5% of the Target Sales?

EX: if Last Week's Sales is 91% and my Target Sales is 95%, I want the formula to return "No"

• ✭✭✭✭✭✭

Hi @ss1992

I hope you're well and safe!

Try something like this.

=IF([Last Week's Sales]@row = "", "", IF([Last Week's Sales]@row / [Target Sales]@row < 0.95, "Yes", "No"))

Did that work/help?

I hope that helps!

Be safe, and have a fantastic week!

Best,

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

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.

• ✭✭✭✭✭

hi @ss1992

Are you managing the % sales for Last week Sale & Target Sale?

Can you share snapshot for better understanding?

Thanks & Regards

Khasim

SSPM Consultants

Email ID: info@sspmconsultants.com

Did I answer to your question or fix the problem? Please `help` the `Smartsheet Community` by voting it Insightful/Vote Up/Awesome, or/and Accepted Answer. It will make it easy for others to discover a solution or help in answering!

• ✭✭✭✭✭✭

Hi @ss1992

I hope you're well and safe!

Try something like this.

=IF([Last Week's Sales]@row = "", "", IF([Last Week's Sales]@row / [Target Sales]@row < 0.95, "Yes", "No"))

Did that work/help?

I hope that helps!

Be safe, and have a fantastic week!

Best,

Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

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.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!