+ Reply to Thread
Results 1 to 4 of 4

How to apply date range to IF formula??

  1. #1
    Registered User
    Join Date
    08-01-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    31

    How to apply date range to IF formula??

    Hello all,

    I'm hoping you can help me with a problem I've come across.

    In the attached document is a sample of a project tracker I've put together, that is meant to track whether Projects are on Time to meet their "Go Live" dates. This is done by comparing the "Go Live" dates reported each month, against those in the project baseline - see the "04.2 - Go-Live Baseline" tab.

    Initially I used the following formula:
    =IFERROR(IF([@[Go Live Reported]]=INDEX(Table6[Original Forecast],MATCH([Project],Table6[Project],0)),"Yes",""),"")

    However, I soon realised that there were instances where the Go Live date was being brought forward (cells highlighted orange), and that the formula above does not account for this, and ignores any differences to the baseline.

    I then made the following amendment:
    =IFERROR(IF([@[Go Live Reported]]<=INDEX(Table6[Original Forecast],MATCH([Project],Table6[Project],0)),"Yes",""),"")

    While this did work in part, it had the unexpected outcome of including instances where no dates were reported - see cells G77:G81, highlighted yellow. I thought of using a date range, such as January 2020 (i.e. no earlier than) onward, but I can't figure out how to implement this.

    As such my request is the following. Is there a formula I can use, or a way to alter the formula above, to deliver what I'm looking for, while ignoring any blank cells?

    I hope this is all clear, but happy to try and elaborate further if needed.

    Many thanks in advance for your help, and I look forward to hearing from you!

    Kind regards,
    G
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: How to apply date range to IF formula??

    How about
    =IFERROR(IF(AND([@[Go Live Reported]]<>"",[@[Go Live Reported]]<=INDEX(Table6[Baseline],MATCH([@Project],Table6[Project],0))),"Yes",""),"")

  3. #3
    Registered User
    Join Date
    08-01-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    31

    Re: How to apply date range to IF formula??

    Perfect, that did it =)

    Thanks so much!!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: How to apply date range to IF formula??

    You're welcome & thanks for the feedback.

+ 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. [SOLVED] Apply date range to SUMIFS formula
    By fahadmohsin in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-09-2016, 05:08 AM
  2. Apply a formula to get a Month name against specif date range
    By fahimd5 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-11-2014, 05:03 AM
  3. Date Range Formula to apply value?
    By Cdyerbg in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-10-2014, 05:22 PM
  4. Formula to apply number based on date range?
    By Cdyerbg in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-10-2014, 02:47 PM
  5. [SOLVED] VBA Apply Date Format To Range
    By hobbiton73 in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-03-2014, 11:55 PM
  6. [SOLVED] Apply formula to one date range, another to another date range
    By Caulerpa in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-10-2014, 11:04 AM
  7. Replies: 1
    Last Post: 01-23-2013, 03:00 PM

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