Formula to pull name from one sheet to another
![RDRGSJ00](https://us.v-cdn.net/6031209/uploads/userpics/H38R3PV72A6C/nSOFDI80IYAMC.jpg)
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.2K Get Help
- 431 Global Discussions
- 152 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 74 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!