# Building a red ledger

Options
edited 12/09/19

My apologies I am not even sure how to search of this, but I am trying to build a red ledger. Basically have it set up so there is a required sale every day and anything under, shows negative, anything over just shows zero.

So I have 1 column that has the number sold, next is sum of column1 - 5000, the last is column2/100. That last column I would like to add an if statement to zero out positive values.

Thanks.

Tags:

• ✭✭✭✭✭✭
Options

Give this a try...

=IF([Column2]@row/100 > 0, "0", [Column2]@row/100)

If the amount in the cell in this row of Column2 divided by one hundred is greater than zero, then display zero, otherwise display the value of the amount in the cell in this row of Column2 divided by 100.

• Options

Thank you, formulas were never my strong suit. This did the trick.

• ✭✭✭✭✭✭
Options

No worries. We all have our own strengths and weaknesses. Happy to help.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!