+ Reply to Thread
Results 1 to 5 of 5

IF AND - QUERY Data from one sheet to another when 2 values are met.

  1. #1
    Registered User
    Join Date
    01-27-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365 // Excel
    Posts
    20

    IF AND - QUERY Data from one sheet to another when 2 values are met.

    Hello all,

    I would like to know how to, when "PASSED" is selected in 'Report Responses' A column, and "Sit Along 3" is the value of J column of 'Report Responses', Column F, Column C, and the DATE ONLY from Column B are shown on a new line in 'Trainee's Cleared for Eval' for each new submission that is marked "PASSED".

    https://docs.google.com/spreadsheets...it?usp=sharing

    This is an example of the sheet, and it has two current tests to show desired results, the only thing I would like is to automate it when selecting "PASSED" and it being a "Sit Along 3", it automatically adds it to that sheet.

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    2016 primarily
    Posts
    5,815

    Re: IF AND - QUERY Data from one sheet to another when 2 values are met.

    In A3 on the target sheet, enter:

    =QUERY(filter('Report Responses'!A2:J,('Report Responses'!A2:A="Passed")*('Report Responses'!J2:J="Sit Along 3")),"SELECT Col2,Col4,Col6,Col3")
    Rory
    I drink, and I know things

  3. #3
    Registered User
    Join Date
    01-27-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365 // Excel
    Posts
    20

    Re: IF AND - QUERY Data from one sheet to another when 2 values are met.

    Quote Originally Posted by rorya View Post
    In A3 on the target sheet, enter:

    =QUERY(filter('Report Responses'!A2:J,('Report Responses'!A2:A="Passed")*('Report Responses'!J2:J="Sit Along 3")),"SELECT Col2,Col4,Col6,Col3")
    You are always such a big help! One last thing, is there a way to filter it for everything past a certain date? (So I don't have to go back and redo past data entered manually)

  4. #4
    Registered User
    Join Date
    01-27-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365 // Excel
    Posts
    20

    Re: IF AND - QUERY Data from one sheet to another when 2 values are met.

    I actually figured it out.
    Thanks rorya!

  5. #5
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    2016 primarily
    Posts
    5,815

    Re: IF AND - QUERY Data from one sheet to another when 2 values are met.

    Good job!

+ 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. MS Query that check the values of all data
    By dummy777 in forum Access Tables & Databases
    Replies: 0
    Last Post: 10-03-2019, 08:06 AM
  2. Replies: 0
    Last Post: 06-20-2015, 02:42 PM
  3. Replies: 3
    Last Post: 10-22-2012, 05:23 PM
  4. Query data to make new sheet
    By pleiadeez7 in forum Excel General
    Replies: 5
    Last Post: 11-24-2010, 02:32 PM
  5. Are data query and sheet protection impossible on the same sheet?
    By skysurfer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-06-2010, 07:11 PM
  6. Importing Data via Web Query - Can values be passed to query?
    By jgalenski@charter.net in forum Excel General
    Replies: 5
    Last Post: 05-09-2006, 01:25 PM
  7. parameter query using values in sheet?
    By rachael in forum Excel General
    Replies: 0
    Last Post: 03-21-2006, 06:15 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