Matching multiple information and bring the result

Ibrarbutt

New Member
Joined
Jul 23, 2015
Messages
30
Table 1



Booked By
Hotel NameRoom TypeNo of RoomAmount<strike></strike>
ABCRoyal HotelSingle Room31400
ABCRoyal HotelTwin Room21600
ABCMid Night HotelSingle Room41200
XYZRoyal HotlSingle Room<strike></strike>4100
ZYX3 star HotelTwin Room1120
below 1000 records

<tbody>
</tbody>

















Result (1) Required
Table 2



Hotel Name
Single RoomTwin RoomAmounts
Royal HotelTotal of aboveTotal of above
Mid night Hotel
3 Star Hotel
may be 10 type of hotel

<tbody>
</tbody>











Result (2) Required

i have table with the list of booked by, i need to match with above table and bring below result.
Table 3


Booked By
Single RoomTwin RoomAmounts
ABCMatch with booking with table 1 and bring results as totalTotal of above
XYZ
ZYX

<tbody>
</tbody>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,215,375
Messages
6,124,589
Members
449,174
Latest member
chandan4057

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