Skip i'r prif gynnwys

Sut i gymharu dwy gell a'u dychwelyd Ie os cânt eu paru yn Excel?

Gan dybio bod gennych chi ddwy golofn fel y sgrinlun canlynol a ddangosir, ac yn awr, mae angen i chi gymharu'r celloedd yn yr un rhes o'r ddwy golofn hyn ac yna dychwelyd Ie os ydynt yn cyfateb yn union, sut allwch chi ei wneud i ddelio ag ef? Bydd yr erthygl hon yn dangos dull i chi ei wneud yn gyflym yn Excel.

Cymharwch ddwy gell a'u dychwelyd Ie os cânt eu paru â'r fformiwla


Cymharwch ddwy gell a'u dychwelyd Ie os cânt eu paru â'r fformiwla

Gall y fformiwla ganlynol eich helpu i gymharu dwy gell yn olynol yn gyflym a dychwelyd Ie os ydynt yn cyfateb yn Excel. Gwnewch fel a ganlyn.

1. Dewiswch gell wag, copïwch fformiwla =IF(A2=B2,"Yes","") i mewn i'r bar fformiwla ac yna pwyswch y Rhowch allwedd. Gweler y screenshot:

2. Daliwch i ddewis y gell canlyniad cyntaf, a llusgwch y Llenwch Trin i gael yr holl ganlyniadau fel y dangosir isod y screenshot.

Nodyn: Os ydych chi hefyd eisiau arddangos canlyniad fel “Na” os yw'r ddwy gell o'i chymharu yn ddigymar, newidiwch y fformiwla i =IF(A2=B2,"Yes","No") . Gweler y screenshot:


Erthyglau cysylltiedig:

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 (10)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Buenas tardes, me paso por acá para preguntar si alguien conoce alguna manera en Excel para comparar 2 celdas de la siguiente manera:

Celda A1= LUIS CORDOBA FRANCISCO
Celda A2= FRANCISCO LUIS CORDOBA

como se observa, contiene las mismas palabras pero en diferente orden, si hago una función igual, va a decir que no coincide. Si alguien sabe como hacerlo se lo agradezco.
This comment was minimized by the moderator on the site
Hi CESAR PEREZ,

Sorry, in this case Excel will determine the two cells as a mismatch.
This comment was minimized by the moderator on the site
how to have vlookup find values and then remove found values from lookup table (or copy the rest of the values).

Why is that necessary, because the first group of people (that are found with vlookup) are the main focus of the research, and the rest are control group and we need the within the same sheet
This comment was minimized by the moderator on the site
Hi kecman,
Sorry I did not find a way to deal with this problem. I suggest you post the problem to the forum below to get help from other Excel enthusiasts.
https://www.extendoffice.com/forum/kutools-for-excel.html
This comment was minimized by the moderator on the site
What if you want to return a value if they are not the same instead of if they match?
This comment was minimized by the moderator on the site
Meghan Say,
To return a value if they are not the same, please apply the following formula.
=IF(A2<>B2,"Yes","")
This comment was minimized by the moderator on the site
can you return text comment if one cell is blank?
This comment was minimized by the moderator on the site
Hi Mark Walczak,
You cannot generate text comments with formulas. Sorry for the inconvenience.
This comment was minimized by the moderator on the site
How about with combination of highlights?
This comment was minimized by the moderator on the site
Hi,
Sorry I don't understand what you mean. Would you mind providing a screenshot of your data? Sorry for the inconvenience.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations