+ Reply to Thread
Results 1 to 10 of 10

Multiple Criteria - Within Date Range and Matching Value Within Row

  1. #1
    Registered User
    Join Date
    06-08-2017
    Location
    Dirty South
    MS-Off Ver
    Mac 2016
    Posts
    7

    Multiple Criteria - Within Date Range and Matching Value Within Row

    Hi everyone,

    I am attempting to make a formula that will output true or false based on the following:

    The formula should first check to see if a date in one sheet falls within a date range on another sheet. If it does fall within that date range, I want it do next check to see if the identifiers for both dates match.

    I know this may come out a bit confusing, so I would be happy to clear up anything. Also, if at all possible, it would be great if the output could be the row numbers in which the values are true, instead of just a generic true/false.

    Thanks in advance!

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Multiple Criteria - Within Date Range and Matching Value Within Row

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Registered User
    Join Date
    06-08-2017
    Location
    Dirty South
    MS-Off Ver
    Mac 2016
    Posts
    7

    Re: Multiple Criteria - Within Date Range and Matching Value Within Row

    Let me know if this works!
    Attached Files Attached Files

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Multiple Criteria - Within Date Range and Matching Value Within Row

    One week before date obtained | =SUM(A2-90) ?

  5. #5
    Registered User
    Join Date
    06-08-2017
    Location
    Dirty South
    MS-Off Ver
    Mac 2016
    Posts
    7

    Re: Multiple Criteria - Within Date Range and Matching Value Within Row

    Fixed that. See below
    Attached Files Attached Files

  6. #6
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Multiple Criteria - Within Date Range and Matching Value Within Row

    Before Date: 01/10/2014
    After Date: 06/01/2015
    Measurement Date: 01/03/2015

    result : TRUE
    are you sure: BD<=MD<=AD ?

    date format : mm/dd/yyyy or dd/mm/yyyy ? but I don't think it is important because excel will change format accordingly

  7. #7
    Registered User
    Join Date
    06-08-2017
    Location
    Dirty South
    MS-Off Ver
    Mac 2016
    Posts
    7

    Re: Multiple Criteria - Within Date Range and Matching Value Within Row

    Quote Originally Posted by sandy666 View Post
    Before Date: 01/10/2014
    After Date: 06/01/2015
    Measurement Date: 01/03/2015

    result : TRUE
    are you sure: BD<=MD<=AD ?

    date format : mm/dd/yyyy or dd/mm/yyyy ? but I don't think it is important because excel will change format accordingly
    I apologize, I just created the info and thought I had it right. The date format is month/day/year. And it should be 01/10/15

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Multiple Criteria - Within Date Range and Matching Value Within Row

    Quote Originally Posted by ForProse View Post
    I want it do next check to see if the identifiers for both dates match.
    Both dates?
    One is Date of Measurement
    Second?

  9. #9
    Registered User
    Join Date
    06-08-2017
    Location
    Dirty South
    MS-Off Ver
    Mac 2016
    Posts
    7

    Re: Multiple Criteria - Within Date Range and Matching Value Within Row

    Quote Originally Posted by sandy666 View Post
    Both dates?
    One is Date of Measurement
    Second?
    The measurement date is 1/10/15, the BD is all of the values within the BD column (similarly for the AD). If it matches between the date range, it should next check to see if the identifiers match, and if it does, it should output TRUE

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Multiple Criteria - Within Date Range and Matching Value Within Row

    If I check DM and it is ok, then I can check Idetifiers if they are the same
    so I don't understand both dates, sorry

    better see attached file on the first sheet (because it was easier to me all on one sheet )
    =IF(AND(F2>=B2,F2<=C2,INDEX($G$2:$G$9,MATCH(F2,$F$2:$F$9,0))=J2),MATCH(F2,$F$2:$F$9,0),"") (here is an idiotic match but ...)
    Attached Files Attached Files

+ 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: 4
    Last Post: 04-28-2017, 11:06 AM
  2. Matching with multiple criteria/dynamic range
    By Timgis in forum Excel General
    Replies: 3
    Last Post: 04-26-2015, 11:31 AM
  3. [SOLVED] Sum of a range using multiple criteria - one of which is matching the month and year
    By mattsonberg in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-21-2014, 02:45 PM
  4. [SOLVED] Find last date matching multiple criteria
    By SimonLock in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-09-2014, 02:10 PM
  5. Replies: 12
    Last Post: 06-29-2012, 10:13 AM
  6. Count a Matching criteria to a date range
    By scaffdog845 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-16-2010, 02:25 PM
  7. Multiple Criteria and Partial Date Matching
    By GreatLakesJK in forum Excel General
    Replies: 7
    Last Post: 07-08-2010, 11:03 AM

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