+ Reply to Thread
Results 1 to 2 of 2

Formula involving comparing dates to reach either a number value or blank outcome

  1. #1
    Registered User
    Join Date
    10-07-2011
    Location
    Cincinnati, OH
    MS-Off Ver
    Excel 2003
    Posts
    1

    Formula involving comparing dates to reach either a number value or blank outcome

    My boss is having me figure out a formula involving comparing dates, and I'm totally unclear as to where to start because his IF functions and mine haven't been successful. For example, if the date listed in E3 (our "base date") is within the same year as the date in Z2, then the result is the value that is in D3. If the date listed in E3 is not within the same year as the date in Z2, then the result is a blank cell.

  2. #2
    Forum Expert
    Join Date
    09-20-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2,278

    Re: Formula involving comparing dates to reach either a number value or blank outcome

    Hi
    Have you tried the following IF function?

    =IF(YEAR(E3)=YEAR(Z2),D3,"")

    Hope this helps

+ Reply to Thread

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