+ Reply to Thread
Results 1 to 10 of 10

Need help with adding value after specific date!

  1. #1
    Registered User
    Join Date
    07-22-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    2

    Need help with adding value after specific date!

    Hi All!

    I recently paid for a £1,349 pc and I'm paying 41.25 on the 17th of every month.

    How can I make a formula that will subtract 41.25 from 1349 after the 17th of each month So I can track how much I've got left to pay off. My current formula updates it based on month regardless of whether it's past the 17th or not.

    I think I'm on the right lines with the following formula:


    =SUM(1349-((((YEAR(B24)-YEAR(B23))*12+MONTH(B24)-MONTH(B23))+1)*41.25))


    B24: represents the current date (updated manually, would be cool if it could automatically update but I don't know how.)

    B23: represents the start of payment 17/07/2014

    Thanks in advance!

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Need help with adding value after specific date!

    Please Login or Register  to view this content.
    I am not in excel at the mo.
    Hope this helps

    Sometimes its best to start at the beginning and learn VBA & Excel.

    Please dont ask me to do your work for you, I learnt from Reading books, Recording, F1 and Google and like having all of this knowledge in my head for the next time i wish to do it, or wish to tweak it.
    Available for remote consultancy work PM me

  3. #3
    Registered User
    Join Date
    07-22-2014
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    2

    Re: Need help with adding value after specific date!

    Cheers man! Just used it now and it works perfectly!

    Had to make a minor tweek because it didn't accommodate for the first payment on the start date. But the actual formula works like a charm!

    TYVM

  4. #4
    Valued Forum Contributor
    Join Date
    09-21-2011
    Location
    Birmingham UK
    MS-Off Ver
    Excel 2003/7/10
    Posts
    2,188

    Re: Need help with adding value after specific date!

    No problem.

  5. #5
    Registered User
    Join Date
    07-22-2014
    Location
    Grantham
    MS-Off Ver
    2013
    Posts
    6

    Re: Need help with adding value after specific date!

    Quote Originally Posted by stevenpadget View Post


    B24: represents the current date (updated manually, would be cool if it could automatically update but I don't know how.)

    B23: represents the start of payment 17/07/2014

    Thanks in advance!
    Hi

    You can use in B24 =today() formula so you will not have to add current date any more.

  6. #6
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Need help with adding value after specific date!

    You can also replace the B24 in the formula with TODAY() so you don't need the current date showing at all.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need help with adding value after specific date!

    Maybe this...

    I think all you need to do is subtract the count of how many 17ths of the month have passed since the start date times the payment from the starting balance:

    1349-(count of 17ths of the month * payment)

    A2 = starting balance = 1349
    B2 = starting date = 7/17/2014
    C2 = monthly payment = 41.25
    D2 = formula:

    A2-(SUMPRODUCT(--(DAY(ROW(INDIRECT(B2&":"&TODAY())))=17))*C2)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  8. #8
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Need help with adding value after specific date!

    Nice. I wouldn't have thought of using dates as row numbers. Will have to keep that in the back of my mind for the future.

  9. #9
    Forum Contributor
    Join Date
    05-04-2014
    Location
    New Jersey, United States
    MS-Off Ver
    Excel 2010, 2013
    Posts
    120

    Re: Need help with adding value after specific date!

    Just a slight improvement to the above formula:

    =1349-41.25-(DATEDIF(41837,TODAY(),"m")+IF(DAY(TODAY())<17,-1,))*41.25

    Now it doesn't require any other "helper" cells which specify a start or end date. The start date is hard-coded in the formula as 41837, and it is updated automatically with the TODAY() function.

  10. #10
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need help with adding value after specific date!

    @Glenn

    Judging from the content of your posts, I'm sure you know that dates are really just numbers formatted to look like dates.

    So, we can use row numbers to represent dates.


+ 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. Help: Adding Revenue by Date-specific Cohorts Using SUMIFS
    By roguenate in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-17-2014, 02:47 PM
  2. Adding values from different columns from specific date ranges
    By InterstateRentals in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-11-2013, 08:07 PM
  3. Formula for adding a date to a specific number
    By Riggs18 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-16-2013, 03:54 PM
  4. Adding up a specific date
    By jamescoutts in forum Excel General
    Replies: 4
    Last Post: 05-21-2010, 10:51 AM
  5. [SOLVED] adding specific cells based on a corresponding date
    By bluemoir in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-09-2006, 02:00 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