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
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 429 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!