Incorrect Argument
I am having problems with this formula
This is a reservation system for multiple locations. Each location has a different number of space available. I am trying to write a formula that will calculate the current number of spaces available based on the number of different bookings and give you a most current updated spaces available for each location.
This is what I have so far, but it's not working out:
=IF(MIN([Date Booked]:[Date Booked]=[Location]@row,[Spaces Available]@row-[Spaces Needed]@row,[Spaces Available]@row))
Answers
-
Hello!
So the MIN function you are using is not being used correctly. This is used to ID the smallest number within a set(MIN(Value 1, Value 2, Value 3), but you have it looking at an entire column ([Date Booked]:[Date Booked], equal to the location ([Location]@row), and not closed (two closed parenthesis at the very end).
Lets work through this, where are you trying to write this formula - a cell or within the sheet summary?
-
within a cell:
-
Are all columns you need to reference included within this one sheet?
-
Interesting observation
-
Valuable perspective
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!