Okay, I created a separate list (on a separate sheet) of the current status of all units.
First, are you sure of this formula in Col B?
Formula:
=IF(AND(E9<$U$3,F9>$U$3),"Occupied","Vacant")
I would think you'd want it to Occupied if person is checking in on that day but vacant if checking out on that day so should be
Formula:
=IF(AND(E9<=$U$3,F9>$U$3),"Occupied","Vacant")
Anyway, with a list of all your units, starting in A2
in B2 copied down
Formula:
=IF(COUNTIFS('LEASING REPORT'!$C$9:$C$279, A2, 'LEASING REPORT'!$B$9:$B$279, "Occupied"),"Occupied", "Vacant")
Basically if there are any occurrences of the unit being occupied on the date in U3, then it is occupied on that date, otherwise it is vacant.
Does this work for you?
Bookmarks