Help converting Excel formula to Smartsheet

meb_0101
meb_0101 โœญโœญโœญโœญ

I imported an Excel file into Smartsheet, and am stuck trying to convert this Excel formula into a functioning Smartsheet one.

I know some of these functions are not available in Smartsheet. However, I've tried a lot of different formulas and am still having trouble. I've even tried using ChatGPT and it's proven to be unhelpful. This is the most recent formula AI suggested but it's still resulting in #INVALID DATA TYPE:

=IF(YEAR([Date]@row) = 2023, (MONTH(DATE(2023, 12, 31)) - MONTH([Date]@row) + 1 + (DAY(DATE(2023, 12, 31)) / DAY(DATE(2023, 12, 31))) - ((DAY([Date]@row) - 1) / DAY(DATE([Date]@row, MONTH([Date]@row), 1)))) * [Monthly $ Breakdown]@row, IF(YEAR([Date]@row) = 2024, [Total $]@row, 0))

These are what the Excel columns referenced in below formula are: AC1 = "2023", W = dates column, Y = $ (formula based column), X = $ (manually entered).

=IF(COUNTIF(AC$1,YEAR($W6)),(DATEDIF(EOMONTH($W6,0)+1,EOMONTH(CONCAT("12/31/",AC$1),0)+1,"m")+(DAY(CONCAT("12/31/",AC$1))/DAY(EOMONTH(CONCAT("12/31/",AC$1),0)))-((DAY($W6)-1)/DAY(EOMONTH($W6,0))))*$Y6,IF(COUNTIF(AC$1,YEAR($W6)+1),$X6,0))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!