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
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!