IF Formula comparing SUM values

I am struggling too figure out how I can make this formula work:

=IF((SUM([Billable PM Hours]@row, [Billable Consultant/Developer Hours]@row)) > (SUM([Consultant/Developer SOW Hours]@row, [SOW PM Hours]@row, 1)

Intent is to have these Sums compare to each other so that when Billable Hours Sum is over the SOW Hours Sum, the At risk Flag is Checked. The last time I ran this, I only got 6 results all random and no indicators why. I have about 20 lines that meet this condition.


Any guidance would be appreciated.

Tags:

Best Answer

  • Mike Buckiewicz
    Mike Buckiewicz ✭✭✭✭
    Answer ✓

    @Paul Newcome @Genevieve P. what's funny is I did my own sleuthing and discovered for some reason the numbers were coming in as text. We have an integration we are testing that pulled in the numbers from our accounting system and saw that the code was bringing in the hours with an apostrophe at the beginning thus indicating text. As soon as I tested entering the number in manually as a number, everything worked as previously expected with the formulas.

    Thanks or confirming m insanity! 😀

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!