Sign in to join the conversation:
The posts in this section are historical and no longer monitored for accuracy. If this discussion interests you and you'd like to join in, please visit the active Community to post and engage.
Im trying to use the sumif function to match 2 columns of data, transaction type, and corresponding value then return only month specific dates read from a date column. Date column is in mm/dd/yy format.
Hello,
Thanks for the question. Since the formula you're looking for is totaling values that match multiple criteria, you'll need to use the SUMIFS() function rather than the SUMIF() function. More on the SUMIFS() function can be found here (https://help.smartsheet.com/function/sumifs).
To have the formula search for a specific month in a date column, you can use the MONTH() function and the @cell function. More on MONTH() can be found here (https://help.smartsheet.com/function/month) and @cell here (https://help.smartsheet.com/articles/2476491). Here's an example of how this formula could be written:
=SUMIFS([corresponding value]:[corresponding value], [transaction type]:[transaction type], "ABC", [date column]:[date column], MONTH(@cell) = 12)
To make this work for your sheet, you can replace the following:
I tried to retro-fit this formula to something I am currently working on, but my date ranges are {References} to another sheet. Is that problematic?