+ Reply to Thread
Results 1 to 3 of 3

Google sheets pulling more data than the criteria which is set.

  1. #1
    Registered User
    Join Date
    06-01-2021
    Location
    Fort Myers, FL
    MS-Off Ver
    Office 365
    Posts
    2

    Google sheets pulling more data than the criteria which is set.

    I have a tab in my Google Sheet for my raw data. I have another tab which has the report form which includes the criteria fields which I want to be able use to pull the appropriate data from the raw data tab. I am using "INDEX" and "MATCH" along with my two criteria fields to extract the records in my report. Everything appears to work on the first criteria field by fails on the second criteria field in that it pulls all future dates greater then the date set in the criteria field. My formula is {=ArrayFormula(INDEX('Traffic Discrepancy Log'!$A1:$I,MATCH(1,('Traffic Discrepancy Log'!B:B=C$2) * ('Traffic Discrepancy Log'!D:D=C$1),0),0))}

    2021-06-01_11-05-23.png2021-06-01_11-05-55.png

  2. #2
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    171

    Re: Google sheets pulling more data than the criteria which is set.

    Hi GerryFL

    Any chance you could share a copy of your sheet with permissions set for “Anyone with link can EDIT”? It makes things a lot easier to troubleshoot.

  3. #3
    Registered User
    Join Date
    06-01-2021
    Location
    Fort Myers, FL
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Google sheets pulling more data than the criteria which is set.

    I changed my formula to the following =filter('Traffic Discrepancy Log'!A1:I130000,'Traffic Discrepancy Log'!B:B=$C$2,'Traffic Discrepancy Log'!D:D=C1).

    After making the formula change I was able to have the report pull just those records which met the criteria.

+ 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. Google Sheets: Lookup and Merge Data Based on Multiple Criteria
    By Manikandan Arumugam in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 3
    Last Post: 01-28-2021, 04:06 AM
  2. Average n top values with data chosen by mutliple criteria - Google sheets
    By david.gnaniah in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 01-28-2020, 07:53 PM
  3. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  4. Pulling Data from a sheet based on criteria on both those sheets
    By mlbdc2012 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-06-2015, 07:46 PM
  5. Pulling Data from a sheet based on criteria on both those sheets
    By mlbdc2012 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-06-2015, 10:39 AM
  6. [SOLVED] Pulling Data from two separate sheets based on criteria on both those sheets
    By mlbdc2012 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2015, 03:57 PM
  7. [SOLVED] search for criteria on 3 different sheets and pulling row of data
    By blakehop in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-10-2014, 12:40 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