+ Reply to Thread
Results 1 to 2 of 2

Calculating number of period from total amount allowed

  1. #1
    Registered User
    Join Date
    03-23-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    67

    Calculating number of period from total amount allowed

    Hi,

    I am looking for a macro where I have a initial funds allowed to be used with the percentage I can get from until all the funds run out.
    In fact, I want to know the total number of period to be used displayed until the balance is at zero.

    For instance, if I have $800 to be used (J6) and 80% can be redeemed (J5) with an amount of 80$ declared (J17), then the period maximal to be used will be 13. For $1000 with 80% with $80 declared, 16 period can be used...

    Here is how it looks like (if it was 800 with 80 declared ; 1000 with 80 declared):

    Untitled-2.png

    ss.png

    Constraints
    1. There will be a maximum of 24 periods (since maximum amount is 1500).
    2. It must reflect the Percentage Allowed (J5) and Amount Redeemed (J17), so if I change value in those, it should work too.

    Thanks

    Claim.xlsx

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: Calculating number of period from total amount allowed

    Why do you need a Macro? Just add an If statement to your formula.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Calculating Total Sickness in a rolling 12 month Period
    By china in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-08-2015, 08:04 AM
  2. Calculating amount paid during a period based on age
    By MSDemocrat in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-30-2015, 12:43 PM
  3. Calculating number of certain hours within a specified time period
    By cdf27 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-30-2013, 07:19 PM
  4. Replies: 1
    Last Post: 01-19-2012, 01:26 AM
  5. Calculating number of days in each month during a given period.
    By josnah in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-28-2007, 02:52 AM
  6. Calculating percentage of a changing total amount
    By skratch in forum Excel General
    Replies: 2
    Last Post: 09-26-2006, 04:21 AM
  7. Calculating total amount of sales for each salesman
    By Exedate in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-27-2005, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1