+ Reply to Thread
Results 1 to 5 of 5

YTD Formula

  1. #1
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    YTD Formula

    Dear Experts,

    Please find here attached workbook, where i am seeking for your precious expertise on YTD formula in Cell R3 for Opening Balance (Opening Balance will always be the first month Opening Balance for the particular Quarter, Suppose Feb//17 is falling uner 1Q//17 then as per results in 1Q//17, Opening Balance will be for YTD Feb.), R4 for total Addition upto Feb//17 & R5 for Total Due upto Feb//17.

    Request to you please do provide the solution on the same.

    Regards,

    Neilesh
    Attached Files Attached Files

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

    Re: YTD Formula

    Why due is 1000
    I think it would be 1000+1000=2000
    If you are looking for YTD Nov then what would be the result
    Opening Balance is Jan month(1st QTR) opening balance or it is Opening Balance of Oct (4th QTR)
    Last edited by samba_ravi; 07-13-2017 at 07:58 AM.
    Samba

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

  3. #3
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: YTD Formula

    Quote Originally Posted by nflsales View Post
    Why due is 1000
    I think it would be 1000+1000=2000
    If you are looking for YTD Nov then what would be the result
    Opening Balance is Jan month(1st QTR) opening balance or it is Opening Balance of Oct (4th QTR)
    Yes Sir, You are absolutely perfect. Request to you kindly do provide the required solution Sir.

    Thank you for your precious phase and valuable support.

    Regards,

    Neilesh

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

    Re: YTD Formula

    r3=OFFSET($B3,,INT((MONTH(DATEVALUE(1&RIGHT(R$1,3)))-1)/3)*4)
    r4=SUM(OFFSET($B4,,INT((MONTH(DATEVALUE(1&RIGHT(R$1,3)))-1)/3)*4,,MOD(MONTH(DATEVALUE(1&RIGHT(R$1,3)))-1,3)+1))
    r5=SUM(OFFSET($B5,,INT((MONTH(DATEVALUE(1&RIGHT(R$1,3)))-1)/3)*4,,MOD(MONTH(DATEVALUE(1&RIGHT(R$1,3)))-1,3)+1))

  5. #5
    Forum Contributor Neilesh Kumar's Avatar
    Join Date
    05-26-2016
    Location
    INDIA
    MS-Off Ver
    2013 & 2016
    Posts
    842

    Re: YTD Formula

    Quote Originally Posted by nflsales View Post
    r3=OFFSET($B3,,INT((MONTH(DATEVALUE(1&RIGHT(R$1,3)))-1)/3)*4)
    r4=SUM(OFFSET($B4,,INT((MONTH(DATEVALUE(1&RIGHT(R$1,3)))-1)/3)*4,,MOD(MONTH(DATEVALUE(1&RIGHT(R$1,3)))-1,3)+1))
    r5=SUM(OFFSET($B5,,INT((MONTH(DATEVALUE(1&RIGHT(R$1,3)))-1)/3)*4,,MOD(MONTH(DATEVALUE(1&RIGHT(R$1,3)))-1,3)+1))
    Thank you so much Dear Expert, It worked perfectly. Thank you once again.

    Regards,

    Neilesh

+ 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. Excel formula bar to display the result of the formula , not the formula?
    By max_max in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-18-2016, 07:15 PM
  2. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  3. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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