# Can this excel formula be created in smartsheet?

Options
✭✭

=IFS(A5>B5+C5,"RED",B5>A5+C5,"Green",C5>B5+A5,"Yellow")

If anyone can help me I<d be very appreciative :)

Tags:

• ✭✭✭✭✭
Options

Hey there,

This should do it for you! Although instead of including the specific row number, I used "@row" so that you can conform it to a Column level formula if you'd like. Also, I called the columns, "ColumnA", "ColumnB" and "ColumnC"; not sure what your actual column names are but you'll need to update the formula to replace my placeholders.

=IF(SUM(ColumnA@row) > (ColumnB@row + ColumnC@row), "Red", IF(SUM(ColumnB@row) > (ColumnA@row + ColumnC@row), "Green", IF(SUM(ColumnC@row) > (ColumnB@row + ColumnA@row), "Yellow")))

• ✭✭✭✭✭
Options

Hey there,

This should do it for you! Although instead of including the specific row number, I used "@row" so that you can conform it to a Column level formula if you'd like. Also, I called the columns, "ColumnA", "ColumnB" and "ColumnC"; not sure what your actual column names are but you'll need to update the formula to replace my placeholders.

=IF(SUM(ColumnA@row) > (ColumnB@row + ColumnC@row), "Red", IF(SUM(ColumnB@row) > (ColumnA@row + ColumnC@row), "Green", IF(SUM(ColumnC@row) > (ColumnB@row + ColumnA@row), "Yellow")))

• ✭✭
edited 03/25/22
Options

@Amanda Alv Can I have it Blue if all of those are false?

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!