Formula to pull name from one sheet to another

Hello everyone,
On the sheet "Booking Info" I have the following data and columns:
On the sheet "Room Data" I have the following data and columns:
I need to pull the [Booking Name] from "Booking Info" to "Room Data" and only show the [Booking Name] on the rows that show as Booked on the [Availability] column. So I would create a new column called [Name] on "Room Data and it would show "John Doe" for the first and second rows that are booked on the above image. I've tried an INDEX(COLLECT) but can't make an appropriate match, it only matches the first instance.
Any information is greatly appreciated.
Best Answer
-
Try something like this: =INDEX(COLLECT({Booking Name}, {Meeting Room}, [Room]@row, {Slots}, CONTAINS(T@row, @cell), Availability@row, "Booked"), 1)
Answers
-
Try something like this: =INDEX(COLLECT({Booking Name}, {Meeting Room}, [Room]@row, {Slots}, CONTAINS(T@row, @cell), Availability@row, "Booked"), 1)
-
I had to tweak it just a little but you're logic worked. Thanks!
-
Glad it helped!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!