Make a Search Bar in Excel to Find Anything!

Поделиться
HTML-код
  • Опубликовано: 3 июн 2024
  • Build a search box in Excel to find anything in your dataset.
    Check out our Excel course!: www.careerprinciples.com/cour...
    🆓 DOWNLOAD Free Excel file for this video: hidden-brook-680.myflodesk.co...
    In this video, we'll make a dynamic search bar so you can search for any values in your dataset. We will start creating a search box with the developer button. Then, we'll use the filter formula to look for values in a dataset. Following this, to get a partial match, we'll combine the isnumber and search functions to the filter function. Then we'll add all of the other columns we want to search by. Finally, we'll design the search bar with icons, shapes, and conditional formatting so the matching values stand out.
    LEARN:
    🔥Power BI for Business Analytics: www.careerprinciples.com/cour...
    📈 The Complete Finance & Valuation Course: www.careerprinciples.com/cour...
    👉 Excel for Business & Finance Course: www.careerprinciples.com/cour...
    🚀 All our courses: www.careerprinciples.com/courses
    SOCIALS:
    📸 Instagram - careerprinc...
    🤳 TikTok - / career_principles
    🧑‍💻 LinkedIn - / careerprinciples
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    Chapters:
    0:00​ -​ Search Bar with Exact Match Only
    2:55​ - Adding Both Partial & Exact Match
    5:36​ - Adding all columns to the Search Bar
    6:58​ - Search Bar Design
    9:36​ - Bonus Trick!
    Disclaimer: I may receive a small commission on some of the links provided at no extra cost to you.

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

  • @KenjiExplains
    @KenjiExplains  8 месяцев назад +13

    Check out our Excel course!: www.careerprinciples.com/courses/excel-for-business-finance

  • @Learning_to_Excel
    @Learning_to_Excel 8 месяцев назад +6

    Really cool video Kenji! Always thought there were so many cool opportunities with the Partial Match function and this may be the best one!

  • @AMIRKHAN-bj4ny
    @AMIRKHAN-bj4ny 3 месяца назад +2

    You taught the search filter formula in your video in the most simple way ever. 🎉🎉🎉
    I really Appreciate your way of teaching.
    Your video helped me a lot in my projects.
    Thank you so much.

  • @Technical_Things123
    @Technical_Things123 7 месяцев назад

    Last few days, I was trying to make s search box with VBA coding, but it is very difficult, but your trick just is outstanding, thanku so much sir ❤

  • @tomletcher5127
    @tomletcher5127 8 месяцев назад +3

    Thanks Kenji!! made my life a whole lot easier!! Great content, seamlessly explained ... Legend :)

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

    🎉 thank you for sharing this kind of tutorial. It really helps me to learn Excel formulas. You explain it well.

  • @zzota
    @zzota 7 месяцев назад +16

    Really neat trick. You could also wrap the whole FILTER function in an IF: IF(H2="","" FILTER....). Then you'd get a blank list if you haven't entered a search parameter.

    • @terminator3697
      @terminator3697 5 месяцев назад +2

      I followed Ken's instructions from this video and it does not work for me because I have multiple sheets, from Jan-Dec, when I changed table 2 to Jan: Dec, I kept getting errors in my format, little help would be appreciated.

    • @kennetharcalaz4843
      @kennetharcalaz4843 4 месяца назад +1

      I tried this but it diddnt work. Is that thw whole formula needed?

    • @dreddph
      @dreddph 3 месяца назад +1

      Does not work.

    • @kenikthyan
      @kenikthyan Месяц назад

      @@kennetharcalaz4843 What @zzota means is that you need to add an IF function before to reference a NULL. The formula is missing a comma unfortunately but @zzota's idea is brilliant (thanks @zzota).
      Corrected formula: =IF($H$2="", "", FILTER(..............))

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

    These are very valuable skills, please continue to share so everyone can learn from you

  • @benhermann3038
    @benhermann3038 Месяц назад

    Thanks heaps for this solution, it is brilliant! I'd like to offer a solution to the conditional formatting in case the search box is empty: Add another condition that checks if the linked cell is empty. Place it above the one you have introduced. If that condition is TRUE then remove formatting and stop processing more rules.
    And in general: Your teaching is wonderful! Clear voice and speaking, clear demonstration, not wasting time by fast forwarding during non-essential formatting of boxes etc. Very well done, thank you!

  • @luisllontopbarahona3188
    @luisllontopbarahona3188 7 месяцев назад

    Kenji... I am learning a lot with you with those cool Excel features... Thank you for sharing the knowledge...

  • @user-xl5nd2hj2j
    @user-xl5nd2hj2j 6 месяцев назад

    This is the most useful Function i have seen for EXCEL. Thank you so much for this information

  • @margaretfarquhar-xb1nk
    @margaretfarquhar-xb1nk 8 месяцев назад +1

    That was extremely helpful and well explained, thank you

  • @dalimiso
    @dalimiso 8 месяцев назад +2

    Such a powerful tool/method and clearly explained. Can you use it to pool data from more than one Table or Sheets?

  • @kenbasilla5819
    @kenbasilla5819 8 месяцев назад +3

    Great! can you search across multiple sheets using this?

  • @CavanHaganInvesting
    @CavanHaganInvesting 7 месяцев назад +2

    For anyone working with a large data table, the way I implemented this was I turned the formula calculation option to manual, and used the search bar icon as a macro button that will calculate when clicked. That way it doesn't try and filter the massive table every time a letter is typed.

    • @Jyotika4
      @Jyotika4 7 месяцев назад

      Can you make a video on this and paste the link here

    • @CavanHaganInvesting
      @CavanHaganInvesting 7 месяцев назад +1

      @@Jyotika4 go to the formula tab, and change calculation options to manual. Then record a macro where you click on calculate sheet. Then insert the search icon, right click, press assign macro and choose the macro you just made. If there's other content on your spreadsheet, you will need to add the macro button to those also so they can calculate since the whole document is manual calculation

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

    Hi Kenji!! Was just wondering if you could show ways in case if we want values greater than or less than in this search as well.

  • @salvatorva64
    @salvatorva64 8 месяцев назад +25

    In the search formula, it is more convenient and shorter to concatenate the table fields instead of repeating the search formula: =FILTER(Table1,ISNUMBER(SEARCH($H$2,Table1[First]&Table1[Last]&Table1[Country]&Table1[Age])),"No Match")

    • @KenjiExplains
      @KenjiExplains  8 месяцев назад +2

      I haven't tried it but it seems like a great suggestion!

    • @salvatorva64
      @salvatorva64 8 месяцев назад +3

      @@KenjiExplains First, I'd like to thank you for your very didactic videos: they are helpful, clear, to-the-point.
      For your information, I tried with the CONCAT function; it did not work. It works well with “&”.

    • @Static1Bolt
      @Static1Bolt 6 месяцев назад

      Can confirm it works with the "&". Great suggestion!@@salvatorva64

    • @sebrahim_t
      @sebrahim_t 6 месяцев назад

      ​@salvatorva64 if the search box is blank, how we can change the result in to a "enter text to search" message instead of showing all the data in the table selected.

    • @Dan_De_Man
      @Dan_De_Man 4 месяца назад

      ​@@sebrahim_tat start of formula enter =if(H2="", "Enter Text to Search", Filter... And enter another bracket at the end

  • @Shng1968
    @Shng1968 7 месяцев назад

    Thank you so much for a helpful video and detailed explanation.

  • @5ssandraa5
    @5ssandraa5 4 месяца назад +1

    I think this is wonderful! Thank you :) Would it be possible to implement a filter that could search for values within the text, even if they're not at the beginning? It would be really helpful if the filter could locate values in the middle of chapters too.

  • @JohnKnorr
    @JohnKnorr 5 месяцев назад

    Great tutorial! Is it possible to protect the sheet (data/formulas) while still making the search box editable?

  • @arshalmurmu
    @arshalmurmu 5 месяцев назад

    Thanks kenji bro for awesome trick to create search bar simple and easy

  • @CheatSheets
    @CheatSheets 5 месяцев назад

    Love this idea! Well explained!

  • @andreausa123
    @andreausa123 5 месяцев назад

    Great! it is what i needed. Thank you Kenji very much !

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

    Very nice kenji, thank you for sharing your knowledge, I'm looking for a way to look up a date (using filter ) that is in other table but has contacted with the main one table. ....is possible with filter funcion

  • @dougmphilly
    @dougmphilly 4 месяца назад

    so good that i subscribed. i love how simple this is.

  • @khalidmounir3475
    @khalidmounir3475 8 месяцев назад +1

    thanks, we d love if u make it with previous versions that doesn't support the formula FILTER

  • @RealTakunia
    @RealTakunia 3 месяца назад +1

    Bonus trick: Ctrl+F :) Great video, thanks.

  • @MichaelBrown-lw9kz
    @MichaelBrown-lw9kz 7 месяцев назад

    This is great. I am going to use this in an upcoming assignment I have.

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

    This is a super relevant content! Thank you! 🎉

  • @adrianconway1339
    @adrianconway1339 2 месяца назад

    Really great and helpful video. One question if I may, my table has variable row heights but I can't seem to get the rows in the results to automatically adjust the row height. Is there any way to do this?

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

    Thanks for the explanation

  • @HaroonKhan-gp4vj
    @HaroonKhan-gp4vj 8 месяцев назад

    thank you! best wishes from Pakistan

  • @marlonvitotorio3495
    @marlonvitotorio3495 28 дней назад

    How to search on different sheets?thank you for the answer

  • @Navinselka
    @Navinselka 13 дней назад

    THANK U SO MUCH, ITS WORKED

  • @lucianlesu1735
    @lucianlesu1735 7 месяцев назад

    Nice, very good. How can I make the results selectable, clickable or keep the hyperlink ?

  • @syedikramullah1114
    @syedikramullah1114 7 месяцев назад

    Beautiful explained ❤❤

  • @Chillmobei
    @Chillmobei 4 месяца назад +1

    Hello Kenji, thanks for that nice tool. It works if anything is at the same page. But how to search if there is one main page with hyperlink word (each word connected to another site) is it possible to search at the main page and get the result were to click on and reach the correct page? I think this is high class of searching. Maybe it isn’t possible… but excel = excellent 😅

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

    Thanks for the great tutorial. I
    f the first name is repeating twice lets say Janet is repeating in cell 2 and cell 4 does this formula works?

  • @artur_momot
    @artur_momot Месяц назад

    Great video, thanks! Also, I have a question is it there any way to hide all those data that not being in use? For example, hide those list that showing if its empty search bar. Thanks a lot!

  • @omamen
    @omamen 4 месяца назад

    I have created the search bar and in works, thank you very much!!!
    BUT....after the resul come out i need to be able to modify some values in the result and save it.
    How do i do it?
    Thank you in advance!!!

  • @kovilipradeep
    @kovilipradeep 7 месяцев назад

    Its wonderful...... I applied in my file👍👍👍👍👍👍👍

  • @judithbredy5985
    @judithbredy5985 8 месяцев назад +5

    This is so helpful and I love how Kenji explains everything.

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

    Thank you, very helpful

  • @davek9079
    @davek9079 2 месяца назад

    This is very helpful and works for me with one problem: my filter results don't automatically update (i.e. I have to put the curser in the first cell and then re-run the formula from the formula bar). The results do not auto-populate as I type in a query.

  • @abdulsalam935
    @abdulsalam935 2 месяца назад +1

    Sir, video is good. How this can be done with "OLDER VERSIONS OF EXCEL"

  • @sanjayparmar9988
    @sanjayparmar9988 6 месяцев назад

    Superb ❤
    .
    Thank You So Much 💕

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

    Nice video brother but i want to search from different worksheet and there's multiple sheets and each sheet it has same columns names and i want to search from different columns also sometimes by name some time by their emp id so how I'll get my search data into search bar sheet from multiple columns?

  • @julianaramburo2023
    @julianaramburo2023 Месяц назад

    Hi, thanks for this video. It's awesome. I tried using the dynamic search, and I did exactly what you did, but for some reason the cursor and the text don't show in the search box. The search actually works but I cannot see what I'm typing. I can only see what I typed after a click away from the box, anywhere in the sheet. It is weird because the search actually works and I can see the data moving dynamically, but I cannot see what I'm typing and it's really annoying. Can you help? thanks so much

  • @shabeerahmed1408
    @shabeerahmed1408 7 месяцев назад +4

    Hello Kenji, how are you? Your all videos are very helpful for me. Regarding this " Filter" function, it only support in " Excel 365" & " Excel 2021" . What is the alternative function in old versions(like excel 2013, 2016,2019)?

    • @rcbov_0243
      @rcbov_0243 7 месяцев назад +1

      this question is very nice

    • @rcbov_0243
      @rcbov_0243 7 месяцев назад +1

      help us kentjh

  • @MAN0202VAN
    @MAN0202VAN 4 месяца назад

    That's amazing
    But can we apply it to Excel Online ??

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

    Hi Kenji. I love this search box, but i had one problem when a tried to apply in my tables. The result not contain different in upper and lower cases (If data is written as ORANGE, the result not find if I type Orange in the SearchBox). How can I fix it?

  • @TOOMA2024
    @TOOMA2024 2 месяца назад

    can we adjust formula to make filter table empty wen we don't but anything in H2 ???? it will be cool 🎉🎉

  • @s.d.nmarufi1051
    @s.d.nmarufi1051 6 месяцев назад

    Very very very helpful video.
    But I want to search between two or three columns at a time. But it should be optional not necessary. Means when I select the condition than search conditionally otherwise should be searchable unconditionally

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

    Hi is it possible to put formula only first line of the cell?
    For example
    1. Balance as on 30-9-23
    2. Abc..............
    3.Abc.............
    First line i want to Formulalise in order to change the date automatically in every month.

  • @T_iko_S
    @T_iko_S 4 дня назад

    Hi, is there a way to make it so when you search, it returns the values its found in the smaller table but is also editable in that table, and then whatever changes are made in the smaller search table are then executed in the original table? I hope that makes sense, any help would be greatly appreciated!

  • @abdulhamidalhaddadi2255
    @abdulhamidalhaddadi2255 17 дней назад

    Thank You sir

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

    Can we update the filtered result like modifying the data after filtering it

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

    Sir, Which Excel Version do you use?

  • @RKSiNgH-mx9cm
    @RKSiNgH-mx9cm 3 месяца назад

    Thanks it helps me to create me own search bar

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

    This is very easy.
    What about returning the values only between 2 dates with different timings?
    Like, there were 10 different names in 10 different timings the sale happened on a particular day or between day X and day Y.
    I have tried many different ways, I don't get all the values returned in the result. Either 1 or 2 are left out or more is included as a result.

  • @marifenoval8259
    @marifenoval8259 17 дней назад

    Its very helpful but i would like to know how to copy the list of data in search bar for another sheet to print

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

    Thank you for this

  • @user-zr1wn4js4u
    @user-zr1wn4js4u 4 месяца назад

    What we update the inventory list with new items should we rewrite the codings again

  • @HikmahSarjana
    @HikmahSarjana 7 месяцев назад

    Thank You Master 😊

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

    Excellent 💯

  • @killsammy_
    @killsammy_ 4 месяца назад

    Dear sir,, what filter result only selected columns, for example only showing cell first and third column?

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

    Quite insightful

  • @normanrock1362
    @normanrock1362 6 месяцев назад

    works great but does not bring any hyperlinks that may be in the source data. can that bne corrected?

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

    classic, thanks for sharing

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

    thanks alot Kenji

  • @KVIXNodalOffice
    @KVIXNodalOffice 2 месяца назад

    How can we use this search bar method to search data from more than one table for eg. i have three different table is in three different worksheets. And need to use this kind of search for 3 worksheets together. We can not combine 3 worksheets tables into one worksheets, those 3 worksheets have to be kept separate for some other purposes

  • @nataliemccall4573
    @nataliemccall4573 2 месяца назад

    this was awesome however, how can I do a multiple search within the search box. For instance in my first cell I have office numbers (ex: 0005, 00061, etc). If I wanted to search in the search box for office 0160 and 1310, how do I do that?

  • @rosaliobusobuso7248
    @rosaliobusobuso7248 2 месяца назад

    Is this ok to be used on a different sheet?

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

    Do you have tutorial how to make hotel reservation calendar

  • @varuncd1096
    @varuncd1096 Месяц назад

    Thank you sir ji!

  • @allanallansson9532
    @allanallansson9532 7 месяцев назад

    If your search text is found in more than one column within the same row, will you not get repeated rows in the filter formula? You are after all just stacking the rows by adding them up...

  • @robertcortese476
    @robertcortese476 2 месяца назад

    Cool, what about searching in another sheet in the same workbook?

  • @nehalpatel4345
    @nehalpatel4345 Месяц назад

    Hey Kenji, thanks for the video, but how to avoid the downside of highlighting entire table when nothing is there in search box.

  • @user-jt2im1ly7i
    @user-jt2im1ly7i 4 месяца назад

    Hi thank you for this tutorial. I did exactly the same as you.. but mine only works until the exact match, partial match does not work. it shows value error...

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

    Wowww what a cool function!!

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

    How can I do the dropdown list with data validation but with unique values only?

  • @charimainegumarac4834
    @charimainegumarac4834 2 месяца назад +1

    kenj, one question, why it doesn't show all of the data after entering the name? only the name appears

  • @AburaGamer
    @AburaGamer 2 месяца назад

    I have a big collective sheet and I want to filter based on search, but with this function it returns ALL columns, also the useless ones. I tried added only those columns to the array area, but then I just get VALUE! back. Any chance you can explain how to search on selective source columns?

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

    on my mac, the developer option , doesn't show the "insert", what do i do? thank you

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

    Thanks a lot man !

  • @bjc80223
    @bjc80223 7 месяцев назад

    Isn't possible to search directly in the principal table??
    Is it mandatory to create another lookup table??
    How else do you search directly in the main table??
    Thank you for edifying us 🙏🙏🙏

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

    Than you so much 😍

  • @chazrab1
    @chazrab1 7 месяцев назад +1

    The problem I see here is that most sheets if not all contain formulas to perform calculations as in a Register transaction sheet. Converting to a Table seems to destroy the integrity of a sheet - I also have a drop down combo which populates upon mouseclick. Cannot this be done without converting to a table. cr:

  • @spongebobby188
    @spongebobby188 2 месяца назад +1

    OK, I used this successfully on a table with lots of text comments, so the search is helpful. BUT, I now cannot view the contents of the cell as it doesn't appear in the formula bar as that only shows the index formula. This means I have to copy the result of the search into a new worksheet to view the contents! Please advise on how to resolve this. 🙏

  • @coronella4051
    @coronella4051 8 месяцев назад +1

    Kenji excellent tutorial. A question about the filter formula (G5), is it possible to make it so that when H2 is empty nothing appears?
    So that the data only appears when I start typing in the H2 search box?
    Thanks for your help.

    • @matteocervelli3786
      @matteocervelli3786 7 месяцев назад

      Ehy mate, did u find how to make this?

    • @coronella4051
      @coronella4051 7 месяцев назад

      Yes I Find the solution by my self
      =IF(H2=””,””;FILTER etc…
      @@matteocervelli3786

    • @coronella4051
      @coronella4051 7 месяцев назад

      In Italian =SE(C2="";"";FILTRO ecc.

    • @bikeranand
      @bikeranand 6 месяцев назад

      I too have the same doubt.

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

    Thank you 🙏

  • @user-ri4vo4vt7c
    @user-ri4vo4vt7c 7 месяцев назад

    Great content but my excel does not have the filter formula

  • @amiro.husain869
    @amiro.husain869 6 месяцев назад

    hello i have a problem with that my office is 2019 what is alternative for this ? can you help ? please.

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

    Kenji thanks for this video. It worked for me. However, I want the search results to be blank at first before I enter a search parameter. Any ideas on how to accomplish this?

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

      Never mind I did it already. Thanks!

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

    Awesome 👌

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

    Im working on a project that I need the searched data linked to another excel tab. I cant seem to set a formula for that.

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

    Thanks kenji

  • @MohamedGamal-zy6bi
    @MohamedGamal-zy6bi 7 месяцев назад

    Hi Kenji,
    I am trying Filter formula but it return all value to 0 every time! using office 365
    any suggestions?

  • @khimseily
    @khimseily 2 месяца назад

    I just worked follow yours. But due to want to add function more if isblank, it shall return the true & fale argument. Ex. My column 0%, it returns to 0%, if column/cell empty shall be show empty not to 0% especially for Important tax. May you advise pls

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

    What Version of Excel are you using? I do NOT have a "FILTER function" on Excel 2007. I can't get it to work on 2007. Is there another way of doing this?