» Calculating a Building's Occupancy Rate at Specified Times
CATEGORY - Excel Date & Time Formulas
VERSION - All Microsoft Excel Versions
Columns B & C show the times that each of a building's tenants left and returned on a particular day.
We want to calculate the building's occupancy rate at each of the times listed in column E.
Solution:
Use the COUNTIF and COUNT functions as shown in the following formula:
=(COUNTIF($C$2:$C$6,">="&E2)-COUNTIF($B$2:$B$6,">"&E2))/
COUNT($A$2:$A$6)
Book Store:
Recommended Books:
- Windows XP Annoyances
- Financial Risk Manager Handbook, Second Edition
- Excel 2002 For Dummies®
- Essentials of Investments with Standard & Poor's Educational Version of Market Insight + PowerWeb + Stock Trak Coupon
- Microsoft Excel VBA Programming for the Absolute Beginner
- Word 2002: The Complete Reference
No comments have been submitted.

