How to calculate different cell references + a different integer based on date?

edited 11/30/23 in Smartsheet Basics

Hi everyone, thanks for any help in advance. I'm kind of stuck here...

I hope this makes sense, but I'm trying to make an IF statement calculation that references different cells in my sheet, order date, cost minus fees multiplied by .02 or .05 depending on whether the order date was before or after 1/1/2024.


=IF([Order Date] < 1 / 1 / 2024, ([Cost]@row - [Fees]@row) * 0.02)

But if it's after 1/1/2024 * 0.05.

Is that possible?