Multiple Conditions with INDEX

jmacritz

New Member
Joined
May 9, 2019
Messages
10
I have a table on one sheet called BOOKINGS that has information for who booked a room, what room they booked, the date and what resources they need. I can look up and display every entry for a particular room easily enough but what I'd like to do is to display only the entries for that room within the next two weeks. An example of my table

On a different sheet I'd like have the user input the room name (say in cell b2) and have it display Booked By, Date, Resources for anything matching the room name and within the next two weeks

Any help would be appreciated

<tbody>
[TD="class: xl66"]
[TABLE="width: 500"]
<tbody>[TR]
[TD]Booked By
RoomDateResources
TimOak9-may-19Projector
TonyPine7-may-19Fold Out
MikePine15-may-19Laptop
TimElm10-may-19Sci Equip
LucyElm13-may-19Projector
LucyOak14-may-19Laptop
MikeWillow5-may1-9Fold Out
SandraPine22-may-19Projector
VictoriaWillow28-may-19Projector

<tbody>
</tbody>
[/TD]

</tbody>
[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited by a moderator:
The formula is fine.
Are you sure that your dates are real dates, rather than text?
 
Upvote 0

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
I figured it out. Small error when I copied the code into the other cells. It works perfectly now.

Thanks again for all your help and walking me through it.
 
Upvote 0
Glad you figured it out & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top