Results 1 to 8 of 8

Massive =IF together with =DATE formula

Threaded View

beseda2004 Massive =IF together with... 02-07-2012, 07:06 AM
arlu1201 Re: Massive =IF together with... 02-07-2012, 07:23 AM
beseda2004 Re: Massive =IF together with... 02-07-2012, 07:35 AM
Pete_UK Re: Massive =IF together with... 02-07-2012, 07:57 AM
beseda2004 Re: Massive =IF together with... 02-07-2012, 09:30 AM
Pete_UK Re: Massive =IF together with... 02-07-2012, 09:43 AM
beseda2004 Re: Massive =IF together with... 02-08-2012, 07:06 AM
Pete_UK Re: Massive =IF together with... 02-08-2012, 07:43 AM
  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    Holt
    MS-Off Ver
    Excel 2010
    Posts
    27

    Massive =IF together with =DATE formula

    Hello.
    I am trying to create a formula which will have date as an output depending on variable.
    Variable are following:

    4
    5
    L6
    U6

    The idea is to add a certain amount of years and month to the TODAY date, depending on the variable.
    The output date (month and day) are pre-defined = 1 of May
    Though the year varies. It will be 4 years for 4, 3 years for 5, 2 years for L6 and 1 year for U6.
    The trick is that most students will be registered in september, but some might register after new year and this is where I am not sure of how to make year add up correct.
    I tried to make up this formula which gives output of 42491 =\


    =IF(B5=3; DATE(YEAR(C11)+4;MONTH($D$2);DAY($D$2)); IF(B5=4;DATE(YEAR(C11)+4;MONTH($D$2);DAY($D$2)); IF(B5=5;DATE(YEAR(C11)+3;MONTH($D$2);DAY($D$2)); IF(B5=L6;DATE(YEAR(C11)+2;MONTH($D$2);DAY($D$2)); IF(B5=U6;DATE(YEAR(C11)+5;MONTH($D$2);DAY($D$2));0)))))
    Last edited by beseda2004; 02-08-2012 at 07:07 AM.

Thread Information

Users Browsing this Thread

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

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