Skip i'r prif gynnwys

Sut i drin a yw cell yn cynnwys gair yna rhowch destun mewn cell arall?

Dyma restr o ID y cynnyrch, a nawr rydw i eisiau darganfod a yw'r gell yn cynnwys llinyn “KTE”, ac yna rhowch y testun “GWIR” yn ei gell gyfagos fel islaw'r llun a ddangosir. Oes gennych chi unrhyw ffyrdd cyflym i'w ddatrys? Yn yr erthygl hon, rwy'n siarad am y triciau ar ddarganfod a yw cell yn cynnwys gair ac yna'n rhoi testun yn y gell gyfagos.


Os yw cell yn cynnwys gair yna mae cell arall yn cyfateb i destun penodol

Dyma fformiwla syml a all eich helpu i wirio’n gyflym a yw cell yn cynnwys gair, ac yna rhoi testun yn ei gell nesaf.

Dewiswch y gell rydych chi am roi'r testun, a theipiwch y fformiwla hon = OS (ISNUMBER (CHWILIO ("KTE", A2)), "Gwir", "") ac yna llusgo handlen llenwi auto i lawr i'r celloedd rydych chi am gymhwyso'r fformiwla hon. Gweler y screenshot:

doc os yw cell yn cynnwys gair yna cyfartal 8 saeth saethu i'r dde doc os yw cell yn cynnwys gair yna cyfartal 9

 

Yn y fformiwla, A2 yw'r gell rydych chi am ei gwirio os yw'n cynnwys gair penodol, a KTE yw'r gair rydych chi am ei wirio, Gwir yw'r testun rydych chi am ei arddangos mewn cell arall. Gallwch chi newid y cyfeiriadau hyn yn ôl yr angen.


Os yw cell yn cynnwys gair yna dewiswch neu amlygwch

Os ydych chi am wirio a yw cell yn cynnwys gair penodol ac yna ei ddewis neu dynnu sylw ato, gallwch chi gymhwyso'r Dewiswch Gelloedd Penodol nodwedd o Kutools ar gyfer Excel, a all drin y swydd hon yn gyflym.

Kutools ar gyfer Excel, gyda mwy na 300 swyddogaethau defnyddiol, yn gwneud eich swyddi yn haws. 

Ar ôl gosod Kutools ar gyfer Excel, gwnewch fel isod:(Lawrlwythwch Kutools Am Ddim ar gyfer Excel Nawr!)

1. Dewiswch yr ystod rydych chi am ei gwirio a yw'r gell yn cynnwys gair penodol, a chlicio Kutools > dewiswch > Dewiswch Gelloedd Penodol. Gweler y screenshot:

doc os yw cell yn cynnwys gair yna cyfartal 3

2. Yna yn y dialog popping, gwiriwch Cell dewis, a dewis Yn cynnwys o'r gwymplen gyntaf, yna teipiwch y gair rydych chi am ei wirio yn y blwch testun nesaf. Gweler y screenshot:
doc os yw cell yn cynnwys gair yna cyfartal 4

3. Cliciwch Ok, mae deialog yn galw allan i'ch atgoffa sut y gall celloedd gynnwys y gair rydych chi am ddod o hyd iddo, a chlicio OK i gau'r ymgom. Gweler y screenshot:
doc os yw cell yn cynnwys gair yna cyfartal 5

4. Yna mae'r celloedd sy'n cynnwys y gair penodedig wedi'u dewis, os ydych chi am dynnu sylw atynt, ewch i Hafan > Llenwch Lliw i ddewis un lliw llenwi i'w rhagorol.
doc os yw cell yn cynnwys gair yna cyfartal 6

Awgrym. Os ydych chi am gael treial am ddim o'r Dewiswch Gelloedd Penodol swyddogaeth, os gwelwch yn dda ewch i lawrlwytho am ddim Kutools ar gyfer Excel yn gyntaf, ac yna ewch i gymhwyso'r llawdriniaeth yn ôl y camau uchod.

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
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