Ga naar hoofdinhoud

Hoe te handelen als cel een woord bevat en vervolgens een tekst in een andere cel plaatst?

Hier is een lijst met product-ID's, en nu wil ik kijken of de cel een tekenreeks "KTE" bevat, en dan de tekst "TRUE" in de aangrenzende cel plaatsen, zoals onderstaand screenshot. Heb je een snelle manier om het op te lossen? In dit artikel heb ik het over de trucs om erachter te komen of een cel een woord bevat en vervolgens een tekst in de aangrenzende cel te plaatsen.


Als een cel een woord bevat, is een andere cel gelijk aan een specifieke tekst

Hier is een eenvoudige formule waarmee u snel kunt controleren of een cel een woord bevat en vervolgens een tekst in de volgende cel kunt plaatsen.

Selecteer de cel waarin u de tekst wilt plaatsen en typ deze formule = ALS (ISNUMBER (SEARCH ("KTE", A2)), "Waar", "") en sleep vervolgens de automatische vulgreep naar de cellen waarop u deze formule wilt toepassen. Zie screenshot:

doc als cel een woord bevat, dan gelijk aan 8 geschoten pijl naar rechts doc als cel een woord bevat, dan gelijk aan 9

 

In de formule is A2 de cel die u wilt controleren of deze een specifiek woord bevat, en KTE is het woord dat u wilt controleren, True is de tekst die u in een andere cel wilt weergeven. U kunt deze verwijzingen naar behoefte wijzigen.


Als een cel een woord bevat, selecteert of markeert u

Als u wilt controleren of een cel een specifiek woord bevat en het vervolgens wilt selecteren of markeren, kunt u het Selecteer specifieke cellen kenmerk van Kutools for Excel, die deze klus snel aankunnen.

Kutools for Excel, met meer dan 300 handige functies, maakt uw werk gemakkelijker. 

Na het installeren van Kutools voor Excel, doe het als volgt :(Gratis download Kutools voor Excel nu!)

1. Selecteer het bereik dat u wilt controleren als de cel een specifiek woord bevat, en klik op Kutools > kies > Selecteer specifieke cellen. Zie screenshot:

doc als cel een woord bevat, dan gelijk aan 3

2. Vink vervolgens in het popping-dialoogvenster aan Cel optie en selecteer Bevat uit de eerste vervolgkeuzelijst en typ vervolgens het woord dat u wilt inchecken in het volgende tekstvak. Zie screenshot:
doc als cel een woord bevat, dan gelijk aan 4

3. klikken Ok, verschijnt er een dialoogvenster om u eraan te herinneren hoe veel cellen het woord bevatten dat u zoekt, en klikt u erop OK om het dialoogvenster te sluiten. Zie screenshot:
doc als cel een woord bevat, dan gelijk aan 5

4. Vervolgens zijn de cellen met het opgegeven woord geselecteerd. Als u ze wilt markeren, gaat u naar Home > opvulkleur om een ​​opvulkleur te kiezen om ze te onderscheiden.
doc als cel een woord bevat, dan gelijk aan 6

Tip. Als u een gratis proefversie van het Selecteer specifieke cellen functie, ga naar gratis download Kutools voor Excel eerst, en ga dan de bewerking toepassen volgens bovenstaande stappen.

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 (21)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Buenas noches,

Tengo una columna con varias categorías de tareas (administrativo, profesor, etc) y quiero armar la columna siguiente indicando si es x tarea que sea nivel alto, si es otra Medio y así. Intenté con la fórmula SI y SI. CONJUNTO pero no parece funcionar cuando no hay valores numéricos. Vi ejemplos pero con si C2 es mayor que entonces tal palabra...
This comment was minimized by the moderator on the site
Buen día, disculpa, queria ver si me puedes ayudar con una formula.

En una celda tengo una oracion, y quiero que la celda de un lado me escriba cierta letra o palabra cuando en la primera celda tenga alguna palabra.

Ejemplo
en la celda A1 tengo una oracion: papa manzana pasta, lechuga.
en la celda A2 tengo: papa manzana, zanahoria, lechuga.

Quiero que en la celda B1 me aparezca la palabra "ensalada" solo porque en la A1 tiene "lechuga"
y en la celda B2 me aparezca la palabra: "arbol" porque tiene la palabra "manzana"

Nota quiero que de prioridad a la lechuga antes que a la manzana
Sino se puede dar prioridad entonces digamos que quitamos la palabra "manzana" de la primera oracion


