SUMIF, IF with OR

Hello,

A new comer to Smartsheet. I want to apply the following in a column.

IF given date >Today date, then (colA+colB+colc-colD)

ELSE given date < Today date, then (colA+colB+colC-colE)

Is it possible to do with SUMIF or IF/OR function.

Thanks in advance!

Best Answer

  • Melissa Boehl
    Melissa Boehl ✭✭✭✭✭✭
    edited 07/20/22 Answer ✓

    See Images below for the formula and sheet example.

    if you are having trouble reading the formula, here it is: =IF(DATE@row >= TODAY(), (colA@row + colB@row + colC@row) - colD@row, (colA@row + colB@row + colC@row) - colE@row)

    Melissa Boehl

    Smartsheet Architect | TurningPoint Energy

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!