+ Reply to Thread
Results 1 to 5 of 5

Calculating number of weeks after a payment

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    Oxford, England
    MS-Off Ver
    Excel 2010
    Posts
    27

    Calculating number of weeks after a payment

    I am trying to calculate how many weeks before a given date that a payment was made. In this case certain types of payment are only considered if more than 52 weeks have passed since the payment was received. If less than 52 weeks have passed the payment is not considered.

  2. #2
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: Calculating number of weeks after a payment

    number of weeks is the difference between the 2 dates divided by 7.

  3. #3
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Calculating number of weeks after a payment

    =IF( INT(DATEDIF(A1,TODAY(),"D")/7)>52,"Payment Considered", "Payment Not Considered")
    Frob first, tweak later

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Calculating number of weeks after a payment

    This should do it
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    11-15-2012
    Location
    Oxford, England
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Calculating number of weeks after a payment

    Thanks All,

    Solved with

    =DATEDIF(C12,H3,"d")/7

    to get the number of weeks and use those in another conditional expression elsewhere

+ 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] Calculating number of weeks
    By Billy29 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 10-21-2014, 07:51 AM
  2. Calculating the number of weeks
    By Billy29 in forum Excel General
    Replies: 1
    Last Post: 10-21-2014, 06:11 AM
  3. [SOLVED] Calculating number of periods when payment amount changes
    By Gary L Brown in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  4. Calculating number of periods when payment amount changes
    By Gary L Brown in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 04:05 AM
  5. [SOLVED] Calculating number of periods when payment amount changes
    By Dan Patrick in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  6. [SOLVED] Calculating number of periods when payment amount changes
    By Dan Patrick in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  7. Calculating number of periods when payment amount changes
    By Dan Patrick in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-02-2005, 01:05 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