No se si me di a entender, no se me ocurrio como dar el ejemplo
This comment was minimized by the moderator on the site
Hi, luis, here is a formula may help you.
Take an example for explaining the formula, if cell contains "KTE" then returns "Y", if cell contains "KTW" then returns "T", if cell contains both of "KTE' and "KTW" then returns "Y".
=IF(AND(ISNUMBER(SEARCH("KTE",A3)), ISNUMBER(SEARCH("KTW",A3)) ),"Y", IF(ISNUMBER(SEARCH("KTE",A3)), "Y", IF(ISNUMBER(SEARCH("KTW",A3)), "T", "")))
change the reference and the values as you need.
https://www.extendoffice.com/images/stories/comments/sun-comment/doc-return-value-based-on-word.png
Tip: If you in spanish version, maybe need to change the formula to spanish formula.
This comment was minimized by the moderator on the site
How do you keep this going, if I have 5 other unique labels that need to spit out 5 other unique corresponding phrases?
This comment was minimized by the moderator on the site
Hi, Andy, yes, you need to use 5 different formulas to acheive your purpose.
This comment was minimized by the moderator on the site
kolom satu
adam
andi
budi
dst

kolom dua
andi jaya
budiarto
adam malik
dst


kolom 3 (hasil pakai rumus)


pertanyaan:
bagaimana rumus di kolom 3, jika kita ingin memunculkan nama kolom 2 dikolom 3 yg mengandung teks di kolom satu.

saya minta petunjuk dari para pakar excel.

Terima kasih
Andi
This comment was minimized by the moderator on the site
Hi, Andi, I realy like to help you, but I cannot read your language, could you login and upload a screenshot to show the result you want? Then I will try to find method to solve it.
This comment was minimized by the moderator on the site
kolom satu kolom dua kolom 3 (hasil rumus)
adam andi jaya
andi budiarto
budi adam malik
dst dst

bagaimana rumus di kolom 3, jika kita ingin memunculkan nama kolom 2 dikolom 3 yg mengandung teks di kolom satu.

saya minta petunjuk dari para pakar excel.

Terima kasih
Andi
This comment was minimized by the moderator on the site
If column has text, alpha-numeric & numeric values, using the convert tool does not apply the text values to numeric. Makes sense. Though, how could you configure a IF Vlookup to compensate if a cell has text?
This comment was minimized by the moderator on the site
Sorry, which convert tool you mean? The formula can work correctly whatever the column contains alpha, alpha-numeric or numeric string.
This comment was minimized by the moderator on the site
Hello,

Question. If I need this formula to apply to two different returns. For example, if a cell contains the word "Senior", another cell would return "32" and if the cell contains "Associate" then the other cell would return 16.
This comment was minimized by the moderator on the site
Here's the formula. Assume there's a list of titles starting in cell A2:

Senior Engineer
Associate Engineer
Senior Engineer
Senior Engineer
Vice President
Associate Engineer
Associate Engineer
Senior Vice Presdent

In cell B2 (or whatever cell you wish to populate with the results), write:

=IF(ISNUMBER(FIND("Senior",A2)),"32",IF(ISNUMBER(FIND("Associate",A2)),"16"))

You could check for additional values by adding additional nested IF statements.
This comment was minimized by the moderator on the site
Sorry I cannot figore out the correct formula to solve your problem, you can go to our forum https://www.extendoffice.com/forum.html to place your question, maybe someone can help you.
This comment was minimized by the moderator on the site
Thanks for this. Can this code be edited so that instead of placing specific text beside the source text, it can be formatted to place the text in a different cell?
This comment was minimized by the moderator on the site
i know what u mean. i need this function to.
This comment was minimized by the moderator on the site
Do you mean to extract the text in different cell while the cell contains the specifict text as below screenshot shown?
This comment was minimized by the moderator on the site
Sorry, I do not realy understand your question. Could you give me more detail description?
This comment was minimized by the moderator on the site
How would you write the formula is you have text-text-text and you want to pull the final text? AB-GUFJ-CD if you want to pull the CD?
This comment was minimized by the moderator on the site
Hello, this formula may help you =TRIM(RIGHT(SUBSTITUTE(A12,"-",REPT(" ",255)),255)), A12 is the text string you use, change it as you need. If it works, please let me know. Thanks.
This comment was minimized by the moderator on the site
LOL ...did you mean True?
This comment was minimized by the moderator on the site
Embarrrassed...yes, I mean true~~, I have rewrote it, thank u for ur remind.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations