Hi all,
I'm new to this forum so please forgive me if I posted this in the wrong section. I am trying to create a program that will organize the payoff of expenses. It’s pretty basic and I have it setup on two separate worksheets. There is one specific column of cells (Column D in ,y example) with which I need help. I do not know if what I want to do can even be done or not, so bear with me!
There are four columns in total. One column (D) references the other three columns (A, B & C):
Column A (Worksheet 1) has 15 rows, Column B (Worksheet 1) has 15 rows, and both Column C (Worksheet 2) & Column D (Worksheet 2) have 48 rows.
Column A is the name of the expense, Column B is the dollar amount of the expense, Column C is accumulated savings and Column D is where the formula is located in each cell and where the results are displayed.
What I need it to do is have the first cell in Column D read each of the 15 cells in Column B and compare them to each cell in Column C. Once the cell in Column D finds the cell in Column C that has enough to pay Column B it displays that expense. Once that expense is paid, the remaining cells in Column D should not include that particular cell in its search since it’s already paid and should no longer be a part of the equation.
Here is a small sampling (I tried formatting this chart but having problems in this forum. I attached a JPEG if anyone wants to download it):
Worksheet 1 Worksheet 2
Column A Column B Column C Column D
Expense Name Amount Savings Exp Paid
Exp1 $500 $250
Exp 2 $1000 $500 Exp 1
Exp 3 $1200 $250
Exp 4 $1800 $500
Exp 5 $2500 $750
Exp 6 $3500 $1000 Exp 2
I hope this is clear, if not please let me know. As I stated earlier, I don’t know if this can even be accomplished. If it can, I would really appreciate any input on the formula!
Thanks
Steve
Bookmarks