+ Reply to Thread
Results 1 to 7 of 7

Formula to return corresponging date value in row 1 once row 2 payment sum reaches a value

Hybrid View

  1. #1
    Registered User
    Join Date
    07-20-2015
    Location
    New York, US
    MS-Off Ver
    2013
    Posts
    43

    Formula to return corresponging date value in row 1 once row 2 payment sum reaches a value

    Hey gurus,

    I need a formula that will look look at payments in row 2 and return the date in row 1 at the column where the sum of payments is greater than a cell value.

    E.G. In the example attached, the amount owed to me is in DU2 - received payments are in DV2:AIX2. The last payment which brings the sum of payments to the amount in DU2 is in cell GO2.

    I want the formula to return the date in GO1 because the payment in GO2 brought the total of payments to equal to or more than the value in DU2.

    This way I will know that any payments received after the date in GO1 need to be refunded.

    Please help, I can't figure it out! Thanks very much to anyone who takes the time to look at this.

    Yours truly,
    wannabeexcelguy
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-17-2015
    Location
    Shiraz,Iran
    MS-Off Ver
    MS 2010
    Posts
    12

    Re: Formula to return corresponging date value in row 1 once row 2 payment sum reaches a v

    Hi,please check this file....
    Attached Files Attached Files

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Formula to return corresponging date value in row 1 once row 2 payment sum reaches a v

    Izandi Sorry for off-topic interjection:

    Although there is no official rule regarding this behavior, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.

    I'm sure you understand, and we look forward to seeing you post your formulas/macros in your posts for the searching benefit of all.

    Thanks again for all your hard work here!
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    07-17-2015
    Location
    Shiraz,Iran
    MS-Off Ver
    MS 2010
    Posts
    12

    Re: Formula to return corresponging date value in row 1 once row 2 payment sum reaches a v

    Hi,
    At first you type this formula in cell DV3 and then autofill to end of row to calculate comulative sum.
    =SUM($DV$2:DV2)
    Finally type this formula to DU3 cell and press Ctrl+Shift+Enter
    =INDEX(DV1:AIX1,1,MATCH(TRUE,(DV3:AIX3)>=DU2,0))

  5. #5
    Registered User
    Join Date
    07-20-2015
    Location
    New York, US
    MS-Off Ver
    2013
    Posts
    43

    Re: Formula to return corresponging date value in row 1 once row 2 payment sum reaches a v

    Thank you Izadi! Is there any way to combine the two formulas in to one?

  6. #6
    Registered User
    Join Date
    07-17-2015
    Location
    Shiraz,Iran
    MS-Off Ver
    MS 2010
    Posts
    12

    Re: Formula to return corresponging date value in row 1 once row 2 payment sum reaches a v

    Now,I have no idea but if I find it I will send it to you.

  7. #7
    Registered User
    Join Date
    07-20-2015
    Location
    New York, US
    MS-Off Ver
    2013
    Posts
    43

    Re: Formula to return corresponging date value in row 1 once row 2 payment sum reaches a v

    I figured out how to do it. Thank you Izadi, your formula helped me get there. Obviously the below formula is for dates down column A and payments down column B (rather than across rows like above).

    First, the below returns the amount of payment days
    =MATCH(TRUE,INDEX(SUMIF(OFFSET(B$127,1,,ROW(B$127:B917)-ROW(B$127),1),"<>0")>=B$126,0),0)

    Secondly, the below adds those payments days to the start date
    =WORKDAY($A918,B918)

+ 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. [SOLVED] Sum cells in column B, return corresponding date in column A when it reaches an amount
    By wannabeexcelguy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-07-2015, 09:02 PM
  2. formula to subtract payment amount on monthly payment date
    By restingdonkey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2014, 03:39 PM
  3. Replies: 3
    Last Post: 07-29-2013, 11:31 AM
  4. Payment date formula
    By harignz in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-18-2013, 04:21 AM
  5. formula to return payment to yield desired IRR
    By suki0522 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-10-2008, 06:40 PM
  6. Corresponging cell against Max Vaule
    By ranjit5311 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-28-2007, 09:25 AM
  7. calculate payment with first payment due date variable?
    By Jody Solbach in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-08-2005, 12:46 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