help needed, date and times to and from and running total help

zebturner

New Member
Joined
Nov 12, 2015
Messages
3
Hi, my friend has a hotel and wants me to devise a spreadsheet, I have guest date and time of arrival in column B and date and time left in C and he wants me to add a column that will calculate at any point if the guest occupancy reaches 9. I am stumped, any help would be greatly appreciated, thanks in advance.

Guest NameDate & Time of arrivalDate and time of leavingTime present
28/08/2015 15:0001/09/2015 13:3503 22:35
28/08/2015 15:3004/09/2015 11:4506 20:15
30/08/2015 10:2503/09/2015 12:3004 02:05
01/09/2015 19:0005/09/2015 12:4003 17:40
02/09/2015 15:2005/09/2015 12:4002 21:20

<COLGROUP><COL style="WIDTH: 145pt; mso-width-source: userset; mso-width-alt: 7058" width=193><COL style="WIDTH: 145pt; mso-width-source: userset; mso-width-alt: 7058" width=193><COL style="WIDTH: 116pt; mso-width-source: userset; mso-width-alt: 5632" width=154><COL style="WIDTH: 122pt; mso-width-source: userset; mso-width-alt: 5924" width=162><TBODY>
</TBODY>
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
I'm going to assume you mean you want to account for if time present is greater than or equal to 9. Use conditional formatting. >[9]:00:00
 
Upvote 0
I'm going to assume you mean you want to account for if time present is greater than or equal to 9. Use conditional formatting. >[9]:00:00

Thanks for the reply Warpigl3t, no what i want is a prompt that if at any time the total present in the hotel reaches 9 i want to be warned. imagine that you are looking at the spreadsheet at the end of the month and want to work out if at any point there were 9 guests present in the hotel.
 
Upvote 0

Forum statistics

Threads
1,216,526
Messages
6,131,187
Members
449,631
Latest member
mehboobahmad

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