Sign in to join the conversation:
I need a formula (similar to an AVERAGEIFS statement in excel) to give me the average of the numbers in the right column if the value in the left column is prior to today's date. Thanks!
@David Yowell we have AVERAGEIF in Smartsheet, but not AVERAGEIFS, so a little workaround is needed here.
My suggestion would be to use a SUMIFS counting the numbers that meet the criteria of a date before today, divided by a COUNTIF counting the dates in the date column that are before today, which would give you your average of those numbers that met the SUMIF condition. Something like this:
SUMIFS(NUMCOLUMN:NUMCOLUMN, DATECOLUMN:DATECOLUMN, < TODAY()) / COUNTIF(DATECOLUMN:DATECOLUMN, < TODAY())
Would that work?
Thanks,
Alex
Hi @David Yowell
AVERAGEIF should be working here.
=AVERAGEIF([Left Column]:[Left Column], < TODAY(), [Right Column]:[Right Column])
Hope it helped!
I've got the following formula in a Check Box column to check when something is due in the Next 3 weeks. =IFERROR(IF(AND(WEEKNUMBER([Projected Cleaning Date]@row ) = WEEKNUMBER(TODAY()) + 3, YEAR([Projected Cleaning Date]@row ) = YEAR(TODAY())), 1), "") I have them for 2 weeks, 3 weeks, 4 weeks, and 5 weeks. These stopped…
I'm using salesforce connector to pull my team's hours information in real-time. The Salesforce connector sheet contains sheet summaries that I'd like to use a cell reference for a different sheet. I can't seem to find the best way or formula to do this. I don't want to use a dashboard with report widgets because I prefer…
I have two formulas which work well independently, but when I combine them they don't. formula 1: =IF(YEAR([Joined date]@row ) = 2025, JOIN(COLLECT({Membership Survey 2025 - Experience}, {Membership Prioritisation Survey 2025 - Org}, [Organisation name]@row ))) formula 2: =IF(YEAR([Joined date]@row ) < 2025,…