+ Reply to Thread
Results 1 to 6 of 6

calculate escalation if dates and values in other columns are met

  1. #1
    Registered User
    Join Date
    11-21-2019
    Location
    australia
    MS-Off Ver
    2016
    Posts
    17

    calculate escalation if dates and values in other columns are met

    Hi
    Im trying to calculate an escalation where B2 is orange and created date is <=5years from sale date then ((a+b)*1.1) otherwise (a+b) irrespective of colour or created date and to only perform the calculation if both column a and e have data.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: calculate escalation if dates and values in other columns are met

    C2<=(EDATE(C2,60)
    sale date is column D not C
    ((A2+E2)*1.1),(A2+D2)

    column A is a dollar value, column D is a date
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    11-21-2019
    Location
    australia
    MS-Off Ver
    2016
    Posts
    17

    Re: calculate escalation if dates and values in other columns are met

    Thank you, I have tweaked the sample spread sheet but I still cannot get it to work quite the way I would like. Basically what I am trying to calculate is anything orange 5 years old or less attracts an escalation of 10%. That could be 5 years from today or 5 years from a nominated date. Any other colour does not attract the escalation regardless of when it was created However I only want the calculation to be done when there is data in both the Value_A and Value_B fields. I would like it to return the message "Yet to be calculated" when either or both Value_A and Value_B are empty, but when I include this in the formula I get an error message there are too many arguments. I am open to suggestions to make the formula as simple as possible. If there is something other than EDATE that is a better option I am happy to learn it.

    Cheers
    Last edited by Aggaire; 12-01-2019 at 03:11 AM.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: calculate escalation if dates and values in other columns are met

    In F2, copied down:

    =IF(B2="","",IF(OR(A2="",E2=""),"TBC",IF(AND(D2<=EDATE(C2,60)),(A2+E2)*1.1,A2+E2)))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    11-21-2019
    Location
    australia
    MS-Off Ver
    2016
    Posts
    17

    Re: calculate escalation if dates and values in other columns are met

    Hi Glenn

    Job done. Thanks for your help.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: calculate escalation if dates and values in other columns are met

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. Calculate First Loan PMT when Annual Escalation applicable
    By FlipS in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-13-2021, 11:30 AM
  2. [SOLVED] How to calculate values related to specific dates
    By MyStix01 in forum Excel General
    Replies: 31
    Last Post: 05-30-2018, 02:31 AM
  3. [SOLVED] Yearly Rent Escalation for multiple properties - variable start dates
    By md360 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2017, 08:56 PM
  4. Calculate number of x values between two dates
    By RuthN in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-12-2017, 09:54 AM
  5. Replies: 1
    Last Post: 07-20-2015, 11:40 AM
  6. Calculate particular period rent with day vise escalation
    By rahulbhanwar in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 04-03-2012, 04:24 AM
  7. How to use excel to calculate values regarding dates?
    By Garashta in forum Excel General
    Replies: 2
    Last Post: 07-14-2009, 11:53 AM

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