Skip i'r prif gynnwys

Sut i ddod o hyd i'r modd ar gyfer gwerth testun o restr / colofn yn Excel?

Fel y gwyddoch, gallwn gymhwyso swyddogaeth MODE i ddarganfod yn gyflym y nifer amlaf o ystod benodol yn Excel. Fodd bynnag, nid yw'r swyddogaeth MODE hon yn gweithio gyda gwerthoedd testun. Peidiwch â phoeni! Bydd yr erthygl hon yn rhannu dau ddull hawdd i ddod o hyd i'r modd ar gyfer gwerthoedd testun o restr neu golofn yn hawdd yn Excel.


Dewch o hyd i'r modd ar gyfer gwerthoedd testun o restr / colofn gyda fformiwla

Bydd y dull hwn yn cyflwyno fformiwla arae i ddod o hyd i'r modd ar gyfer gwerthoedd testun (y gwerth testun mwyaf aml) mewn rhestr yn Excel. Gwnewch fel a ganlyn os gwelwch yn dda:

Dewiswch gell wag y byddwch chi'n gosod y gwerth mwyaf aml ynddi, teipiwch y fformiwla isod, ac yna pwyswch y Ctrl + Shift + Enter allweddi.

=INDEX(A2:A20,MODE(MATCH(A2:A20,A2:A20,0)))
Tip: A2: A20 yn cyfeirio at yr ystod yr ydych am bennu gwerth testun (modd) amlaf ohoni. Dylech ddisodli A2: A20 gydag ystod wirioneddol eich data yn cynnwys y gwerthoedd testun i'w dadansoddi.

Nawr mae'r gwerth testun amlaf (modd ar gyfer) wedi'i ddarganfod a'i ddychwelyd i'r gell a ddewiswyd. Gweler y screenshot:

rhuban nodyn Mae fformiwla yn rhy gymhleth i'w gofio? Cadwch y fformiwla fel cofnod Testun Auto i'w ailddefnyddio gyda dim ond un clic yn y dyfodol!
Darllen mwy…     Cyfnod treialu am ddim

Dewch o hyd i'r modd ar gyfer gwerthoedd testun o restr / colofn gyda Kutools ar gyfer Excel

Os oes gennych chi Kutools ar gyfer Excel wedi'i osod, gallwch chi drosoli'r parod i'w ddefnyddio Dewch o hyd i'r gwerth mwyaf cyffredin fformiwla yn ei Cynorthwyydd Fformiwla suite i nodi'n ddiymdrech y gwerthoedd testun mwyaf cyffredin (modd ar gyfer) o restr, gan osgoi'r angen i gofio unrhyw fformiwlâu Excel.

Kutools ar gyfer Excel - Yn llawn dros 300 o offer hanfodol ar gyfer Excel. Mwynhewch dreial 30 diwrnod llawn sylw AM DDIM heb fod angen cerdyn credyd! Lawrlwytho nawr!

  1. Dewiswch gell wag lle byddwch yn gosod y gwerth testun mwyaf aml (modd ar gyfer).
  2. dewiswch Kutools > Cynorthwyydd Fformiwla > Chwilio a Chyfeirnod > Dewch o hyd i'r gwerth mwyaf cyffredin.
  3. Yn yr agoriad Cynorthwyydd Fformiwla blwch deialog, nodwch y rhestr lle byddwch yn edrych am y gwerth testun mwyaf aml i mewn i'r Ystod blwch, a chliciwch ar y Ok botwm.

Trwy ddilyn y camau uchod, bydd y gwerth testun mwyaf aml (modd ar gyfer) yn cael ei ddychwelyd i'r gell a ddewiswyd.

Nodyn: Eisiau cael mynediad i'r Cynorthwyydd Fformiwla swît? Lawrlwythwch Kutools ar gyfer Excel nawr! Y tu hwnt i hyn, mae gan Kutools fyrdd o 300+ o nodweddion eraill ac mae'n cynnig treial 30 diwrnod am ddim. Peidiwch ag aros, rhowch gynnig arni heddiw!


Demo: Dewch o hyd i'r modd ar gyfer gwerthoedd testun o restr / colofn


Kutools ar gyfer Excel: Dros 300 o offer defnyddiol ar flaenau eich bysedd! Dechreuwch eich treial am ddim 30 diwrnod heb unrhyw gyfyngiadau nodwedd heddiw. Lawrlwytho Nawr!

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 (14)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Hi, Can I return the most common text and add another criteria. So if there is for example another row that said 'first language of country' can I develop a formula to return the most popular given this new criteria?
This comment was minimized by the moderator on the site
Hi, in that case, you can use this formula: =INDEX(A2:A20, MODE(IF(B2:B20="first language of country", MATCH(A2:A20, A2:A20, 0))))
This comment was minimized by the moderator on the site
Thanks so much! How about if I want to go on to find the 2nd and 3rd most popular?
Also, can I make this formula work if there is only 1 value in the data-set or if there is a tie?
This comment was minimized by the moderator on the site
Is there a way to get multiple modes with text? I have tried embedding the MODE.MULTI function in the place of MODE and it doesn't return more than one still.
This comment was minimized by the moderator on the site
Hi there,

Yes, you can use MODE.MULTI function.

If you are using Excel 2019 or earlier versions, 1. you can select a list of blank cells, 2. and then type in the formula =INDEX(range,MODE.MULT(MATCH(range,range,0))). 3. Then, press Ctrl + Shift + Enter keys to get the result.

If you are using Microsoft 365 or Excel 2021, you just need to type in the formula =INDEX(range,MODE.MULT(MATCH(range,range,0))) and then press Enter.

Amanda
This comment was minimized by the moderator on the site
Didn't work on Google sheet
This comment was minimized by the moderator on the site
Hi there, sorry that the tutorial is specially written for Excel. 😅
Amanda
This comment was minimized by the moderator on the site
Thanks! It worked! I was wondering.. is there a way to find the second most frequent observation? the third? and so on...
Rated 5 out of 5
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
this formula will not work in Excel365, please help.
This comment was minimized by the moderator on the site
Hi kev92569,
I just tried the formula on Excel 365, it worked well. Did you change the three ranges (A2:A20) in the formula to your real range? =INDEX(A2:A20,MODE(MATCH(A2:A20,A2:A20,0)))
Amanda
This comment was minimized by the moderator on the site
Yes I did and it either gave an error or didn't return a text result when I needed it to.  I figured out a different formula that seems to work.
This comment was minimized by the moderator on the site
Well, that's good for you. Can you also share the different formula here in case the one in the article does not work for other users?
This comment was minimized by the moderator on the site
the names list in text format, text to column does not work. i tried bunch of stuff. please help.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations