Google Sheets QUERY Function Tutorial - SELECT, WHERE, LIKE, AND, OR, LIMIT statements - Part 1

Поделиться
HTML-код
  • Опубликовано: 30 июн 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. We'll use SELECT, WHERE, LIKE, AND, OR and LIMIT statements to filter data by number value, text & text that contains a certain string in it.
    Google Sheets
    www.google.com/sheets/about/
    Website:
    www.chicagocomputerclasses.com/

Комментарии • 349

  • @mercadoboricua6154
    @mercadoboricua6154 3 года назад +4

    EXCELLENT VIDEO THIS IS EXACTLY WHAT I NEED!!!
    Now I understand more the power of GSheets,
    I enjoy 19:29 minutes, super simple and straight forward. Super valuable, I love it!
    This is one of this video that I saved in my own private playlist.
    Query functions are amazing!
    Thanks!

  • @sethhill7573
    @sethhill7573 3 года назад +9

    Amazing! I just built a query from client data to show the client, their preferences, and plan type for clients who are either recent starts or restarts so my team can give extra attention to our newbies. Thank you!

  • @ALLGAMELOEBA
    @ALLGAMELOEBA 4 года назад +1

    After 2 weeks of searching, this is exactly what I wanted! Thanks so much!!!

  • @jordansmith1045
    @jordansmith1045 4 года назад

    I've watched hours and hours of your videos. Thanks for sharing!

  • @rotrose7531
    @rotrose7531 5 лет назад +2

    I love your tutorial very much, you are so good at it, and always trying something no one else ever thought of. Very stimulating experience. Thank you

    • @nyinyilin2380
      @nyinyilin2380 4 года назад

      me too. Thanks U so much for sharing

  • @alexandremoraesmatos
    @alexandremoraesmatos 7 лет назад +2

    Your videos are great! I'm learning so much. Thanks a lot.

  • @hirenkakkad6855
    @hirenkakkad6855 5 лет назад +2

    I really appreciate all of your videos. I learn lot many things from it. Wherever I stuck, I refer your videos. Please keep posting this kind of knowledge.
    Thanks

    • @stmsolution
      @stmsolution 4 года назад

      If you want to watch more video about Google sheets, look on my channel STM Solution, i have many videos what you will like.

  • @67Keldar
    @67Keldar 6 лет назад +1

    Awesome.... very clearly presented.... had no idea this functionality was even available in Google Sheets.
    Many Thanks

  • @adaml223
    @adaml223 6 лет назад +1

    Wow, this is game changing for me. Love the video. Thank you.

  • @StefanoVerugi
    @StefanoVerugi 7 лет назад +23

    thanks, best video series on this topic so far, very helpful

  • @jj342
    @jj342 2 года назад +4

    Your videos are absolutely amazing. They have saved me so much time and aggravation because you explain it so clearly!

    • @hyper-focus1693
      @hyper-focus1693 Год назад

      I completely agree. I'm so grateful for that guy. He made everything I was looking for easy to understand. Also, super creative in combining functions, scripts, & the likes.

  • @the_feature_selector859
    @the_feature_selector859 6 лет назад +2

    Good video! I usually open the same spreadsheet in two browser tabs as easier to switch between (shift-tab), rather than using Google sheets tabs.

  • @ERGODINHO
    @ERGODINHO 5 лет назад +1

    +- 13:00 limit results to... Very helpful!!! Thanks

  • @JanJanuszNosacz
    @JanJanuszNosacz 4 года назад +1

    Awesome tutorial. Helped me understand Queries, thank you!

  • @vaibhavoswal5590
    @vaibhavoswal5590 4 года назад +2

    Love your Content; You're just amazing
    Keep up the good work

  • @dinoo82
    @dinoo82 3 года назад

    GREAT TUTORIAL! Super helpful! Easy to follow and is exactly what I was looking for.

  • @TeSageDS
    @TeSageDS 6 лет назад +2

    Thank you so much for detailed tutorial video. You saved my time. I will tweet about it

  • @ericlengefeld8442
    @ericlengefeld8442 7 лет назад +1

    Looking forward to part 2. Thank you.

  • @alansavage3549
    @alansavage3549 7 лет назад

    Great tutorial. Going help me a lot making good use of google sheets in my work flow. Thanks.

  • @muhannadothman2395
    @muhannadothman2395 6 лет назад +2

    Thanks a lot, very very helpful and comprehensive video for relevant topic

  • @hoiyinwan8233
    @hoiyinwan8233 4 года назад +2

    Thank you, these videos are so useful! ❤️💖

  • @taimurahmad1455
    @taimurahmad1455 3 года назад

    Excellent Work. You made my system way better with this Tutorial. Best of Luck

  • @dreamwalker9283
    @dreamwalker9283 6 лет назад

    I want you to know that you are the best at what you do!

  • @HeliosZA
    @HeliosZA Год назад +21

    Just a suggestion. Maybe share your data sheet in the about section so that people can follow along using the queries.
    Great video!

  • @walbervalente5581
    @walbervalente5581 4 года назад

    Powerful tools! Thank you so much, bro.

  • @carlosanaya2889
    @carlosanaya2889 4 года назад

    Excellent way to explain things. You made my day..Wish you the best.

  • @claystudiofx
    @claystudiofx 4 года назад

    One of the best channel for learning google sheet.

  • @juantelle1
    @juantelle1 3 года назад +5

    THANK YOUUUUUUUUUUUU THIS IS EXACTLY WHAT I WAS LOOKING FOR

  • @InspiringThings101
    @InspiringThings101 2 года назад +1

    Always a great teacher!!

  • @daytodatainc.2520
    @daytodatainc.2520 6 лет назад +1

    Another great video! Thank you

  • @vincentjbr
    @vincentjbr 3 года назад +1

    these explanations are very clear, thank you very much

  • @fabiomazzei9871
    @fabiomazzei9871 4 года назад

    Muito bom! Parabens pelo conteudo.
    Very good video! Very helpful. Congrats for share this content.

  • @jhunmangalino1349
    @jhunmangalino1349 6 лет назад

    Thanks for this video... VERY VERY VERY HELPFUL !!!

  • @michaeloliveras7469
    @michaeloliveras7469 6 лет назад +2

    Thank you, it make my work a lot easier

  • @rajkumarjohi2776
    @rajkumarjohi2776 6 лет назад

    very clear and concise, thankyou

  • @nguyenduclong93
    @nguyenduclong93 4 года назад

    Your videos are amazing and they helped me a lot. Thank you so much!!!

  • @noodle9245
    @noodle9245 4 года назад +1

    Thanks for the video. You saved me lots of trouble.

  • @AnyPossibleRandomThing
    @AnyPossibleRandomThing 2 года назад

    I'm binging your vidoes right now. Very helpful and easy to understand!

  • @eugenesoft856
    @eugenesoft856 6 лет назад

    Extremely Excellent !

  • @InspiringThings101
    @InspiringThings101 3 года назад +2

    YOU SIR, Are a Genius!!!!!
    Thank You!

  • @prameshkumar3364
    @prameshkumar3364 3 года назад +2

    This is the best video for Query Function. But it would be great if u provide the google sheet the same for practice.

  • @adydick
    @adydick 4 года назад +1

    Great video, thank you!

  • @officeoffamilyandcommunity2918
    @officeoffamilyandcommunity2918 7 лет назад

    Thank You +Learn Google Spreadsheets for this series!

  • @CroresPlanners
    @CroresPlanners Год назад

    Thank you so much for the video. Its so useful to us.

  • @2000sunsunny
    @2000sunsunny Год назад

    so clear so net . thank you for this post

  • @divyavanibodakunta1860
    @divyavanibodakunta1860 3 года назад +1

    Thank you so much... your videos are very helpful to me.. I learnt alot..

  • @hbasumatary1995
    @hbasumatary1995 4 года назад +1

    Thank you so much for the lesson

  • @markmccoy2856
    @markmccoy2856 4 года назад

    GREAT DESCRIPTIONS!

  • @chrislopez9665
    @chrislopez9665 3 года назад +1

    Thank you so much great video!

  • @Wizardofoz1981
    @Wizardofoz1981 4 года назад +1

    Thank you.
    19:29 I relly need this

  • @yuyang0729
    @yuyang0729 6 лет назад

    Thanks. Learn a lot.

  • @davidrajkumar4896
    @davidrajkumar4896 5 лет назад +1

    Is it possible to create hyperlinks to the query results that takes me back to the original location of certain data.

  • @edmarrobertoprandini6062
    @edmarrobertoprandini6062 6 лет назад

    Very good your explanation. Thanks.
    But, and if I need include one calculated field like after select two fields (string, number) then I need calculate the % of each numbered register by sum of results? (select A,B where "one condition" and include field (as '%') using B/sum(B))
    How can I do it?

  • @feeldazzling272
    @feeldazzling272 2 года назад

    Thank you soooooo much, life saver :)

  • @vernoncheung685
    @vernoncheung685 10 месяцев назад

    I couldn't figure out why my reference dates were not pulling through correctly and I just forgot to add the parentheses 🤦🤦. You sir are a life saver🤗

  • @Sulaimangalib
    @Sulaimangalib 4 года назад

    You are the best!!!

  • @osherezra131
    @osherezra131 6 лет назад

    hey man, great stuff I'm trying to find an answer for and issue: how can you make updates on the referenced table (table with the query) without breaking it?
    or different approach to make a separate column outside of the query, but to keep inline with the other rows. because currently when the query is updated the rows don't match on the new column that been made hope I'm clear cheers :)

  • @eunicefua2559
    @eunicefua2559 6 лет назад +1

    This is a very helpful video indeed. Is there a limit with how many times I can use the command "AND"?

  • @alistairschwab1363
    @alistairschwab1363 6 лет назад

    finally gets started one minute into video

  • @Gamesofmach
    @Gamesofmach 7 лет назад

    Hello there
    I have formula in on column. and want to aplyy it to all other neighborhood columns. how i can do it?? by clicking and moving it to all othersdoesnt work because it changes cells in formula in wrong way

  • @gabbyuym1
    @gabbyuym1 4 года назад

    Great tutorial. In this video, you have a 2nd spreadsheet called "Query Language Reference". How do you generate that file. It would be very handy to have that as a quick reference as you have done. Thanks.

  • @walterpaiva719
    @walterpaiva719 7 лет назад +1

    Really good video

  • @ormzkie03
    @ormzkie03 6 лет назад

    very helpful thanks for the tuts

  • @MuhammadIbrahim-zc1vx
    @MuhammadIbrahim-zc1vx 5 лет назад

    You used YEAR function to extract corresponding year from Column A. If we don't do that and manually type year as text, the query function recognizes the year data as text and we can use single ' ' to define the text after where statement? (5:40)

  • @IvanOung
    @IvanOung 7 лет назад

    Thank you so much!

  • @netboy1102
    @netboy1102 6 лет назад

    Helps alot, thanx

  • @kennywiseman3932
    @kennywiseman3932 5 лет назад +1

    how can i select mismatch between two columns? for example how do i get all data in column A that is not found in column B?

  • @rdavidmurphy1
    @rdavidmurphy1 8 месяцев назад

    Good query explanation!

  • @md.abdulmalek7047
    @md.abdulmalek7047 6 лет назад

    very helpful tutorials

  • @mikecarney8023
    @mikecarney8023 6 лет назад

    Is there a way to label columns that are aggregated using "Label" in the query statement?

  • @nomadicperceptions
    @nomadicperceptions Год назад

    Great video, as always! I have a problem, I don't understand the difference between query and array, to me looks like you can achieve the same results using one or another. I'm sure I'm missing something though...😅 Thanks for the great resources!

  • @user-xx7pm6dp1i
    @user-xx7pm6dp1i 2 года назад

    Крутое видео! Cool tutorial

  • @leandrobaptista6860
    @leandrobaptista6860 6 лет назад +1

    Excellente! Tks

  • @armandazharan5739
    @armandazharan5739 2 года назад +1

    Thanks man!

  • @noliremacha1542
    @noliremacha1542 4 года назад +5

    thank you very much, I only have one inquiry can the query function be use when the data is continuously updating, I mean i have a data entry and it keeps populating everytime. thanks again

    • @rashidanwar7831
      @rashidanwar7831 4 года назад +16

      Yes you can Noli, but just keep the range open like if you are querying some range , for example instead of =QUERY(sheet1!A1:G40, use =QUERY(sheet1!A1:G So don't mention the row number and just keep the last column name. This will make your query function dynamic.

  • @sharif7351
    @sharif7351 Год назад

    Excellent!

  • @solidclouds_starborne
    @solidclouds_starborne 6 лет назад +2

    CTRL SHIFT PgUp/PgDown to switch sheet tabs btw. Great video!

  • @rachelperella2747
    @rachelperella2747 3 года назад

    How do you do a query like you have shown here that puts data in all columns based on one column criteria (e.g. name)? For example the several people entered the data and you just want to pull all of their data into a new tab.

  • @davideluwah1730
    @davideluwah1730 2 года назад

    Your videos are amazing and they helped me a lot. please can we get a copy of the excel sheet for practice? Thank you so much!!

  • @OCDrBill
    @OCDrBill 6 лет назад

    how could you use the QUERY function to return on this data only the top sales reps for each state?

  • @deepakrawat625
    @deepakrawat625 6 лет назад

    Sir i do have a question if i choose headers as 1 or -1 i get the same answer so what’s difference between that

  • @pichit.raetai
    @pichit.raetai 5 лет назад

    Wow thank you very much

  • @direccionnacionaldeeducaci1056
    @direccionnacionaldeeducaci1056 7 лет назад

    Hi, how are you, greetings from Panama?
    I was looking for the second part of your tutorial, since I see that you have other tabs with the names of summary and subtotal. I
    am carrying a database of participants in seminars and I need to do a
    query where they can add columns of seminar hours for a same personal
    identity number.
    I notice that you make
    several querys but repeat the marks several times, I would like to know
    if what I am trying to explain in the paragraph above is possible or if
    there is a second part of your tutorial.
    Thank you.

  • @AnandSingh-zq9yj
    @AnandSingh-zq9yj 5 лет назад

    Hello
    I have google sheet with some data in multiple column in my data there are some blank cell. Now I want to use query function for combine all column . When I am trying to use this function this also add blank cells. Please tell me how i can use this for filter blank..

  • @senthilkumarc320
    @senthilkumarc320 3 года назад

    If i make a color to particular cell, i need that color has to change/update on compiled sheet. Please guide

  • @rennongz1039
    @rennongz1039 6 лет назад

    How to use query when the data is alphanumeric. I tried using query and importrange but would not recognize alphanumeric character

  • @amolparbat6428
    @amolparbat6428 3 года назад

    Thank You for Sharing...had quick question in my data one column has number format as "R1890" when I use query function it returns output as " " ,can you please help me how to resolve this issue.

  • @matheusqueiroz5910
    @matheusqueiroz5910 6 лет назад +3

    No doubt, the best videos on Google Spreadsheets!!!
    Thanks for the material!
    Is there any difference instead of using ORDER BY in the query function, use the SORT( query(...) ,1,true ) ?
    Thanks!

  • @electricaldepartment3464
    @electricaldepartment3464 4 года назад

    Hi thanks for your video.
    How i can use WHERE function to select multiple criteria to display the whole row data. Eg/ T32 or M33 is my primary key.
    Please assist and thanks

  • @ubfreeh
    @ubfreeh 5 лет назад

    How do you LIMIT according to date If I want to return only those that happened after such date and year?

  • @BelmontFPV
    @BelmontFPV 4 года назад

    Can you create an example in-which the where clause is using a text value to search for. If I do this, I only get 1 match returned. But if I hard code the where clause i.e. where C = 'Test1' I get all the rows where C = Test1. If i use something like this where C = '&B3&' where B3 has the value Test1 I only get one row of data returned.

  • @josephmuscolino905
    @josephmuscolino905 6 лет назад +3

    All your videos are incredibly helpful, so thanks for all the work you put into it. However, regarding your examples of utilizing the QUERY function, I'm not sure how this approach is any different than using a Pivot Table. Or, perhaps that's not the point of this video, and you're simply showing people a different approach to filtering data. Either way, I found it insightful, empowering, and quite practical. Just wondering, though: Would there be limitations to accomplishing the same type/degree of filtering by using a Pivot Table instead? Keep up the outstanding work, and thank again!

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  6 лет назад

      I don't think it's the same. You can do Pivot Tables using QUERY function, but you can't do QUERY function with Pivot Table. That being said, if you were able to solve your problem with Pivot Table and it works, then you should keep using it.

  • @murbacchiu
    @murbacchiu 6 лет назад

    First of all Happy new 2018 and congrats for your amazing job . Contents you are sharing are amazing. I have one question. Is it possible to merge two different google sheets according one specific criteria? For example I have one module collecting name of project and another module collecting other information with the same name of project. I would like to create with query function a new sheets with using Name of Project as criteria of sorting. Thanks

  • @jasondahl3167
    @jasondahl3167 4 года назад

    I'm looking for guidance on how to pull out the following
    I want to "select A,H,I,J,K,L,M,N,O where G contains 'HDW'" but I also want to SUM(M) and GROUP by L
    If I write as follows
    Select H,I,J,K,L, SUM(M) where G contains 'HDW' group by L,K,J,I,H
    It doesn't do the group by correctly. I end up with duplicates of some of the items still. Any help would be great.

  • @VikasMlt
    @VikasMlt 4 года назад

    ONE QUESTION
    Along with =, >, LIKE, can 'not equal to' also be used?

  • @misssomod194
    @misssomod194 2 года назад

    Hi, could you help me with this,
    I have 4 columns with checkboxes "true or false values", and a columns with text,
    I want to use Query to count true values on all 4 columns and group them in text column.

  • @sweetmask1690
    @sweetmask1690 3 месяца назад

    Hi sir can we put formula in sheet title? From cell to sheet title in order to edit easily the names of a plenty sheet at a time

  • @j53iliff2
    @j53iliff2 6 лет назад

    Cool video

  • @essamkhalifa4375
    @essamkhalifa4375 Год назад

    Excellent Thanks a lot

  • @alejandrodevalle
    @alejandrodevalle 5 лет назад

    Hi! thanks for this tutorial!. Inside the function, you're writing the statement in another cell. Is it possible to write the data source in another cell? (In this other cell I'm writing the tab where the query supose to search for data)

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  5 лет назад +1

      Yes. You will need to use INDIRECT function and CONCATENATE.