Ga naar hoofdinhoud

Hoe maak je je eigen zoekvak in Excel?

Behalve het gebruik van de functie Zoeken in Excel, kunt u eigenlijk uw eigen zoekvak maken om gemakkelijk de benodigde waarden te zoeken. Dit artikel laat u twee methoden zien om in detail uw eigen zoekvak in Excel te maken.

Maak uw eigen zoekvak met voorwaardelijke opmaak om alle zoekresultaten te markeren
Maak uw eigen zoekvak met formules om alle zoekresultaten weer te geven


Maak uw eigen zoekvak met voorwaardelijke opmaak om alle zoekresultaten te markeren

U kunt het volgende doen om uw eigen zoekvak te maken met behulp van de functie Voorwaardelijke opmaak in Excel.

1. Selecteer het bereik met de gegevens die u nodig heeft om te zoeken in het zoekvak en klik op Conditionele opmaak > Nieuwe regel onder de Home tabblad. Zie screenshot:

2. In de Nieuwe opmaakregel dialoogvenster, moet u:

2.1) Selecteer Gebruik een formule om te bepalen welke cellen moeten worden opgemaakt optie in het Selecteer een regeltype doos;

2.2) Voer de formule in = ISGETAL (ZOEKEN ($ B $ 2, A5)) in de Formatteer waarden waar deze formule waar is doos;

2.3) Klik op de Formaat knop om een ​​gemarkeerde kleur op te geven voor de gezochte waarde;

2.4) Klik op de OK knop.

Opmerkingen:

1. In de formule is $ B $ 2 een lege cel die u als zoekvak moet gebruiken, en A5 is de eerste cel van uw geselecteerde bereik waarin u waarden moet zoeken. Wijzig ze indien nodig.

2. De formule is niet hoofdlettergevoelig.

Nu het zoekvak is gemaakt, worden bij het typen van zoekcriteria in het zoekvak B2 en druk op de Enter-toets alle overeenkomende waarden in het opgegeven bereik doorzocht en onmiddellijk gemarkeerd zoals onderstaand screenshot.


Maak uw eigen zoekvak met formules om alle zoekresultaten weer te geven

Stel dat u een gegevenslijst heeft die zich in het bereik E4: E23 bevindt en die u moet doorzoeken, als u alle overeenkomende waarden in een andere kolom wilt weergeven nadat u met uw eigen zoekvak hebt gezocht, kunt u de onderstaande methode proberen.

1. Selecteer een lege cel die grenst aan cel E4, hier selecteer ik cel D4 en voer de formule in = ALSFOUT (ZOEKEN ($ B $ 2, E4) + RIJ () / 100000, "") in de formulebalk en druk vervolgens op Enter sleutel. Zie screenshot:

Note: In de formule is $ B $ 2 de cel die u nodig hebt om het als zoekvak te gebruiken, E4 is de eerste cel van de gegevenslijst die u moet doorzoeken. U kunt ze naar behoefte wijzigen.

2. Blijf cel E4 selecteren en sleep de vulhendel omlaag naar cel D23. Zie screenshot:

3. Selecteer nu cel C4, voer de formule in = IFERROR (RANK (D4, $ D $ 4: $ D $ 23,1), "") in de formulebalk en druk op de Enter sleutel. Selecteer cel C4 en sleep vervolgens de vulhendel naar C23. Zie screenshot:

4. Nu moet u bereik A4: A23 vullen met het serienummer dat met 1 oploopt van 1 tot 20, zoals onder screenshot:

5. Selecteer een lege cel die u nodig hebt om het gezochte resultaat weer te geven, voer de formule in = ALSFOUT (VERT.ZOEKEN (A4, $ C $ 4: $ E $ 23,3, ONWAAR), "") in de formulebalk en druk op de Enter sleutel. Blijf cel B4 selecteren, sleep de vulhendel naar beneden naar B23 zoals hieronder afgebeeld.

Vanaf nu worden bij het invoeren van gegevens in zoekvak B2 alle overeenkomende waarden weergegeven in bereik B4: B23 zoals onderstaand screenshot.

Note: deze methode is niet hoofdlettergevoelig.

Beste Office-productiviteitstools

🤖 Kutools AI-assistent: Een revolutie teweegbrengen in de data-analyse op basis van: Intelligente uitvoering   |  Genereer code  |  Aangepaste formules maken  |  Analyseer gegevens en genereer grafieken  |  Roep Kutools-functies aan...
Populaire functies: Zoek, markeer of identificeer duplicaten   |  Verwijder lege rijen   |  Combineer kolommen of cellen zonder gegevens te verliezen   |   Ronde zonder formule ...
Super opzoeken: Meerdere criteria VLookup    VLookup met meerdere waarden  |   VOpzoeken over meerdere bladen   |   Fuzzy opzoeken ....
Geavanceerde vervolgkeuzelijst: Maak snel een vervolgkeuzelijst   |  Afhankelijke vervolgkeuzelijst   |  Multi-select vervolgkeuzelijst ....
Kolom Beheerder: Voeg een specifiek aantal kolommen toe  |  Kolommen verplaatsen  |  Schakel de zichtbaarheidsstatus van verborgen kolommen in  |  Vergelijk bereiken en kolommen ...
Uitgelichte functies: Raster focus   |  Ontwerpweergave   |   Grote formulebalk    Werkmap- en bladbeheer   |  resource Library (Auto-tekst)   |  Datumkiezer   |  Combineer werkbladen   |  Cellen coderen/decoderen    Stuur e-mails per lijst   |  Super filter   |   Speciaal filter (filter vet/cursief/doorhalen...) ...
Top 15 gereedschapsets12 Tekst Tools (toe te voegen tekst, Tekens verwijderen, ...)   |   50+ tabel Types (Gantt Chart, ...)   |   40+ Praktisch Formules (Bereken leeftijd op basis van verjaardag, ...)   |   19 Invoeging Tools (QR-code invoegen, Afbeelding invoegen vanaf pad, ...)   |   12 Camper ombouw Tools (Getallen naar woorden, Currency Conversion, ...)   |   7 Samenvoegen en splitsen Tools (Geavanceerd Combineer rijen, Gespleten cellen, ...)   |   ... en meer

