Results 1 to 8 of 8

Massive =IF together with =DATE formula

Threaded View

  1. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,448

    Re: Massive =IF together with =DATE formula

    Put the values 4,3,2,1 in cells L2 to L5, and then you can use this formula in B5:

    =IF(B2="","",DATE(YEAR(B4)-IF(AND(MONTH(B4)>=1,MONTH(B4)<8),1,0)+VLOOKUP(B2,K$2:L$5,2,0),5,1))

    If the current date is between January and August of one year, then the year values are subtracted by one year.

    Hope this helps.

    Pete

    EDIT: I've attached your workbook with the changes in it.
    Attached Files Attached Files
    Last edited by Pete_UK; 02-07-2012 at 09:08 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