# Assistance writing formullae

Options

Good day, I am in need of help writing the following formulae:

1. Status to display 'red' bubble in a column if a project is between 0-50% completed. 'Blue' bubble if between 51%-75% completed. 'Amber' bubble if between 76%-99% completed and 'green' bubble if 100% completed.
2. How do I calculate the percentage in a third column if one column contains the total # Obs and the other column has the # Obs completed (see attached).

Grateful for any help.

• ✭✭✭✭✭✭
Options

Strange, but it's working now, right?

Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up 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.

• ✭✭✭✭✭✭
Options

Hi @Vinton Douglas

Hope you are fine, i don't see any attached !!

bassam.khalil2009@gmail.com

• Options

Sorry, I forgot the attachment. Please see below

• ✭✭✭✭✭✭
Options

I hope you're well and safe!

Try something like this.

1.

```=IF([% Obs Completed]@row = "", "", IF([% Obs Completed]@row = 1, "Green",
IF([% Obs Completed]@row <= 0.5, "Red", IF([% Obs Completed]@row <= 0.75, "Blue",
IF([% Obs Completed]@row <= 0.99, "Yellow")))))
```

2.

```=IF([Total # Obs]@row = "", "", [# Obs Completed]@row / [Total # Obs]@row)
```

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 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.

• Options

Hi Andree,

Thank you very much. The formulla works well. I converted it to % completed by multiplying by 100, i.e*100. The only issue I am having is that the columns are displaying INVALID wherever its not populated (see attached).

The modified formulla used are:

1. Under Status: =IF([% Obs Completed]@row = "", "", IF([% Obs Completed]@row = 100, "Green", IF([% Obs Completed]@row <= 50, "Red", IF([% Obs Completed]@row <= 75, "Blue", IF([% Obs Completed]@row <= 99, "Yellow")))))
2. Under % Obs completed =IF([Total # Obs]@row = "", "", [# Obs Completed]@row / [Total # Obs]@row) * 100

Grateful for assistance to remover INVALID when the cells are blanked,

• ✭✭✭✭✭✭
Options

Excellent!

You're more than welcome!

I'd be happy to take a quick look.

Can you maybe share the sheet(s)/copies of the sheet(s)? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)

Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up 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.

• Options

Thanks Andree, I have share with you.

• ✭✭✭✭✭✭
Options

I've updated the formula.

Did it work?

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.

• Options

Hi Andree,

Thanks much. it worked on the one you edited. But instead of getting 80% , the % completed reflects 0.8 even when i copy the formulla you created. How do I get this to represent % instead of a fraction?

• ✭✭✭✭✭✭
Options

Strange, but it's working now, right?

Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up 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.

• Options

Yes it is. Thank you.

• ✭✭✭✭✭✭
Options

Excellent!

Happy to help!

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!