Geef uw Excel-vaardigheden een boost met Kutools voor Excel en ervaar efficiëntie als nooit tevoren. Kutools voor Excel biedt meer dan 300 geavanceerde functies om de productiviteit te verhogen en tijd te besparen.  Klik hier om de functie te krijgen die u het meest nodig heeft...

Omschrijving


Office-tabblad Brengt een interface met tabbladen naar Office en maakt uw werk veel gemakkelijker

  • Schakel bewerken en lezen met tabbladen in Word, Excel, PowerPoint in, Publisher, Access, Visio en Project.
  • Open en maak meerdere documenten in nieuwe tabbladen van hetzelfde venster in plaats van in nieuwe vensters.
  • Verhoogt uw productiviteit met 50% en vermindert honderden muisklikken voor u elke dag!
Comments (29)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
me pueden apoyar en cual es la formula para solo buscar
porfa
This comment was minimized by the moderator on the site
Hi, for the second part: "Create Your Own Search Box With Formulas To List All Searched Results", it doesn't say what to do with the search box, my search box has no formula in it. I am trying to do it with multiple columns as well, does it work too?
This comment was minimized by the moderator on the site
Insert data from example. Copy formula in indicated cell, but delete space from formula. Easy!
This comment was minimized by the moderator on the site
i have tried using this but is dose not wont to highlight the box I am searching for why is this
This comment was minimized by the moderator on the site
Can you create a formula that captures two cells worth of information in retrospect i am using a set up that captures user names and badge data so i need it to when it filters that it carries both cells of information not just one
This comment was minimized by the moderator on the site
hi! I used the basic highlight search bar, but am having a couple of issues. it is predicting my search and finding it with no issues... however, it always highlights the cell a couple below or above the searched one. Are you able to help me with this please?
This comment was minimized by the moderator on the site
Hi! Is this applicable to Google Sheets? I'm trying to make a search box with formulas to list all searched results. I followed every steps listed above but the results shows nothing. There is an error tho, it says "change Iterative calculation". But whatever I do, it doesn't show anything - just blank. Can you help me with this, please... Thank you!
This comment was minimized by the moderator on the site
Good day,
This is only applicable to Microsoft Excel application. Sorry for the inconvenience.
This comment was minimized by the moderator on the site
Hi! Is this applicable to Google Sheets? I'm trying to make a search box with formulas to list all searched results. I followed every steps listed above but the results shows nothing. There is an error tho, it says "change Iterative calculation". But whatever I do, it doesn't show anything - just blank. Can you help me with this, please... Thank you!
This comment was minimized by the moderator on the site
Hello, I am using to search between my vendors (one column) and brands (another column). With this setup, there are brands (like Microsoft) that can have more vendors (vendor A, vendor B, vendor C,...). I would like to search for the brand (microsoft) name and would like to see all possible vendors (A, B & C as well). But now the result is only the first vendor and that's all. How can I change/fix that?

Many thanks!
This comment was minimized by the moderator on the site
Hi Tomas,
Maybe you can rearrange your data and create a dynamic drop down list to solve the problem. You can browse the below article for more details.
https://www.extendoffice.com/documents/excel/1350-excel-create-dynamic-drop-down-list.html
This comment was minimized by the moderator on the site
i followed the resulted search method and it worked perfectly however the results are hyperlinked and it shows me the result without the hyperlink is there a way i can make it show me the result with the link connection?
This comment was minimized by the moderator on the site
After entering the formula =ISNUMBER(SEARCH($B$1,A4)) for conditional formatting, if the cell I used for the search function is blank, all the cells that are searched (A4:C368) are highlighted. But once a string is entered for the search criteria the cells containing the search criteria are highlighted correctly. Is there a way to tweak the formula to not highlight until search criteria is entered? Or did I do something wrong?

Also, using the formula in step 5 on another sheet within the workbook isn't working. What I'm trying to do is perform a search and show results of that search on one sheet named Search & Results while having the information to be searched on a sheet named Index. The formula I'm using is =IFERROR(VLOOKUP(A3,Index!$A$4:$C$368,5,FALSE),"") where A3 is the beginning of my numbered cells on the Search & Results sheet and the search is taking place throughout cells A4:C368 on the Index sheet.
This comment was minimized by the moderator on the site
same had been having the same issue with the formula,try this in your conditional formatting rule "=AND($I$1<>"",ISNUMBER(SEARCH($I$1,$B4)))", it works for me
I1 is my search box, B4 is first cell of selected range
This comment was minimized by the moderator on the site
Hi Colby. Your vlookup formula=IFERROR(VLOOKUP(A3,Index!$A$4:$C$368,5,FALSE),"") refers to range from A4 to C368 in Sheet name index which have only 3 column but you are entering 5 right after $C$368 which tells the vlookup formula to display value of column 5 which does not exists in your selected range. Fix this and I believe that your problem will be solved.
This comment was minimized by the moderator on the site
I have the same problem. Did you get an answer?
This comment was minimized by the moderator on the site
also me. i have the same problem
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations