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
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!