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
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!