+ Reply to Thread
Results 1 to 3 of 3

Select value (rate) based on four constants (effective date) and one variables (period)

  1. #1
    Registered User
    Join Date
    09-24-2013
    Location
    Montgomery, TX
    MS-Off Ver
    Excel 2013
    Posts
    6

    Select value (rate) based on four constants (effective date) and one variables (period)

    I have to track payments due each month and I am looking for a way evaluate this spreadsheet line by line and insert the appropriate rate into col Q based on the period and effective date of the four rates. The code needs to look at the four effective dates (cols J, L, N, P) and chose the appropriate rate (cols i, k, m, o) based on the effective date of the rate and the period (C1). This is a short version of 103 column spreadsheet. This spreadsheet needs to revaluate and re-post the rate as the period (C1) is changed each month.
    Attached Files Attached Files

  2. #2
    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
    52,933

    Re: Select value (rate) based on four constants (effective date) and one variables (period

    What would a sample answer look like, and where would it go?

    I see the C1 date, so how does that link in with the dates in J, L, N and P? and I notice that not all of those have dates anyway?
    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

  3. #3
    Registered User
    Join Date
    09-24-2013
    Location
    Montgomery, TX
    MS-Off Ver
    Excel 2013
    Posts
    6

    Re: Select value (rate) based on four constants (effective date) and one variables (period

    J, L, N and P would not always have a date, in some case a lease would start "AFTER" the first of the month in that case you would have a date in J (pro rate effective), in some cases you would have only a 1 year lease beginning on the first day of the month, thus a date in L (1 year effective), in some cases you will have a two year lease beginning on the first of the month in that case dates in N (year.1 effective) & P (year.2 effective). The variables are dates in J & L, dates in J, N & P, date in L only, dates in N & P only.

    Answers are:
    Q4 =1,100 (pro-rate date (J) is less than the period date (C1), 1 year date (L) is less than period date (C1) but greater than pro-rate date (J) and N & P are NULL, thus (L) is TRUE 1,100)

    Q5 = 1,300 (pro-rate date (J) is less than the period date (C1), 1 year date (L) is NULL, year.1 date (N) is less than period date (C1) and year.2 date (P) is less than the pro-rate date (C1) but greater year.1 date (N), thus (P) is TRUE, thus 1,300)

    Q6 = 1,400, (pro-rate date (J) is NULL, 1 year date (L) is NULL, year.1 date (N) is less than period date (C1) and year.2 date (P) is greater than the period date (C1), thus (N) is TRUE 1,400)

    Q7=1,400, (pro-rate date (J) is less than the period date (C1), 1 year date (L) is NULL, year.1 date (N) is equal to period date (C1) and year.2 date (P) is greater than the period date (C1), thus (N) is TRUE 1,400)

    Q8 = 400, (pro-rate date (J) is greater than the period date (C1), 1 year date (L) is NULL, year.1 date (N) is greater period date (C1) and year.2 date (P) is greater than the period date (C1), thus (J) is TRUE 400)

    Q9 = 1,600, (pro-rate date (J) is NULL, 1 year date (L) is NULL, year.1 date (N) is equal to period date (C1) and year.2 date (P) is greater than the period date (C1), thus (N) is TRUE 1,600)

    Q10=1,700, (pro-rate date (J) is NULL, 1 year date (L) is equal to period date (C1), year.1 date (N) is NULL and year.2 date (P) NULL, thus (L) is TRUE 1,700)

+ 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. Multiple date ranges to find effective rate
    By Lucky65 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-18-2014, 11:55 AM
  2. [SOLVED] select latest effective record by creation date field
    By Natasha Z in forum Excel General
    Replies: 9
    Last Post: 04-10-2014, 09:16 PM
  3. [SOLVED] Semi Monthly autofill Period Starting Date based on Period Ending Date
    By greatwent in forum Excel General
    Replies: 6
    Last Post: 01-30-2014, 03:29 AM
  4. Need help finding the effective rate of return, Where:
    By Relim in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-16-2011, 11:10 AM
  5. [SOLVED] Effective Annual Interest Rate
    By John in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-03-2005, 10: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