+ Reply to Thread
Results 1 to 5 of 5

Help Populating a Capital Needs Table

Hybrid View

Prof Sick Help Populating a Capital... 04-06-2018, 01:59 PM
AliGW Re: Help Populating a Capital... 04-07-2018, 03:29 AM
LeoTaxi Re: Help Populating a Capital... 04-07-2018, 05:40 AM
samba_ravi Re: Help Populating a Capital... 04-07-2018, 06:48 AM
Prof Sick Re: Help Populating a Capital... 04-07-2018, 01:24 PM
  1. #1
    Forum Contributor
    Join Date
    12-20-2017
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    104

    Help Populating a Capital Needs Table

    Can someone suggest how I would have Excel automatically population the cells within the table. I need to take the total capital need for each Lot listed in the table in a regressive manor reduce the balance monthly in equal amounts until balance is zero out. I populated the first column manually for purposes of example. Your help is greatly appreciated.

    Thanks in advance

    -Manny
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,006

    Re: Help Populating a Capital Needs Table

    Two questions:

    1. What is the decimal portion of the months referring to? Is it a true decimal (e.g. 9/10 of a month), or is it a number of days?
    2. Given the above, what was your manual calculation for the (e.g. MA10) eight equal payments and the final reduced payment?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Help Populating a Capital Needs Table

    Try and let us know if this is what uou look for

    Sub test()
    Dim x As Long, i As Long, mc As Long, myitem As String, mycapital As Double, myperiod As Double, bed1 As Double, geh1 As Integer
    With Sheets("Sheet1")
        For x = 2 To .Range("A" & Rows.Count).End(xlUp).Row
            myitem = .Range("A" & x)
            mycapital = .Range("B" & x)
            myperiod = Application.Round(.Range("C" & x).Value, 1)
            bed1 = Application.Round(mycapital / myperiod, 2)
            geh1 = Int(.Range("C" & x))
            ReDim arr(1 To geh1 + 1)
            For i = 1 To geh1
                arr(i) = bed1
            Next
            arr(UBound(arr)) = mycapital - (bed1 * geh1)
            With .Range("1:1")
                mc = .Find(myitem).Column
            End With
            .Cells(2, mc).Resize(UBound(arr)) = Application.Transpose(arr)
        Next
    End With
    End Sub
    Kind regards
    Leo

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Help Populating a Capital Needs Table

    G2=MAX(0,ROUND(MIN(INDEX(TblCapNeeds[Capital Needs],MATCH(G$1,TblCapNeeds[Lot],0))-SUM(G$1:G1),INDEX(TblCapNeeds[Capital Needs]/ROUND(TblCapNeeds[Months],1),MATCH(G$1,TblCapNeeds[Lot],0))),2))
    Try this and copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Contributor
    Join Date
    12-20-2017
    Location
    California
    MS-Off Ver
    Office 365
    Posts
    104

    Re: Help Populating a Capital Needs Table

    Thanks so much for everyone's help my issue here. It has been resolved with your help.

    -Manny

+ 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. Populating table with data from a table on another spreadsheet.
    By royall in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-04-2018, 12:56 AM
  2. [SOLVED] Creating/Populating TABLE (NEW) from an OLD TABLE base on ListBox choices
    By Gilcano in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-06-2015, 08:30 PM
  3. Replies: 9
    Last Post: 12-03-2014, 06:17 PM
  4. populating cells on a table using data from another table
    By richie2711 in forum Excel General
    Replies: 1
    Last Post: 07-21-2013, 07:13 PM
  5. [SOLVED] Populating a table based on the value match from another table
    By wnarx in forum Excel General
    Replies: 6
    Last Post: 08-31-2012, 12:30 AM
  6. Populating a table based on values in another table
    By Bri in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-25-2006, 09:30 PM
  7. Populating a table with filtered result of another table
    By pikakathy in forum Excel General
    Replies: 7
    Last Post: 01-10-2006, 08:04 PM

Tags for this Thread

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