Check inventory in two columns and change symbol column.
Hello all !
I have a challenge for you guys. I have a sheet where we book groups for a venue. Some of those groups will also book a space for a cocktail before the show. There are 3 spots available per day for a cocktail. I would like to have a column that tells me if the cocktail area is available for that date.
I guess I can't wrap my head around the proper formula. This is what I had but it doesnt work properly :
=IF([Espace cocktail]@row = "", "", COUNTIFS([Date du Spectacle]:[Date du Spectacle], [Date du Spectacle]@row, [Espace cocktail]:[Espace cocktail], [Espace cocktail]@row > 1, "No"))
I might need an INDEX/MATCH formula but I need your help with that!
As you can see in the screenshot bellow, I have several groups on the 16th of july. Right now, two have booked the same space for their cocktail so I should have a red X.
Answers
-
=IF([Espace cocktail]@row = "", "", IF(3 - COUNTIFS([Espace cocktail]:[Espace cocktail], <>"", [Date du Spectacle]:[Date du Spectacle], [Date du Spectacle]@row) < 1, "No", 3 - COUNTIFS([Espace cocktail]:[Espace cocktail], <>"", [Date du Spectacle]:[Date du Spectacle], [Date du Spectacle]@row)))
You could also have it list the number of spaces using this
=IF(3 - COUNTIFS([Espace cocktail]:[Espace cocktail], <>"", [Date du Spectacle]:[Date du Spectacle], [Date du Spectacle]@row) < 1, "No", 3 - COUNTIFS([Espace cocktail]:[Espace cocktail], <>"", [Date du Spectacle]:[Date du Spectacle], [Date du Spectacle]@row))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!