No video

Google Sheets - Search, QUERY function

  Рет қаралды 219,438

Learn Google Sheets & Excel Spreadsheets

Learn Google Sheets & Excel Spreadsheets

Күн бұрын

Learn how to create search box in Google Sheets using QUERY function. We'll create basic search for exact match, then search for text that contains the query and finally create a search that will find matches to multiple words in any order.
#googlesheets #search

Пікірлер: 265
@ParthaDas-wy6ps
@ParthaDas-wy6ps 4 жыл бұрын
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.
@malikastar9265
@malikastar9265 7 ай бұрын
Your method of teaching makes everything look easy, you're my most important resource of learning google sheets, thank you so much !
@bobykumar3960
@bobykumar3960 3 жыл бұрын
again.... you are "THE" SOLUTION....
@tahanawfal
@tahanawfal 4 жыл бұрын
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
@SamuraiJack44
@SamuraiJack44 3 жыл бұрын
The Real MVP
@freezebanana1865
@freezebanana1865 3 жыл бұрын
This man needs to get pray for his kindness
@sergiomira741
@sergiomira741 2 ай бұрын
This is spectacular, simply Amazing!!!!!!! Thank you!!!!! Greetings from Colombia friend
@angrybobr365
@angrybobr365 2 ай бұрын
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 3 жыл бұрын
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 ♥
@dfilliernl
@dfilliernl 3 жыл бұрын
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.
@Azzz01s
@Azzz01s 4 жыл бұрын
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 3 жыл бұрын
@Ö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 ;)
@pramodnair7697
@pramodnair7697 4 жыл бұрын
VERY VERY USEFUL VIDEO, THANKS
@arnellcarmichael635
@arnellcarmichael635 2 жыл бұрын
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
@shammetje
@shammetje 2 жыл бұрын
this helped me find the solution in the first few seconds of the video. thanks
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Excellent!
@nikhilgala25
@nikhilgala25 3 жыл бұрын
very much informative. ecplained so well.nice tutorial. thanks
@TevfikBagcivan
@TevfikBagcivan 3 жыл бұрын
Wow
@SiamLiaqat
@SiamLiaqat 2 жыл бұрын
Very Nice 👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍👍
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Thank You!
@arielzabatecuizon5147
@arielzabatecuizon5147 2 жыл бұрын
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.
@andresleon8076
@andresleon8076 3 жыл бұрын
THANKS! I've been through many of your videos looking for something like this.. Really Helpful
@dejo095
@dejo095 8 ай бұрын
very helpful, thanks
@chhansambath5244
@chhansambath5244 2 жыл бұрын
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)
@christelquimbo1995
@christelquimbo1995 2 жыл бұрын
Thank you so much for this tutorial.
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Glad it was helpful!
@DuaaAbudra
@DuaaAbudra 2 жыл бұрын
Very informative Thank you
@amoeudaemonic6435
@amoeudaemonic6435 Жыл бұрын
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! 🙂
@btrzanne
@btrzanne 3 жыл бұрын
very helpful and informative! thank you so much!!!
@lauracru
@lauracru Жыл бұрын
Your help has been invaluable. Thank you
@ExcelGoogleSheets
@ExcelGoogleSheets Жыл бұрын
Thank You!
@m.kamranbaloch6214
@m.kamranbaloch6214 2 жыл бұрын
Perfect video i have ever seen Thankyou so much
@jonathanprunier2368
@jonathanprunier2368 4 жыл бұрын
Very useful ! Thanks a lot you are very competent
@ExcelGoogleSheets
@ExcelGoogleSheets 4 жыл бұрын
Glad it was helpful!
@9394sing
@9394sing 4 жыл бұрын
Learn Google Spreadsheets thanks a lot, great video and very useful for my work
@Allen-L-Canada
@Allen-L-Canada 3 жыл бұрын
Great! In a drop-down can you allow multiple selections instead of only one?
@aakritimoda4402
@aakritimoda4402 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)
@mani2care
@mani2care 4 жыл бұрын
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
@jerikhodejesus8570
@jerikhodejesus8570 3 жыл бұрын
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
@nicolaharding7398
@nicolaharding7398 2 жыл бұрын
Thank you SO much!
@mayuraakhade7275
@mayuraakhade7275 2 жыл бұрын
This was exactly what I was looking for Thank you for share this tutorial
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Thanks for watching 👍
@natew
@natew 2 жыл бұрын
Thank you for all your hard work generating this great content!
@myhelpdesk6414
@myhelpdesk6414 4 жыл бұрын
really nice tutorial sir. you are great sir thanks..
@annekristelmangarin3196
@annekristelmangarin3196 4 жыл бұрын
Can I do the search on the whole array instead of just one column?
@Juan_Albor_Cardenas
@Juan_Albor_Cardenas 4 жыл бұрын
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?
@kulvinder8211
@kulvinder8211 3 жыл бұрын
Sir U are great person
@user-ji2pr9js4j
@user-ji2pr9js4j 4 жыл бұрын
Thanks for clear explanation. You are wonderful tutor.
@carlosharper5046
@carlosharper5046 4 жыл бұрын
What would the query be to search multiple tabs/sheets?
@deafmultilingual8527
@deafmultilingual8527 4 жыл бұрын
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?
@HarrisonBennett
@HarrisonBennett 3 жыл бұрын
Exactly what I was looking for! Thanks man
@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.
@monicamusial4665
@monicamusial4665 3 жыл бұрын
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?
@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
@edmarcabilingdolar9978
@edmarcabilingdolar9978 11 ай бұрын
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 ?
@prashantkannake1319
@prashantkannake1319 10 ай бұрын
Thank you very much
@selvarajandiappa3143
@selvarajandiappa3143 2 жыл бұрын
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
@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??
@choui4
@choui4 6 ай бұрын
Anyone watching this, you have to CLICK the "B" cell, not type it when doing the reference
@sureshshah8508
@sureshshah8508 4 жыл бұрын
i have used this and thank you for this video
@mansaha9288
@mansaha9288 4 жыл бұрын
Thanks for the apostrophes info
@CloudPower
@CloudPower 4 жыл бұрын
Excellent ! Very useful.
@anurajms
@anurajms 3 жыл бұрын
thanks for the video .really appreciate your help
@duz2ht
@duz2ht 3 жыл бұрын
There's anyway to make the results of the search to carry the text formatting used in the data? Awesome tutorial.
@markuswinter-cdps3008
@markuswinter-cdps3008 29 күн бұрын
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.
@user-zp2if5yb5o
@user-zp2if5yb5o 11 ай бұрын
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?
@pooranikannan7634
@pooranikannan7634 2 жыл бұрын
Thank you soo much! You are a life saver :)
@The066773
@The066773 4 жыл бұрын
awesome..
@ExcelGoogleSheets
@ExcelGoogleSheets 4 жыл бұрын
Thanks 😊
@mrkfong
@mrkfong 4 жыл бұрын
Thanks bro, big help!
@adindasyarah1163
@adindasyarah1163 4 жыл бұрын
I Love You So Much
@rachitm109
@rachitm109 2 жыл бұрын
Love it! Thanks bro! This is so good!
@LukasMossum
@LukasMossum 6 ай бұрын
How can I pull an image also, (one of my columns is an item image, rest are the names and numbers). There must be some kind of workaround to get the image aswell when using the searchbar?
@brethrencemetery4965
@brethrencemetery4965 4 жыл бұрын
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?
@indyshome
@indyshome 4 жыл бұрын
Thank you so much
@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.
@shadabchaudhary5632
@shadabchaudhary5632 4 жыл бұрын
Good job 👍
@kyle4338
@kyle4338 2 жыл бұрын
I am using IMPORTHTML but the Query isn't reading the table I pulled in. Is there a workaround?
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Use FILTER function
@JMPatel-nk8gr
@JMPatel-nk8gr 4 жыл бұрын
As always absolutely fantastic
@travistan5007
@travistan5007 2 жыл бұрын
Could anyone can share a code about searching not just only 1 column (E), but 2 or more any columns? In this instance, I want to search the name of a person too. Thank you.
@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. 🤔
@Mikarevival
@Mikarevival 4 жыл бұрын
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!!!
@stylelife7705
@stylelife7705 4 жыл бұрын
helpful content thank you !
@francisabellana780
@francisabellana780 4 жыл бұрын
Thank you so much!
@ricseeds4835
@ricseeds4835 3 жыл бұрын
Genius!
@varioII
@varioII 4 жыл бұрын
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?
@realitysoul7444
@realitysoul7444 4 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
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 2 жыл бұрын
@@marcobanderas3306 Hello, can I ask you questions?
@abhinavm8871
@abhinavm8871 3 жыл бұрын
Really thank you Buddy
@conteudoanimal
@conteudoanimal 4 жыл бұрын
Congrats for your channel ... it is helping me a lot ... keep the great job man !
@treepor1
@treepor1 3 жыл бұрын
this is a very helpful and useful video but i have more question. Is it possible to do Query with Number bc i tried to do the same as you teach but it doesnt work for me . please help thank you :)
@natanaelbby
@natanaelbby 2 жыл бұрын
Same here
@natanaelbby
@natanaelbby 2 жыл бұрын
I love this tutorial, your tutorial is very great 🔥. I just using it to my data and it works, but I just confused and want to ask if i want to using this formula to search a unique code number from my list, is it using a same code? Or there's different code?
@natanaelbby
@natanaelbby 2 жыл бұрын
Because when Im using this code for searching number it didn't shown up the data
@DavidMarcadet
@DavidMarcadet 4 жыл бұрын
Very usefull, thx
@AnonymousHippo5
@AnonymousHippo5 2 жыл бұрын
How do you have this search box search through 2 different Columns for the same word(s)? Keep the same layout as you see in this video but it will search thought Column D and Column E for "baby Dress toddler" Thanks!
@benzemach776
@benzemach776 Жыл бұрын
doesnt work for me :( maybe something with the spaces in the formula (still struggling with the first basic query in the video) any help?
@likemantv
@likemantv 4 жыл бұрын
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?
@EduardoBicelisGarcia
@EduardoBicelisGarcia 3 жыл бұрын
MIN 00:00 SEARCH ONE; MIN 07:49 SEARCH CONTAINS; MIN 10:21 SEARCH CONTAINS WORDS; MIN 14:03 SEARCH COTAINS multiple WORDS; min
@TheArctomian
@TheArctomian Жыл бұрын
How did you add the keymoments like that in the description?
@PencilBoxID
@PencilBoxID 4 жыл бұрын
Thank for the tutorial
@lazalazarevic6192
@lazalazarevic6192 4 жыл бұрын
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 4 жыл бұрын
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 :)
@matthewnguyen2606
@matthewnguyen2606 2 жыл бұрын
Hey brother I loved this video, in the small chance you see this, what if there is typos? It seems to break the query thank you
@mlbaby6005
@mlbaby6005 Жыл бұрын
Hi please badly needed help. I want to add cell where i can search for another column like C4 will search in column D, D2 will search in column H etc. How can i add in this function? Thank you
@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
@marksawesomeadventures
@marksawesomeadventures 2 жыл бұрын
Also, let me get this Straight, so let's put this in some kind of Useful Perspective, if I have a list of Model Numbers for an Inventory of items I have to Write a Formula for Everything in my Stock or the Search Function is not going to find it?
@nj5195
@nj5195 2 жыл бұрын
If i have a database with some information, and i work totally on a new sheet. For example, if i write: (A) name, (B) surname, (C) phone, (D) email, how can I get on (E) confirmation that already exists?
@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.
@MrTATT-he5bm
@MrTATT-he5bm 4 жыл бұрын
Good stuff! thank you so much :)
@antoniojunior5646
@antoniojunior5646 4 жыл бұрын
Thanks Very good
@ExcelGoogleSheets
@ExcelGoogleSheets 4 жыл бұрын
Thank you!
@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?
@ExcelGoogleSheets
@ExcelGoogleSheets Жыл бұрын
The short answer is yes, it's possible.
@MarcShapins
@MarcShapins Жыл бұрын
Data Validation option has changed and now won't let search of multiple words occur. It only yields first option from alphabetical list.
@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 жыл бұрын
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 !!
QUERY - Drop Down List to Filter Data - Google Sheets
15:25
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 344 М.
Google Sheets and Excel - A Better Dynamic Search Bar
7:01
Eamonn Cottrell
Рет қаралды 13 М.
Yum 😋 cotton candy 🍭
00:18
Nadir Show
Рет қаралды 7 МЛН
Schoolboy Runaway в реальной жизни🤣@onLI_gAmeS
00:31
МишАня
Рет қаралды 3,4 МЛН
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 13 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 72 МЛН
QUERY Complete guide: Google Sheets' most complex function
18:06
David Benaim
Рет қаралды 44 М.
QUERY Function in Google Sheets - 2024 Tutorial ✏️
14:33
Coupler․io Academy
Рет қаралды 21 М.
Make Your Google Sheets Look PRO in Under 10 Minutes!
9:25
Next Generation Teacher
Рет қаралды 344 М.
Google Sheets Form for Data Entry - Apps Script
59:47
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 343 М.
QUERY Function - Variables - Google Sheets
23:06
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 60 М.
Google Sheets Query Function Explained
12:35
Leila Gharani
Рет қаралды 302 М.
Excel Dynamic Search Box Tutorial | Find Anything | Multi-Column Search
14:17
Rebekah Oster - Excel Power Up
Рет қаралды 38 М.
Google Sheets - Create a Dynamic Search Bar with Query and Filter
7:05
QUERY Function - Select Columns with Checkboxes - Google Sheets
15:41
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 37 М.
Yum 😋 cotton candy 🍭
00:18
Nadir Show
Рет қаралды 7 МЛН