+ Reply to Thread
Results 1 to 3 of 3

Using IF AND Function : displaying closest date with two necessary conditions

  1. #1
    Registered User
    Join Date
    10-07-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Using IF AND Function : displaying closest date with two necessary conditions

    Hello,
    In my sheet, I need a cell displaying closest date to today whose priority must be high and status must be open.
    There is a column named Date, Priority and Status. I want a date closest to today's date from DATE column values whose Priority must be high and status should be open.
    Attached is my sheet. I tried displaying at N10.




    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Using IF AND Function : displaying closest date with two necessary conditions

    welcome to the forum, pri6322. it would be good if you let us know what should the answer be too. i'm guessing it's C9. so:
    =SUMPRODUCT(MAX((C9:C22<=TODAY())*(G9:G22="High")*(H9:H22="Open")*C9:C22))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    10-07-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Using IF AND Function : displaying closest date with two necessary conditions

    Thats perfect. The answer is C9.
    Thanks beneshiryo.

+ 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. Replies: 0
    Last Post: 07-25-2011, 05:58 PM
  2. How to find the closest match meeting conditions
    By glenn37475474 in forum Excel General
    Replies: 2
    Last Post: 06-28-2011, 02:44 AM
  3. IF,AND, function displaying last date
    By Mothman in forum Excel General
    Replies: 5
    Last Post: 01-23-2010, 05:01 PM
  4. closest value with multiple conditions
    By impala096 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-14-2007, 11:05 PM
  5. Replies: 1
    Last Post: 05-27-2006, 04:00 PM

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