+ Reply to Thread
Results 1 to 2 of 2

If month multiple greater than specific date, then xx

  1. #1
    Registered User
    Join Date
    02-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    1

    If month multiple greater than specific date, then xx

    I'm trying to get a multiple nested if() to work with multiples of month correctly. I think edate should do the trick but I'm banging my head against the wall trying to only get my last if() true if a x month multiple of the reference date:

    +if(and(this period's date (s7) is greater than a reference date (Assumptions_General!$I$30), & this month is a multiple of three of the reference date (ie 3 month increments)), (Assumptions_General!$j$30, 0)

    I'm buying my first widget on x date. I'll buy y more widgets every three months (if seller has any left but I can handle that part). I'm just trying to show in a row how many widgets I'm buying each month; either y or 0 depending on if the current month is three months after the first month.

    Where I am so far...
    =+IF(S7=Assumptions_General!$I$28,Assumptions_General!$J$28,IF(S7=Assumptions_General!$I$29,Assumptions_General!$J$29,IF(S7=Assumptions_General!$I$30,Assumptions_General!$J$30,IF(AND(S7>Assumptions_General!$I$30,EDATE('Cash Flows'!S7,-Assumptions_General!$I$31+1)>Assumptions_General!$I$30),Assumptions_General!$J$30,0))))

    See attached. I have my nested if() working (see s1 on 'cash flows') but I cannot get my final condition...only returning the five lots every three months (or x months as controlled on 'assumptions'). BTW: Is there a cleaner way to do the nested if() based on the Lot Takedown Schedule on 'Assumptions'?
    Last edited by beardedb; 02-18-2013 at 05:31 PM. Reason: added attachment

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: If month multiple greater than specific date, then xx

    Hi beardedb,

    welcome to the forum.
    Suggest you to upload a sample workbook to support your query. Thanks.


    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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