# New User looking for Simple Health Formula

Options
✭✭

Greetings Everyone,

I am a fairly new Smartsheet User and am looking to create a simple formula for the Health Field.

I am using the RYGB option and have three columns I'm trying to tie the Health to and am looking or the following:

-Blue: no date in the [Start Date] column.

-Yellow: Date entered in [Start Date] column, but not in the [Complete] column.

-Green: Date entered in [Start Date] & [Complete] columns.

-Red: If the date in the [Due Date] column is passed.

Can any of you help with something like this?

Thank you in advance for any assistance,

Morgan

• ✭✭✭✭✭✭
Options

For this you need a nested IF formula. A couple of things to keep in mind with these...

It reads from left to right and stops on the first true value.

Because it stops on true, if it makes it to the 3rd IF then it is implied that the first 2 are false. This means that we do not have to specify that.

You are going to want to try this:

=IF([Due Date]@row< TODAY(), "Red", IF(Complete@row <> "", "Green", IF([Start Date]@row <> "", "Yellow", "Blue")))

• ✭✭✭✭✭✭
Options

For this you need a nested IF formula. A couple of things to keep in mind with these...

It reads from left to right and stops on the first true value.

Because it stops on true, if it makes it to the 3rd IF then it is implied that the first 2 are false. This means that we do not have to specify that.

You are going to want to try this:

=IF([Due Date]@row< TODAY(), "Red", IF(Complete@row <> "", "Green", IF([Start Date]@row <> "", "Yellow", "Blue")))

• ✭✭
Options

Paul,

Thank you so much for this, it works perfectly and is exactly what I was looking to create.

Cheers,

Morgan.

• ✭✭✭✭✭✭
Options

Happy to help. 👍️

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!