Rooming list

Estela

New Member
Joined
Sep 13, 2017
Messages
2
Hi! Please I need your help. I have created a rooming list for an event with say 120 guest. I have their check in and check out dates. I need to be able to calculate how many rooms I need for a particular night.

The guests are booked between 23 Jan until 28 Jan. Their exact dates varies when they are participating.

For example, in excel I have the guest name with check in and out dates (3 columns)

Guest Check in Date. Check out date
1. 24 Jan 2017 26 Jan 2017
2. 25 Jan 2017 28 Jan 2017

And so on..

I want to be able to calculate how many do I need on the night of 24, on the night on 25, until 27th Jan.

Appreciate the help.

Thanks,
Estela
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Welcome to the board.

Try this:

ABCDEFGHIJK
1GuestCheck In DateCheck Out Date23-Jan-201724-Jan-201725-Jan-201726-Jan-201727-Jan-201728-Jan-2017
2Al24-Jan-201726-Jan-2017145550
3Beatriz25-Jan-201728-Jan-2017
4Cal23-Jan-201728-Jan-2017
5Diego27-Jan-201728-Jan-2017
6Elayne24-Jan-201725-Jan-2017
7Frank25-Jan-201728-Jan-2017
8Giselle26-Jan-201728-Jan-2017
9Hank24-Jan-201727-Jan-2017
10

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet16

Worksheet Formulas
CellFormula
F2=COUNTIFS($B:$B,"<="&F1,$C:$C,">"&F1)

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>

Put the dates in the top row. Put the formula in F2, then drag right. Hope this helps.
 
Upvote 0
Welcome to the board.

Try this:

ABCDEFGHIJK
1GuestCheck In DateCheck Out Date23-Jan-201724-Jan-201725-Jan-201726-Jan-201727-Jan-201728-Jan-2017
2Al24-Jan-201726-Jan-2017145550
3Beatriz25-Jan-201728-Jan-2017
4Cal23-Jan-201728-Jan-2017
5Diego27-Jan-201728-Jan-2017
6Elayne24-Jan-201725-Jan-2017
7Frank25-Jan-201728-Jan-2017
8Giselle26-Jan-201728-Jan-2017
9Hank24-Jan-201727-Jan-2017
10

<tbody>
</tbody>
Sheet16

Worksheet Formulas
CellFormula
F2=COUNTIFS($B:$B,"<="&F1,$C:$C,">"&F1)

<tbody>
</tbody>

<tbody>
</tbody>

Put the dates in the top row. Put the formula in F2, then drag right. Hope this helps.


Hi Eric,

I seem to get an error when I try it on my sheet.

Check in Check out
07-Dec10-Dec
07-Dec10-Dec
07-Dec10-Dec
07-Dec10-Dec

<colgroup><col span="3"></colgroup><tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,103
Messages
6,123,103
Members
449,096
Latest member
provoking

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