SUMIFS and CRITERIA where @cell date = date in associated row in another column

Options
Mike Meyer
Mike Meyer ✭✭✭✭
edited 06/02/23 in Formulas and Functions

Hello friends,

Basic need description: SUM the invoice amounts in Column A IF date in Column B = date in Column C

Using SUMIFS function: I am trying to SUM $'s in Column: "💲 Total Rental $ Amount {H}" → if @cell date in Column: "📅 System Date" = date in Column: "📅 Today {H} 🅰"

Column: "📅 Today {H} 🅰" is populated every morning with a simple automation (Run Everyday, If the date in this column is in the past, then Record a Date in this column)

Column: "📅 System Date" is populated every morning by a Data Shuttle workflow.


Current, below, formula works, but I don't want the criteria to just reference [📅 Today {H} 🅰]1 (cell 1 in that column). I'd like for the criteria to reference the cell in the same row as the cell in the criteria range. (I'd like to be able to use this formula in other sheets where the two date columns will not be a today reference)

=SUMIFS([💲 Total Rental $ Amount {H}]:[💲 Total Rental $ Amount {H}], [📅 System Date]:[📅 System Date], @cell = ([📅 Today {H} 🅰]1 - 1))


Thank you for your help!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!