I need to schedule out depreciation by year using MACRS. I need to be able to switch between having Bonus depreciation and no Bonus. Then I would sum up the calculated bonus by year. I can do this in Excel with an array but am not sure how to do so in Alteryx. Here's an example of what I am trying to do using Excel. Any help would be appreciated.

