We help IT Professionals succeed at work.
Get Started

Excel VBA

75 Views
Last Modified: 2019-12-19
I would like to explain my problem with example, I have the total amount available 500 for Member ID 122
first row the cost is 400 so it the money available is more than the cost so the cost amount should go to Dept pay
and nothing should go to Mem payment. Then we have 100 dollars left and the cost of Item 2 is 80 so 20 dollars should be payid
by dept and the rest of 60 dollars should go to member payment and since for the third item there is no amount left so the whole 50 dollars should be paid by member. How I can automate this? Is there any VBA?
It should be done by each Member ID. For each member the total amount available is different.
Sample-distribution-amount.xlsx
Comment
Watch Question
Finance Analyst
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE