Google Sheets QUERY Function Tutorial - Advanced Contains with Matches & Regular Expression - Part 2

Поділитися
Вставка
  • Опубліковано 13 лип 2017
  • Video tutorial series about QUERY function in Google Sheets.
    In this tutorial we'll cover how to use QUERY function in Google Sheets to pull filtered results out of your main dataset using regular expression.
    Google Sheets
    www.google.com/sheets/about/
    Website:
    www.chicagocomputerclasses.com/

КОМЕНТАРІ • 44

  • @ondrobaco
    @ondrobaco 5 років тому +2

    ahhh thank you, you saved me so much work. Blessings on you and your extended family!

  • @benedictpaulc
    @benedictpaulc 6 років тому +1

    You are a great teacher.

  • @officeoffamilyandcommunity2918
    @officeoffamilyandcommunity2918 7 років тому +1

    Thank You +Learn Google Spreadsheets for this series!

  • @mushtaqmadani9100
    @mushtaqmadani9100 6 років тому +1

    Very Nice Thank you sir.

  • @silvestrecamposano6317
    @silvestrecamposano6317 8 місяців тому +1

    Thank you....❤

  • @samandarqahhorov1573
    @samandarqahhorov1573 4 місяці тому +1

    good

  • @TheKeule33
    @TheKeule33 6 років тому

    Fuck me! That was exactly what i was looking for. I wrote part of this function in GAS.. damn... well i actually learned some JS along the way...
    Great videos, good quality, keep it up!

  • @cuneiformscript2665
    @cuneiformscript2665 4 роки тому

    🙏🏻

  • @zr2ee1
    @zr2ee1 7 років тому +1

    great videos, been interested in learning more about query functions for my sheets, specifically referencing a cell from a second sheet as part of the filter inside the query like this: =query(INPUT!A2:C, "select * where C contains" Timesheet!B7, 0) curious if you had any advice, tried a couple of things, do i need to wrap it in another query?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  7 років тому +2

      try "select * where C contains '" & Timesheet!B7 & "'"

    • @zr2ee1
      @zr2ee1 7 років тому

      Learn Google Spreadsheets it's always the simple things, works great! Thank you

  • @amolparbat6428
    @amolparbat6428 3 роки тому

    Had a quick question on Query ....I have data in which one column has number format as " AB12234" when I use query function it's gives put as " " can you please provide resolution for this .... thank you

  • @joanaamorfajardo3056
    @joanaamorfajardo3056 3 місяці тому

    how do you transfer a row of data to another tab based on a dropdown selection?

  • @mikemccartneyable
    @mikemccartneyable 6 років тому

    This is a great video and I've been playing around with this to great effect. However I have set myself a problem that I can't work out and wonder if you know the solution or might make a tutorial of it?
    PROBLEM:
    Imagine you have a very messy web-scraped list of data in 100 rows of Column A where say the first 10 rows are junk data and the 11th line starts with the data you want "GoodDataStartsHere". How do you get the regex inside a query to identify the start of the good data and ignore any data before it? Similarly if there is junk data at the end of a list how to identify the last good bit of data "GoodDataEndsHere" and ignore anything after it? Appreciate any responses to this.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  6 років тому

      Depends on your data. What's in junk data that's not in good data?

  • @freddievorster3878
    @freddievorster3878 3 роки тому

    How do I "select" only columns that contain text and not empty containers?

  • @yogeshkumar7749
    @yogeshkumar7749 3 місяці тому

    can you provide the data in which you are teaching. it will be a great help for pracitce.

  • @jpedroat
    @jpedroat 2 роки тому

    How can i use NOT LIKE? Have a solution for that? Because doesn't work not like in query... have any solution for that?

  • @benwilliams7527
    @benwilliams7527 5 років тому

    Great videos! Learning a lot! How can I run a query such as =QUERY(E22:I42,"select E,F,G where E < $K$15",0)? Can you reference the value of another cell in the query? If so, can you direct me to the video that explains this? Thanks! ~Ben

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  5 років тому +1

      =QUERY(E22:I42,"select E,F,G where E < " & $K$15,0)

  • @zydusbangalorecfa7317
    @zydusbangalorecfa7317 5 років тому +1

    How to write if there are more than 2 output of "LIKE" is needed.i.e you had written select e,f,d,h,c where c like %western%...What if I want LIKE %western% and %eastern%

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  5 років тому +1

      select e,f,d,h,c where c like %western% or c like %eastern%

  • @ebooksera3521
    @ebooksera3521 6 років тому

    Hi Sir! Your tutorials are perfect for my need. By the way Sir, I have a problem, and I hope for your kind reply.
    My selection is below.
    select A, B, C, D, E, F, G WHERE G matches '.*[sS]ample [oO]only'
    Please teach me how can I add ALL CAPSLOCK words? Because I could only see Big and Small letters..
    I really need your kind help Sir.
    Thank you so much for helping many people like me.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  6 років тому

      Please provide a sample data with results needed out of the sample, otherwise it's difficult to understand what you need,

    • @ebooksera3521
      @ebooksera3521 6 років тому

      Wow! Thank you so much for quick reply Sir. Please see the Gsheet URL below. I hope to include also ALL CAPS-LOCK words in Column G.
      docs.google.com/spreadsheets/d/1MW-wH8FQ9e4fwc5vhJSrExZveveSslXEXgXM6mF9S30/edit?usp=sharing
      Please HELP me Sir, what formula is perfect for my need.
      Thank you so much for your great help in advance!

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  6 років тому

      select A, B, C, D, E, F, G WHERE LOWER(G) = 'sample only'

    • @ebooksera3521
      @ebooksera3521 6 років тому

      WOW!!! PERFECT!!! Sir, Thank you very, very much from the bottom of my heart! Everything is perfect now ❤ ❤ ❤ GOD bless you with good health and great protection always!

  • @AnyPossibleRandomThing
    @AnyPossibleRandomThing 2 роки тому

    What if I like the query to match a specifc data sets from a different sheet?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 роки тому +1

      I have a video in thee series that covers how to do SQL IN type of statements. I believe that should help.

  • @BF_official_my
    @BF_official_my 4 роки тому

    Can we do exclude for text in query functions? Say for example i want to query all states Except CA

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 роки тому

      WHERE D != 'CA'

    • @BF_official_my
      @BF_official_my 4 роки тому

      @@ExcelGoogleSheets Thank you so much! Btw how do I remove GRAND TOTAL from the pivot table?

    • @BF_official_my
      @BF_official_my 4 роки тому

      Its ok I found out i just need to uncheck the text box that 'shows total'

  • @lazalazarevic6192
    @lazalazarevic6192 6 років тому

    I am trying to match 'Ma'an' but it is not working :( Any tips on how to fix this?

    • @TheKeule33
      @TheKeule33 6 років тому

      Laza Lazarevic try to use double quotes. It prolly doesnt work cause it reads it as 'Man' and the rest is just error.
      Javascript has a way to allow you to use quotes in strings by writing a / in front of it. Search or try smtg similar.

  • @armenhayrapetyan9137
    @armenhayrapetyan9137 3 роки тому

    hi guys , who can share with me in Transactions data file?

  • @fantouch
    @fantouch 4 роки тому

    I have been having problems with the query, Because I get the data from a Software and then I pass the data to Google sheets in the same column I have Text and Numbers, the query just pass the Number values and the Text values left them blank. why is that? how can I Fixt that without having to do format?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 роки тому

      QUERY doesn't support mixed data types in a column. IF you want to keep mixed types use FILTER.

    • @fantouch
      @fantouch 4 роки тому

      @@ExcelGoogleSheets Is there a way to clean up the data, like if I want that Col 2 is all text..... the values in Col2 should be Text but GoogleSheets take some as numbers and that break all my plan

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 роки тому +1

      You should be able to do some sort of array {A1:A,TEXT(B1:B,"@"),C1:C}