+ Reply to Thread
Results 1 to 21 of 21

Adding value every 3 months from start date

  1. #1
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Adding value every 3 months from start date

    Hello!

    Good day! Pls. i'm having trouble adding a formula to put a value every 3 months inside the formula. I have other formula inside but if I add the formula for adding the every 3 months, it is giving me an error.

    =IF(BW3<>0,BW3,0)*0+IF(SUM($BV3:BW3)>0,IF(SUM($BV3:BW3)<1.01,$BN3,0))*0+IF(BW$2>=$BJ$3,IF(MOD(MONTH(BW$2)-MONTH($BJ$3),3)=0,$BO$3,"0"),"")

    Appreciate your help pls.

    Attached is the file.

    Thanks in advance.
    Last edited by rickyilas; 03-18-2022 at 05:02 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Adding value every 3 months from start date

    I think it's because you have a number added to a text value. If you change the ending from "0"),"") to 0),0) then I think it should work, if I've understood correctly what you're trying to do.

  3. #3
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    2,182

    Re: Adding value every 3 months from start date

    This formula evaluates to 0+"" which is why you get an error. Not 100% sure what you want to do but you could wrap the whole thing in IFERROR():

    Please Login or Register  to view this content.
    WBD
    Office 365 on Windows 11, looking for rep!

  4. #4
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Adding value every 3 months from start date

    Yes! It's working both formulas. Thanks to all of you.

    Really grateful!

  5. #5
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Adding value every 3 months from start date

    Hello,

    Just a follow up on this matter pls. There is an issue with the end date. the repeating values every 3 months should stop once there is already an end date.
    But the problem is it still continued to be distributed every 3 months even after the end date.

    I've attached an example of the file, just that it should end when the date ends.

    Thanks again.

    Formula:

    =IF(ED3<>0,ED3,0)*$BL3+IF(SUM($BW3:ED3)>0,IF(SUM($BW3:ED3)<1.01,$BN3,0))+IF(ED$2>=$BJ3,IF(MOD(MONTH(ED$2)-MONTH($BJ3),3)=0,$BO3,0),0)
    Last edited by rickyilas; 05-12-2022 at 12:13 PM. Reason: attach file

  6. #6
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Adding value every 3 months from start date

    Hello,

    Just to bring it up in the thread. I have problem with the end date of the formula. There should be an end date for the amount to be repeated every 3 months.

    Thanks for your help.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Adding value every 3 months from start date

    All of the dates in the yellow cells are AFTER all of the finish dates - so what should the finish date be? How is it worked out?
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  8. #8
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Adding value every 3 months from start date

    When do you want it to stop?

    I guess you probably want to change:

    IF(ED$2>=$BJ3,

    to something like:

    IF(AND(ED$2>=$BJ3,ED$2<=$BK3),

    but you've not really explained what it's doing overall so it's hard to tell.

  9. #9
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Adding value every 3 months from start date

    Thanks for your reply. my apologies for not being cleared. The column reference for end date is in Colum BK pls.

    If you can help me edit the formula inside the file would be really grateful.

    Thanks.
    Last edited by rickyilas; 05-13-2022 at 04:13 AM.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Adding value every 3 months from start date

    BK1 for all, or the dates from BK3? If the latter, then only ONE of those dates is included in the range highlighted in yellow.

    For the first:

    =IF(IU$2>$BK$1,"",IF(ED3<>0,ED3,0)*$BL3+IF(SUM($BW3:ED3)>0,IF(SUM($BW3:ED3)<1.01,$BN3,0))+IF(ED$2>=$BJ3,IF(MOD(MONTH(ED$2)-MONTH($BJ3),3)=0,$BO3,0),0))

    If it's the second you want:

    =IF(IU$2>$BK3,"",IF(ED3<>0,ED3,0)*$BL3+IF(SUM($BW3:ED3)>0,IF(SUM($BW3:ED3)<1.01,$BN3,0))+IF(ED$2>=$BJ3,IF(MOD(MONTH(ED$2)-MONTH($BJ3),3)=0,$BO3,0),0))
    Last edited by AliGW; 05-13-2022 at 04:20 AM.

  11. #11
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Adding value every 3 months from start date

    Thanks Aligw, Pls. find attached updated file with explanation. I put the 2nd formula you gave me and it works. Pls. I just need to add 1 more condition inside the formula. I want to add every 74 days an amount of 192x60=11,520 inside the formula. Is it possible?

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Adding value every 3 months from start date

    Glad to help - I am sure someone else will look at this new aim.

    Is there anything else you want it to do?

  13. #13
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Adding value every 3 months from start date

    Thanks Aligw for your help. I will wait for someone else to help with that other criteria. You've been a great help. Thank you!

  14. #14
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Adding value every 3 months from start date

    Hello,

    Just want to get back to this problem which is not yet resolved. There is a problem that the calculation continues even after the start and end date. I attached the file for your reference pls.

    Thanks
    Ricky

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Adding value every 3 months from start date

    You need to test that the dates match. In GN6 copied across:

    =IF(OR(GN$2<$BJ6,GN$2>EOMONTH($BJ6,0)),0,IF(BW6<>0,BW6,0)*$BL6+IF(SUM($BW6:BW6)>0,IF(SUM($BW6:BW6)<1.01,$BN6,0))+IF(BW$2>=$BJ6,IF(MOD(MONTH(BW$2)-MONTH($BJ6),3)=0,$BO6,0),0))

  16. #16
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Adding value every 3 months from start date

    Hello Aligw,

    I copied the formula but I lost the distribution of the R&R (Col BO) every 3 months. and also the monthly salary Col. (BL) which should be distributed between the start & finish date.

    I've attached the file with the updated formula.

    Thanks

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Adding value every 3 months from start date

    OK - that's me out, I am afraid. Sorry! Someone else will advise.

  18. #18
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Adding value every 3 months from start date

    Hello,

    I need help pls. I modify the file to explain further what results i need the formula. Pls. let me know if there is any clarification. I need 1 formula to copy across the table. It is difficult to explain here but it is well explained in the attached file.

    Thanks for your help.

  19. #19
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,568

    Re: Adding value every 3 months from start date

    Try pasting the following into cell GN3 and then copying over and down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  20. #20
    Forum Contributor
    Join Date
    08-24-2009
    Location
    Manila, Philippines
    MS-Off Ver
    MS 365 Subscription Insider (Windows 11 64-bit)
    Posts
    120

    Re: Adding value every 3 months from start date

    Thanks Jet! The formula is just incredible and it works!!! Appreciate it very much. I thought nobody could help me, thanks again.

  21. #21
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,568

    Re: Adding value every 3 months from start date

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Replies: 3
    Last Post: 02-14-2022, 06:37 AM
  2. Adding a number of months to a start date to obtain an 'end date'
    By SamURW in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2014, 07:19 PM
  3. Dynamically Filling in Allocation in Months based only on Start Date and End Date
    By Computermoss in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-07-2013, 01:16 PM
  4. [SOLVED] Calculate date based on number of weeks or months after start date
    By wotsup in forum Excel General
    Replies: 3
    Last Post: 08-17-2012, 06:00 AM
  5. Replies: 2
    Last Post: 01-04-2012, 09:15 AM
  6. Adding months to start date to get end date
    By Eva_ in forum Excel General
    Replies: 3
    Last Post: 01-06-2011, 09:56 AM
  7. every 3 months from start date
    By Ed Letniak in forum Excel General
    Replies: 0
    Last Post: 05-21-2005, 02:00 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