Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Year to Date Balance Formula

Status
Not open for further replies.

MrTBC

Technical User
Nov 19, 2003
610
US
Crystal 8.5, Progress Database

I have 12 fields containing the financial balances for 12 financial periods ({balance1}, {balance2}, etc.).
I need a formula to calculate the balance to date for a given financial period entered in a parameter field {?period}.
I can see how to do this with an ugly Select Case statement, but would rather use an If Then structure with a variable, but can't seem to make it work (think it requires 12 different If statements).

Thanks very much guys.
 
Actually it would require 11 Ifs and one Else. This is about as good as its going to get.



Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top