Counting dates 180 days from today's date


I would like to count the number of absences L6:K6 between today's date and the last 180 dates then multiply it by 2 plus add the number of late arrivals/early exits L6:AC6 between today's date and the last 180 dates.

I tried the formula below in excel and it works correctly but can't get it to work in smartsheets:

=COUNTIFS(F6:K6,">="&TODAY()-180, F6:K6,"<="&TODAY()) * 2 + COUNTIFS(L6:AC6,">="&TODAY()-180, L6:AC6,"<="&TODAY())


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!