How to calculate different cell references + a different integer based on date?
Manolo
✭
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.
Essentially:
=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?
Answers
-
Try this instead:
=(Cost@row - Fees@row) * IF([Order Date]@row < DATE(2024, 01, 01), 0.02, 0.05)
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives