T
Tara
Hello,
I'm trying to run a query on the opening and closing balances for several
years. The factors I need are:
opening balance
closing balance
new reserves
used reserves (same every year - 35,000 - UNLESS the opening balance is less
than 35000)
closing balance in 2006 & opening balance in 2007 is 360,000
to calculate opening balance:
2007 is given
2008 is = 2007 + new reserves - used reserves
2009 is = 2008 + new reserves - used reserves
and so forth
(at about 2015 the used reserves would be less than 35,000 & therefore
should indicate amount in opening balance resulting in a balance of 0)
to calculate closing balance:
each year = next years opening balance
since my used reserves may change depending on the amount left in the
opening balance, I tried to insert it as the following:
Used Reserves: IIF([opening balance]>35000;35000;[opening balance])
By using this formula, I keep ending up with a circular formula.
My years are inserted into a table as a number as I could not figure out how
to insert a year (w/o the day & month) as a date/hour function.
Tara.
I'm trying to run a query on the opening and closing balances for several
years. The factors I need are:
opening balance
closing balance
new reserves
used reserves (same every year - 35,000 - UNLESS the opening balance is less
than 35000)
closing balance in 2006 & opening balance in 2007 is 360,000
to calculate opening balance:
2007 is given
2008 is = 2007 + new reserves - used reserves
2009 is = 2008 + new reserves - used reserves
and so forth
(at about 2015 the used reserves would be less than 35,000 & therefore
should indicate amount in opening balance resulting in a balance of 0)
to calculate closing balance:
each year = next years opening balance
since my used reserves may change depending on the amount left in the
opening balance, I tried to insert it as the following:
Used Reserves: IIF([opening balance]>35000;35000;[opening balance])
By using this formula, I keep ending up with a circular formula.
My years are inserted into a table as a number as I could not figure out how
to insert a year (w/o the day & month) as a date/hour function.
Tara.