IF Statements and multiple, possibly overlapping dates

jiggaman84

New Member
Joined
Jan 22, 2010
Messages
17
Hey,

I've got a real head scratcher and I hope someone out there can help me.
Here is the situation: I have 4 dates -- Budgeted Possession Date, Actual Possession Date, Budgeted Commencement Date, Actual Commencement Date.

Budgeted Possession always comes before Budgeted Commencement and Actual Possession always comes before Actual Commencement. It is possible that Actual Possession or Actual Commencement happens before, in between, or after Budgeted Possession and budgeted Commencement (and vice versa).

I need to show what happens every month for one year depending on when these dates fall. I've tried some nested If(And statements but I quickly become overwhelmed. Basically I need a formula that covers every scenario possible.

Can this be done?

Thanks in advance.
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Hey,

I've got a real head scratcher and I hope someone out there can help me.
Here is the situation: I have 4 dates -- Budgeted Possession Date, Actual Possession Date, Budgeted Commencement Date, Actual Commencement Date.

Budgeted Possession always comes before Budgeted Commencement and Actual Possession always comes before Actual Commencement. It is possible that Actual Possession or Actual Commencement happens before, in between, or after Budgeted Possession and budgeted Commencement (and vice versa).

I need to show what happens every month for one year depending on when these dates fall. I've tried some nested If(And statements but I quickly become overwhelmed. Basically I need a formula that covers every scenario possible.

Can this be done?

Thanks in advance.
Hi Jiggaman84,
I follow that you have dates for each of 4 events, so I guess you have a column for each event that's filled with dates.
I guess you are after some kind of result in the next column. Can you provide some sample data for the results you are looking for?
Cheers,
Alan.
 
Upvote 0
Alan,

You are correct and thank you for taking the time


Ok here it goes:

During the Possession date, a tenant pays Base Rent. Once the commencement date kicks in base rent plus maintenance fees and taxes are included in the monthly payments.

Also keep in mind that budgeted rental rates and actual rental rates may differ.

Example:
Budgeted Possession date - Apr 1/11
Budgeted Commencement date - Aug 1/11

Actual Possession date - Feb 1/11
Actual Commencement date - Jun 1/11

Here is what should happen:

Since Actual Poss date occurs first, I must record the actual monthly rent payments from Feb 1/11 - Apr 1/11. Once April comes around, I know have to show the difference in rental payments between Budgeted & Actual rates.

Jun 1/11, actual monthly payments increases (as maintenance and taxes are added to the rental rate). Jun 1/11 is within the budgeted range between Possession and Commencement dates. So I know have to show the difference between the increased Actual rate (Gross Rate) and the the budgeted rental rate. After Aug 1/11 I must show the difference between Actual Gross rent and budgeted gross rent.

I hope this is clear enough. I'm concerned with the when each date falls realtive to the other dates and based on that I either show the difference (if within said range) or the actual/budgeted monthly rental rate .

Please let me know if this is unclear in anyway and also take note that budgeted or actual dates can fall before, during or after each other.

The strategy I was going to use was to come up with enough IF(And statements to cover every scenario, set them to TRUE or FALSE and multiply by the appropriate rate or difference in rate and then add all the statements together.

Thanks again
 
Upvote 0
Alan,

You are correct and thank you for taking the time


Ok here it goes:

During the Possession date, a tenant pays Base Rent. Once the commencement date kicks in base rent plus maintenance fees and taxes are included in the monthly payments.

Also keep in mind that budgeted rental rates and actual rental rates may differ.

Example:
Budgeted Possession date - Apr 1/11
Budgeted Commencement date - Aug 1/11

Actual Possession date - Feb 1/11
Actual Commencement date - Jun 1/11

Here is what should happen:

Since Actual Poss date occurs first, I must record the actual monthly rent payments from Feb 1/11 - Apr 1/11. Once April comes around, I know have to show the difference in rental payments between Budgeted & Actual rates.

Jun 1/11, actual monthly payments increases (as maintenance and taxes are added to the rental rate). Jun 1/11 is within the budgeted range between Possession and Commencement dates. So I know have to show the difference between the increased Actual rate (Gross Rate) and the the budgeted rental rate. After Aug 1/11 I must show the difference between Actual Gross rent and budgeted gross rent.

I hope this is clear enough. I'm concerned with the when each date falls realtive to the other dates and based on that I either show the difference (if within said range) or the actual/budgeted monthly rental rate .

Please let me know if this is unclear in anyway and also take note that budgeted or actual dates can fall before, during or after each other.

The strategy I was going to use was to come up with enough IF(And statements to cover every scenario, set them to TRUE or FALSE and multiply by the appropriate rate or difference in rate and then add all the statements together.

Thanks again
Do you have any sample data? It would be particulary helpful if you could show what the expected inputs are, and the expected outputs, in a Excel type table and I'll try to help with the formula . .
 
Upvote 0
You cannot upload workbooks to this site but you could use a file server such as Box.net and then provide a link.

The better way is to post a small representative sample of your data with the expected result using an HTML maker.

Look at my signature.
 
Upvote 0
Here is the information...
Excel Workbook
BCDEFGHIJKLMN
9BudgetedActual/Actual/
10BudgetedActualBudgetedActualBudgetedBudgetedBudgetedMonthlyReforecastReforecast
11PossessionPossessionCommencementCommencementNetCAMTaxesGrossNetGross
12TenantUnitArea (sf)DateDateDateDateRent psfpsfpsfIncomeRent psfIncome
13
14
15$ -$ -
16Example 1B1003,9661-Apr-111-Feb-111-Aug-111-Jun-11$ 12.00$ 5.52$ 7.44$ 8,249$ 12.00$ 8,249
17Example 2B2001,5001-Jan-111-Mar-111-Apr-111-May-11$ 15.00$ 5.52$ 7.44$ 3,495$ 10.00$ 2,870
18Example 3B3003,0001-Jan-111-Jul-111-Mar-111-Sep-11$ 8.00$ 5.52$ 7.44$ 5,240$ 10.00$ 5,740
19Example 4B4005,0001-Jul-111-Jan-111-Sep-111-Mar-11$ 10.00$ 5.52$ 7.44$ 9,567$ 10.00$ 9,567
20Example 5B4002,0001-Jan-111-Jan-111-Apr-111-Apr-11$ 25.00$ 5.52$ 7.44$ 6,327$ 30.00$ 7,160
Shopping Centre
Excel 2007
Cell Formulas
RangeFormula
L15=+(((D15*(I15+J15+K15))/12))*$C$5
L16=+(((D16*(I16+J16+K16))/12))
L17=+(((D17*(I17+J17+K17))/12))
L18=+(((D18*(I18+J18+K18))/12))
L19=+(((D19*(I19+J19+K19))/12))
L20=+(((D20*(I20+J20+K20))/12))
N15=(((M15+K15+J15)*D15)/12)*$C$5
N16=(((M16+K16+J16)*D16)/12)
N17=(((M17+K17+J17)*D17)/12)
N18=(((M18+K18+J18)*D18)/12)
N19=(((M19+K19+J19)*D19)/12)
N20=(((M20+K20+J20)*D20)/12)
 
Upvote 0
And here are the monthly amounts for the first two examples...
Excel Workbook
PQRSTUVWXYZAAAB
12Jan-11Feb-11Mar-11Apr-11May-11Jun-11Jul-11Aug-11Sep-11Oct-11Nov-11Dec-11Total
13
14-3,9663,966--4,2834,283-----16,499
15(1,875)(1,875)(625)(2,245)(625)(625)(625)(625)(625)(625)(625)(625)(11,620)
Shopping Centre
Excel 2007
Cell Formulas
RangeFormula
Q14=M14*D14/12
Q15=P15
R14=Q14
R15=(M15-I15)*D15/12
S14=(M14-I14)*D14/12
S15=-L15+M15*D15/12
T14=S14
T15=(M15-I15)*D15/12
U14=(SUM(M14,J14:K14)-I14)*D14/12
U15=T15
V14=U14
V15=U15
X14=W14
X15=W15
Y14=X14
Y15=X15
Z14=Y14
Z15=Y15
AA14=Z14
AA15=Z15
AB14=SUM(P14:AA14)
AB15=SUM(P15:AA15)
P15=-I15*D15/12
W15=V15
 
Upvote 0

Forum statistics

Threads
1,223,099
Messages
6,170,107
Members
452,302
Latest member
TaMere

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