Google Sheets - Search, QUERY function

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ธ.ค. 2024

ความคิดเห็น • 268

  • @ParthaDas-wy6ps
    @ParthaDas-wy6ps 5 ปีที่แล้ว +13

    I've been doing this search problem for two days now, and finally, after watching your video, I found a solution to my problem.Thank You Sir.

  • @lauracru
    @lauracru ปีที่แล้ว

    Your help has been invaluable. Thank you

  • @malikastar9265
    @malikastar9265 11 หลายเดือนก่อน

    Your method of teaching makes everything look easy, you're my most important resource of learning google sheets, thank you so much !

  • @dfilliernl
    @dfilliernl 4 ปีที่แล้ว +5

    Fantastic tutorial ... you just saved me and my team a ~huge~ amount of time and effort.
    Thanks for taking the time to produce and share this tutorial.

  • @angrybobr365
    @angrybobr365 6 หลายเดือนก่อน

    At the beginning of the video, I was looking at it and thinking: "Oh...boring, every newbie knows that"... but later, close to the end... the only words in my head were: "What a tricky mo***fu***, u got me!"
    Big thanx for that tutorial.

  • @uncertainAuthor
    @uncertainAuthor 4 ปีที่แล้ว +4

    This was exactly what I was looking for to try and put a search function into a spreadsheet I've been working on! Thank you so much for sharing this easy to follow and informative tutorial ♥

  • @Azzz01s
    @Azzz01s 4 ปีที่แล้ว +6

    Love it how implanted the split them join to create such a loop! Amazing idea, more to it I've adjusted the AND to OR too show all data in single words, thanks a lot, gonna be watching more and more of your vids to learm more too, never thought SQL could be such fun and amazing language and excitingly challenging to use to help me out big time with my needs 👍🏻👍🏻👍🏻👍🏻👍🏻

    • @Azzz01s
      @Azzz01s 4 ปีที่แล้ว +2

      @Ömer Faruk Akkaya @21:12 see the AND after JOIN! ... change the AND to be OR, so by this the query will turn the results to anything that contains any of the words/letters you put in your search criteria. if you put DRESS BABY it will show you any results containing ANY of these two words and not necessarily containing both, hope it cleared for you ;)

  • @arnellcarmichael635
    @arnellcarmichael635 2 ปีที่แล้ว +4

    Absolutely brilliant tutorial my guy! Very easy to follow, and educational! Thanks for putting this video together, and it definitely helped me save time searching data within my CRM! Best - Arnell

  • @pramodnair7697
    @pramodnair7697 4 ปีที่แล้ว +1

    VERY VERY USEFUL VIDEO, THANKS

  • @nikhilgala25
    @nikhilgala25 3 ปีที่แล้ว

    very much informative. ecplained so well.nice tutorial. thanks

  • @bobykumar3960
    @bobykumar3960 3 ปีที่แล้ว +7

    again.... you are "THE" SOLUTION....

  • @tahanawfal
    @tahanawfal 4 ปีที่แล้ว +11

    to make it search for multi columns:
    _=QUERY(data,"SELECT * WHERE D LIKE ""%"&B2&"%"" AND (C LIKE ""%"&B3&"%"" OR B LIKE ""%"&B3&"%"") ",1)_
    notice that AND & OR are logic gates and you should change between them if there is no result

  • @arielzabatecuizon5147
    @arielzabatecuizon5147 3 ปีที่แล้ว

    Thanks so much for this very instructive video..more power to help us newbie out here!!

  • @quangminhdang4404
    @quangminhdang4404 2 ปีที่แล้ว

    the function query is good, I like it! and thank you so much for sharing this easy function.

  • @EduardoBicelisGarcia
    @EduardoBicelisGarcia 4 ปีที่แล้ว

    MIN 00:00 SEARCH ONE; MIN 07:49 SEARCH CONTAINS; MIN 10:21 SEARCH CONTAINS WORDS; MIN 14:03 SEARCH COTAINS multiple WORDS; min

  • @andresleon8076
    @andresleon8076 4 ปีที่แล้ว +1

    THANKS! I've been through many of your videos looking for something like this.. Really Helpful

  • @DuaaAbudra
    @DuaaAbudra 2 ปีที่แล้ว

    Very informative
    Thank you

  • @m.kamranbaloch6214
    @m.kamranbaloch6214 3 ปีที่แล้ว

    Perfect video i have ever seen
    Thankyou so much

  • @btrzanne
    @btrzanne 4 ปีที่แล้ว +1

    very helpful and informative! thank you so much!!!

  • @jerikhodejesus8570
    @jerikhodejesus8570 3 ปีที่แล้ว +1

    thank you so much for sharing. I just want to ask to you if what is your advise to control the simultaneous flashing of result from the query using the QUERY ONE function when the google sheet users had type their own searching data in the search box at the same time? Thank you very much

  • @jonathanprunier2368
    @jonathanprunier2368 4 ปีที่แล้ว +1

    Very useful ! Thanks a lot you are very competent

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว +1

      Glad it was helpful!

    • @9394sing
      @9394sing 4 ปีที่แล้ว

      Learn Google Spreadsheets thanks a lot, great video and very useful for my work

  • @amoeudaemonic
    @amoeudaemonic 2 ปีที่แล้ว

    Thank you for the tutorial! Easy to follow, but I also learned some functions of formulas as well! We created a searchable database of flavors and nicotine strengths for our vape store with this. You've given my workers a nice cheat sheet for sure! Thanks again! 🙂

  • @Allen-L-Canada
    @Allen-L-Canada 3 ปีที่แล้ว +1

    Great! In a drop-down can you allow multiple selections instead of only one?

  • @natew
    @natew 2 ปีที่แล้ว

    Thank you for all your hard work generating this great content!

  • @shammetje
    @shammetje 2 ปีที่แล้ว

    this helped me find the solution in the first few seconds of the video.
    thanks

  • @HarrisonBennett
    @HarrisonBennett 3 ปีที่แล้ว +1

    Exactly what I was looking for! Thanks man

  • @ВикторКурильчик-х2ю
    @ВикторКурильчик-х2ю 5 ปีที่แล้ว

    Thanks for clear explanation. You are wonderful tutor.

  • @myhelpdesk6414
    @myhelpdesk6414 5 ปีที่แล้ว

    really nice tutorial sir. you are great sir thanks..

  • @SiamLiaqat
    @SiamLiaqat 2 ปีที่แล้ว

    Very Nice 👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍

  • @sergiomira741
    @sergiomira741 6 หลายเดือนก่อน

    This is spectacular, simply Amazing!!!!!!! Thank you!!!!!
    Greetings from Colombia friend

  • @chhansambath5244
    @chhansambath5244 2 ปีที่แล้ว +1

    hi! in this case we can make the same cell to search in more in column A,B ,c...? ( 1 single cell can search by name, phone number or date)

  • @carlosharper5046
    @carlosharper5046 4 ปีที่แล้ว +3

    What would the query be to search multiple tabs/sheets?

  • @annekristelmangarin3196
    @annekristelmangarin3196 4 ปีที่แล้ว +2

    Can I do the search on the whole array instead of just one column?

  • @mayuraakhade7275
    @mayuraakhade7275 2 ปีที่แล้ว

    This was exactly what I was looking for Thank you for share this tutorial

  • @rachitm109
    @rachitm109 3 ปีที่แล้ว

    Love it! Thanks bro! This is so good!

  • @christelquimbo1995
    @christelquimbo1995 2 ปีที่แล้ว

    Thank you so much for this tutorial.

  • @mani2care
    @mani2care 5 ปีที่แล้ว +2

    Really nice for me to get it resolved my issue but same thing how can i do it for multiple sheet to fetch the same result

  • @shadabchaudhary5632
    @shadabchaudhary5632 5 ปีที่แล้ว

    Good job 👍

  • @edmarcabilingdolar9978
    @edmarcabilingdolar9978 ปีที่แล้ว

    Hey there, can i ask question? About your video? Is it possible that if i can and search function on specific sheet it can able to update the data also ?

  • @JaredPlane
    @JaredPlane 5 ปีที่แล้ว

    In the "Search Contains Words" when there's nothing in the search field it comes up with #VALUE!. How do I get it to display everything like at 9:20?

  • @paulsantosestrella6313
    @paulsantosestrella6313 2 ปีที่แล้ว

    HI at timeline 3:06 how do you make this query formula case insensitive? I type a lowercase but the data source are all caps so it did not show anything. when I type all uppercase, then I will have a result

  • @monicamusial4665
    @monicamusial4665 4 ปีที่แล้ว +1

    This is a great tool and you explained it very well! Thank you!! I just have a question. Is there a way for the search results to be blank when the search drop-down is empty?

    • @BlueStarsConsulting
      @BlueStarsConsulting 3 ปีที่แล้ว

      Yeah. I have the same question. How can you have all the options show when the field is blank?

  • @deafmultilingual8527
    @deafmultilingual8527 4 ปีที่แล้ว +1

    how do you also pull through the hyperlink in the data sheet as well? So say your skirts has a hyperlink to open up a video and you need this hyperlink brought through so that you could click skirt and watch the video?

  • @sonhale2522
    @sonhale2522 หลายเดือนก่อน

    13:14 nice tuba sound ❤️

  • @selvarajandiappa3143
    @selvarajandiappa3143 3 ปีที่แล้ว

    Thanks, very helpful. Following most of your tutoring.. Just want to find out why after search result when you edit any data, all search data disappears and the formula reruns errer

  • @realitysoul7444
    @realitysoul7444 4 ปีที่แล้ว +1

    Is there a way to have the query function, pull from two or even three different columns in seperate search cells? So example I want to search the Location Column (E column), The Job Column (F Column), the Availability Column (G column), and I want each Search (location, Job, Availability) to be in their own separate search cells as drop down lists. So in Cell A5 is drop down search function for Location, in B5 is Drop down Search Function for Job, and C5 is Drop Down Search for Availability. I want to give the searcher several options on how to find the Artists that fits either one or search parameters.

    • @marcobanderas3306
      @marcobanderas3306 3 ปีที่แล้ว

      You can try something like this (where A1=1st dropdown and A2=2nd dropdown). QUERY('Raw Data'!A1:E, "select * Where A is not null "&"IF(A1="AllResults",""," AND Lower(A) = Lower('"&A1&"') ")&IF(A2="AllResults",""," AND Lower(B) = Lower('"&A2&"')"),1,)

    • @marcobanderas3306
      @marcobanderas3306 3 ปีที่แล้ว +1

      Found Simpler solution based on AND Statements =QUERY(Your Data Range,"SELECT * WHERE E LIKE ""%"&A1&"%"" AND F LIKE ""%"&A2&"%"" AND G LIKE ""%"&A3&"%""",1). Also, you can supplement those ANDs with ORs so that you don't get blanks/errors.

    • @rosabelguiang4187
      @rosabelguiang4187 3 ปีที่แล้ว

      @@marcobanderas3306 Hello, can I ask you questions?

  • @adindasyarah1163
    @adindasyarah1163 4 ปีที่แล้ว +2

    I Love You So Much

  • @pooranikannan7634
    @pooranikannan7634 2 ปีที่แล้ว

    Thank you soo much! You are a life saver :)

  • @aakritimoda4402
    @aakritimoda4402 2 ปีที่แล้ว +2

    Your video is excellent but can you please share the sample file too so that it gets easier to along ?

    • @judeodele6450
      @judeodele6450 ปีที่แล้ว

      =QUERY(data,"SELECT * WHERE 1=1 “&”AND LOWER(E)LIKE LOWER(“”%” &JOIN(“%””) AND LOWER(E)LIKE LOWER(“”%”, SPLIT(B1,””))&”%“”)”,1)

  • @CloudPower
    @CloudPower 4 ปีที่แล้ว

    Excellent ! Very useful.

  • @user-zp2if5yb5o
    @user-zp2if5yb5o ปีที่แล้ว

    Hello, this was very helpful but I was wondering how to do something. Is there a way to search for things in multiple columns at once?

  • @kulvinder8211
    @kulvinder8211 3 ปีที่แล้ว

    Sir U are great person

  • @duzshootingrange
    @duzshootingrange 3 ปีที่แล้ว

    There's anyway to make the results of the search to carry the text formatting used in the data?
    Awesome tutorial.

  • @katgiardinadms274
    @katgiardinadms274 3 ปีที่แล้ว

    Thank you! Is there a way to lock the search box so that when one person enters a search it does not filter down the data for other users looking at the sheet?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 ปีที่แล้ว

      No, but you should be able to user FILTER VIEWS to get something similar to what you want.

  • @Juan_Albor_Cardenas
    @Juan_Albor_Cardenas 4 ปีที่แล้ว +1

    Great video helped alot with me searching but I have a question how can I do this search to entire workbook or multiple worksheets? Can you please help?

  • @conteudoanimal
    @conteudoanimal 4 ปีที่แล้ว

    Congrats for your channel ... it is helping me a lot ... keep the great job man !

  • @dejo095
    @dejo095 ปีที่แล้ว

    very helpful, thanks

  • @TheArctomian
    @TheArctomian 2 ปีที่แล้ว

    How did you add the keymoments like that in the description?

  • @anurajms
    @anurajms 4 ปีที่แล้ว

    thanks for the video .really appreciate your help

  • @varioII
    @varioII 5 ปีที่แล้ว

    This is awesome, just started using this. Wondering how to handle B2 being empty - split function doesn't like it. I'm trying to include ALL results in the query if B2 is blank?

  • @sureshshah8508
    @sureshshah8508 4 ปีที่แล้ว

    i have used this and thank you for this video

  • @grazelmaediola3219
    @grazelmaediola3219 3 ปีที่แล้ว

    Can you make a test bank alike in excel then have the same idea of searching bar when you input a phrase of the question?

  • @Mikarevival
    @Mikarevival 5 ปีที่แล้ว

    Great Job!!! Thank you so much!! I wanted to ask you to do something like this....but you had the Idea before I could ask!! Thanks!!!

  • @markuswinter-cdps3008
    @markuswinter-cdps3008 4 หลายเดือนก่อน

    Greetings. I'm looking to query from a dropdown a data set that does not always exactly match the reference in the dropdown. I've tried CONTAINS, LIKE, wildcards (such as %), and it doesn't work. For example, my data would include "Kites Red", "Kites - Red", "Kites Blue", "Kites - Blue", etc. When the dropdown shows "Kites - Red", the "Kites Red" results do not appear. What query syntax can I use that will result in both "Kites - Red" and "Kites Red" showing as search results? Thanks.

  • @iftaminka2804
    @iftaminka2804 2 ปีที่แล้ว

    I did this tutorial and it's amazingly help me completed my final task, Thanks!
    But I've no idea how to create this when I've few different data in multiple sheets, looking for it

  • @JMPatel-nk8gr
    @JMPatel-nk8gr 5 ปีที่แล้ว

    As always absolutely fantastic

  • @netboy1102
    @netboy1102 4 ปีที่แล้ว

    14:55 Split function
    15:45 interesting part

  • @mrkfong
    @mrkfong 4 ปีที่แล้ว +1

    Thanks bro, big help!

  • @chhenglykandal3768
    @chhenglykandal3768 3 ปีที่แล้ว

    Thank You Sir from Cambodia and this help me a lot. would u mind create Query related to Bar Chart report or Graph Analysis in the next video? Thank You.

  • @jonayego
    @jonayego 2 ปีที่แล้ว

    Wow, this is great. A million thanks. Please, supposing you want to generate a cost for two different items, how do you go about??

  • @stylelife7705
    @stylelife7705 5 ปีที่แล้ว +1

    helpful content thank you !

  • @pinnibyp3950
    @pinnibyp3950 4 ปีที่แล้ว

    Thank you so much!!! you help us to work much easier ! May I ask if query function can also import both value and format? seem like it only import value not include format of that cell.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  4 ปีที่แล้ว +1

      It only imports the value. You can specify what format you want for the output, but it's not going to pick up the original formatting. Watch my QUERY function series for more details.

    • @pinnibyp3950
      @pinnibyp3950 4 ปีที่แล้ว

      @@ExcelGoogleSheets Thank you, I'll check whole series !!

  • @MrTATT-he5bm
    @MrTATT-he5bm 4 ปีที่แล้ว +1

    Good stuff! thank you so much :)

  • @jeevankurian204
    @jeevankurian204 3 ปีที่แล้ว

    Awesome tutorial! Is there any way we can edit the searched results? So that it reflects the original sheet

  • @The066773
    @The066773 4 ปีที่แล้ว +1

    awesome..

  • @mansaha9288
    @mansaha9288 4 ปีที่แล้ว

    Thanks for the apostrophes info

  • @benponderin
    @benponderin 5 ปีที่แล้ว

    You're awesome, my friend

  • @singhalmonica
    @singhalmonica 3 ปีที่แล้ว

    Pls guide me how to compare two range thru Query function

  • @keerthanab1103
    @keerthanab1103 3 ปีที่แล้ว

    Very useful class. You taught how to use query function with examples of region and reps. Can we have search option along with regions and sales reps. 🤔

  • @eristidwialmubarok
    @eristidwialmubarok หลายเดือนก่อน

    Thanks for the video, it help me alot.
    I have a question,
    if these sheet used by one user it look seem working allright.
    but, how if there is some users want to use those sheet at the same time? anyone will be interupt by one and another person while working.
    Do you have any alternative for it? thanks before.

  • @kyle4338
    @kyle4338 2 ปีที่แล้ว +1

    I am using IMPORTHTML but the Query isn't reading the table I pulled in. Is there a workaround?

  • @Basudeb_Chandra
    @Basudeb_Chandra ปีที่แล้ว

    For those who wants to use more than one column to quary use this formula..
    =QUERY('Physical Book'!A:D, "SELECT * WHERE LOWER (D) LIKE LOWER (""%"&i22&"%"") AND LOWER (B) LIKE LOWER (""%"&j22&"%"")",3)
    It's for two different columns. Just change some things according to your sheets.

  • @brethrencemetery4965
    @brethrencemetery4965 5 ปีที่แล้ว +2

    This was a great explanation. If I wanted to edit one of these records, how would I either edit it here and update the main sheet, or how would I like to that record so I could edit it in the main sheet?

  • @joesilvaproductions
    @joesilvaproductions 4 ปีที่แล้ว

    Is it Possible to have the search go over multiple inventory tabs?

  • @lazalazarevic6192
    @lazalazarevic6192 5 ปีที่แล้ว

    The last part was so good! Thanks, man. Is it possible to make it more dynamic? Like selecting the column we wanna search?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  5 ปีที่แล้ว

      Sure. Just make a VLOOKUP with a helper table that maps the column selection to column letter and use it in your select statement. Or at least that's one way :)

  • @HopOnsWelcome
    @HopOnsWelcome 3 ปีที่แล้ว

    Is there a way to make a search box that filters as you type? So you don’t have to click out of the cell to see the result. I saw a video that Excel could do that.

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  3 ปีที่แล้ว +2

      You can only do it if you use some sort of web interface, like in this example th-cam.com/play/PLv9Pf9aNgemvM36efLpaHxbkZTGp2pfhx.html

    • @HopOnsWelcome
      @HopOnsWelcome 3 ปีที่แล้ว +1

      @@ExcelGoogleSheets Ok cool. Thank you.

  • @ldickens86
    @ldickens86 4 ปีที่แล้ว

    thanks for this great video. Is there a way to make the search check different tabs on the form. I want to search data in column A on multiple tabs rather than just one tab. thank you

    • @marcobanderas3306
      @marcobanderas3306 3 ปีที่แล้ว

      Both If and Indirect will do the trick (+ filtering of null values), e.g query(Indirect(*here comes drop-down with sheet names*&"!"Range") or QUERY(INDIRECT(A2&"!A2:D"),"select *",1).

  • @jflying2167
    @jflying2167 3 ปีที่แล้ว

    Thank you for this... For some reason the formula isn't working on numbers though? I have a column with numbers and fractions to search but it only give me the header when I search with this code. Is there anything I need to add to get this to sync with numbers and fractions?

  • @brandonkenney5432
    @brandonkenney5432 2 ปีที่แล้ว

    How would I be able to display results if my search contains quotations?
    Eg.
    _____
    I want to search for:
    3" Screws
    ______
    Result:
    # VALUE
    I followed your instruction at 3:54 and it worked for all my searches containing an apostrophe (eg. 9' Pipe), however it will not work with quotations...is there a solution?

    • @ExcelGoogleSheets
      @ExcelGoogleSheets  2 ปีที่แล้ว

      Doubling quotes usually escapes them, So I would try to to wrap the reference in SUBSTITUTE(A1,"""","""""") and see if that works.

  • @francisabellana780
    @francisabellana780 4 ปีที่แล้ว +1

    Thank you so much!

  • @DavidMarcadet
    @DavidMarcadet 4 ปีที่แล้ว

    Very usefull, thx

  • @misterbowzer
    @misterbowzer 3 ปีที่แล้ว

    is it possible to limit the result to only certain column instead?

  • @snowman3130
    @snowman3130 4 ปีที่แล้ว +1

    Can I hire you for a project?

  • @abhinavm8871
    @abhinavm8871 3 ปีที่แล้ว

    Really thank you Buddy

  • @arvindh13
    @arvindh13 20 วันที่ผ่านมา

    Thank you ; for searching two columns and lower case:
    =QUERY(STOCK!A:H,"SELECT * WHERE LOWER(A) LIKE LOWER (""%"&B1&"%"") AND (LOWER(C) LIKE LOWER (""%"&C1&"%"") OR B LIKE ""%"&C1&"%"") ",1)

  • @likemantv
    @likemantv 4 ปีที่แล้ว +1

    Hello,
    So I want to do a thing, when I search for example: an apple, it will check all the lists and when it finds the word apple, it will show it under the search bar (like in the video, but it will check all lists).
    Is that possible?
    Can you help me?

  • @shanekatsoolis8434
    @shanekatsoolis8434 3 ปีที่แล้ว

    Can you Please add UNIQUE (or something) so that my Hyperlinks are returned intact and still function as hyperlinks? Queary returns them as useless data. Thanks for the great tutorials

  • @indyshome
    @indyshome 4 ปีที่แล้ว +1

    Thank you so much

  • @stevehansen4112
    @stevehansen4112 ปีที่แล้ว

    Perhaps one of you folks may know, is there a way to perform this sort of query, but be able to change the column being queried? In this example, it's always referencing column E, but is there a way to have that E switch over to B or C and use the same typeable text field to search multiple categories?

  • @sdp6362
    @sdp6362 2 ปีที่แล้ว

    Will this work even if the person is only a "Viewer" on the sheets?