Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kaw kaw is offline
external usenet poster
 
Posts: 2
Default Formula for calculating a running balance up to a maximum limit

Could anyone tell me how to write a complex formula that will calculate a
running balance up to a certain value in a given column? We reimburse
eduation expenses up to a certain limit. What I need the formula to do is
calculate a running total until the limit it reached and then tell me what it
left to reimburse. Here's an example: each college course is $1300. The
limit for reimbursement is $3,000. If an individual takes 3 courses, I need
the cell to total the $1,300 for the first two courses but then tell me that
I can only pay $400 for the last course.

Thanks for any assistance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Formula for calculating a running balance up to a maximum limit

Try something like this:

With
Employee Names in Col_A, with A1 as the column heading
Course Fees in Col_B, with B1 as the column heading

C1: Reimbursement
C2:
=MIN(SUMIF($A$2:$A2,$A2,$B$2:$B2),3000)-MIN(SUMIF($A$1:$A1,$A2,$B$1:$B1),3000)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"kaw" wrote:

Could anyone tell me how to write a complex formula that will calculate a
running balance up to a certain value in a given column? We reimburse
eduation expenses up to a certain limit. What I need the formula to do is
calculate a running total until the limit it reached and then tell me what it
left to reimburse. Here's an example: each college course is $1300. The
limit for reimbursement is $3,000. If an individual takes 3 courses, I need
the cell to total the $1,300 for the first two courses but then tell me that
I can only pay $400 for the last course.

Thanks for any assistance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kaw kaw is offline
external usenet poster
 
Posts: 2
Default Formula for calculating a running balance up to a maximum limi

Ron,

Thanks for responding. I'm not sure if the formula works because I've got
my sheet set up differently so let me show you how I have it done.
col A col B col C (submitted expense)
col D (reimbursed)
college name 1st course cost 1300
1300
2nd course cost 1300
1300
3rd course cost 1300
400
Total 3900
3000

Is it possible to write a formula for the cell that contains the 400 so that
it adds up cells d2 and d3; and then, upon entering the 1300 in c3, the
formula in d3 calculates the difference between what has already been paid
and the available balance to return the $400 value? Does that make sense? I
may be making it more complex than it should be.

"Ron Coderre" wrote:

Try something like this:

With
Employee Names in Col_A, with A1 as the column heading
Course Fees in Col_B, with B1 as the column heading

C1: Reimbursement
C2:
=MIN(SUMIF($A$2:$A2,$A2,$B$2:$B2),3000)-MIN(SUMIF($A$1:$A1,$A2,$B$1:$B1),3000)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"kaw" wrote:

Could anyone tell me how to write a complex formula that will calculate a
running balance up to a certain value in a given column? We reimburse
eduation expenses up to a certain limit. What I need the formula to do is
calculate a running total until the limit it reached and then tell me what it
left to reimburse. Here's an example: each college course is $1300. The
limit for reimbursement is $3,000. If an individual takes 3 courses, I need
the cell to total the $1,300 for the first two courses but then tell me that
I can only pay $400 for the last course.

Thanks for any assistance.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Formula for calculating a running balance up to a maximum limi

Evidently your situation is less complicated that I anticipated. If your
sheet only contains data for one employee, try this:

Using
the structure you posted,
and assuming that column headings are in Row_1

This formula calculates the amount to be reimbursed for each submitted
expense listed
D2: =MIN(SUM($C$2:$C2),3000)-MIN(SUM($C$1:$C1),3000)
Copy that formula down as far as needed

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"kaw" wrote:

Ron,

Thanks for responding. I'm not sure if the formula works because I've got
my sheet set up differently so let me show you how I have it done.
col A col B col C (submitted expense)
col D (reimbursed)
college name 1st course cost 1300
1300
2nd course cost 1300
1300
3rd course cost 1300
400
Total 3900
3000

Is it possible to write a formula for the cell that contains the 400 so that
it adds up cells d2 and d3; and then, upon entering the 1300 in c3, the
formula in d3 calculates the difference between what has already been paid
and the available balance to return the $400 value? Does that make sense? I
may be making it more complex than it should be.

"Ron Coderre" wrote:

Try something like this:

With
Employee Names in Col_A, with A1 as the column heading
Course Fees in Col_B, with B1 as the column heading

C1: Reimbursement
C2:
=MIN(SUMIF($A$2:$A2,$A2,$B$2:$B2),3000)-MIN(SUMIF($A$1:$A1,$A2,$B$1:$B1),3000)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"kaw" wrote:

Could anyone tell me how to write a complex formula that will calculate a
running balance up to a certain value in a given column? We reimburse
eduation expenses up to a certain limit. What I need the formula to do is
calculate a running total until the limit it reached and then tell me what it
left to reimburse. Here's an example: each college course is $1300. The
limit for reimbursement is $3,000. If an individual takes 3 courses, I need
the cell to total the $1,300 for the first two courses but then tell me that
I can only pay $400 for the last course.

Thanks for any assistance.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running balance!!!...? [email protected] Excel Worksheet Functions 4 August 24th 06 04:16 PM
Formula to limit the size of a number result in a cell? Pheasant Plucker® Excel Discussion (Misc queries) 3 February 2nd 06 11:14 AM
running balance in excel mphillips Excel Worksheet Functions 2 September 7th 05 05:16 PM
How do i get the running balance from one worksheet to another? Spoardy Excel Worksheet Functions 4 August 2nd 05 08:58 PM
running balance Jackie New Users to Excel 9 January 7th 05 11:47 PM


All times are GMT +1. The time now is 05:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"