Hello - I am working on a Property Management spreadsheet to track the availability of vacant units (and upcoming vacant units). I'm trying to write a formula to count the number of current units that are listed as vacant, so that I can ultimately report on the overall availability as of any given period (today, 15-day, 30-day, 60-day, 90-days out).
Here are the fields that I am using for my analysis:
Column B = "Status". Values are set as either "V" vacant, or "O" occupied. The range = B3:B84
Column J = M/O Date. These dates represent when the current resident will move out.
Column R = M/I Date. These dates represent when the future resident will move in.
Column S = Reporting Period Date. These dates represent the availability for a given period of time. For example, S8 = TODAY (), S9 = 15-Day (=TODAY+15), S10 = 30-Day (=TODAY=15), etc.
I need my formula to look for all of the vacants ("V") in column B. This is what I used so far: =COUNTIF(B4:B393,"=V"). This is working fine, however, I ALSO need for my formula to take into account and remove any units where a new resident is moving in during the reporting period. So it will need to look at column R and remove anything with a date <= the date listed in Column S.
Here is an example: Lets say as of today we have 20 vacant units (from B3:B84). For my availability report I need to calculate the vacants as of today, 15 days from now, etc. So lets say there will be 7 new residents moving in from now until 5/20/08. I need to revove those 7 from my total. So the formula should calculate 20-7=13.
Is there a way to do this with one formula, or do I need multiple formulas to accomplish this??? Hopefully this isn't too confusing.
I appreciate any help any of you can provide. Thank you!