Skip to main content

Conas sraitheanna a shórtáil go tapa chun colún eile in Excel a mheaitseáil?

doc sórtáil le colún eile 1
Má tá dhá liosta agat i mbileog, agus go bhfuil na luachanna céanna ag an dá cheann acu ach in ord difriúil, conas is féidir leat liosta amháin a shórtáil chun liosta eile a mheaitseáil mar atá thíos an pictiúr a thaispeántar? San Airteagal seo, tabharfaidh mé foirmle isteach chun cabhrú leat í a réiteach go tapa in Excel.
Sraitheanna sraitheanna chun colún eile a mheaitseáil

mboilgeog cheart gorm saighead Sraitheanna sraitheanna chun colún eile a mheaitseáil

Chun sraitheanna a shórtáil chun colún eile a mheaitseáil, seo foirmle a chabhróidh leat.

1. Roghnaigh cill bhán in aice leis an gcolún is mian leat a roghnú, mar shampla B1, agus ansin cuir isteach an fhoirmle seo = MATCH (A1, C: C, BRÉAGACH), agus tarraing láimhseáil autofill síos chun an fhoirmle seo a chur i bhfeidhm. Féach an pictiúr:
doc sórtáil le colún eile 2

Leid: C: Is é C an colún ar mhaith leat dul i muinín bunaithe air, agus is é A1 an chéad chill den cholún is mian leat a shórtáil.

2. Agus ansin tá liosta uimhreacha ar taispeáint sna cealla foirmle. Roghnaigh an liosta is mian leat a roghnú agus liosta na n-uimhreacha, agus cliceáil Dáta > Sórtáil. Féach an pictiúr:
doc sórtáil le colún eile 3

3. Agus sa Sórtáil dialóg, roghnaigh an colún ina bhfuil na foirmlí ó Colún liosta anuas, agus roghnaigh luachanna agus An ceann is lú go dtí an ceann is mó ó na Sórtáil Ar agus Ordú liostaí anuas ar leithligh. Féach an pictiúr:
doc sórtáil le colún eile 4

4. cliceáil OK. Agus tá an colún A curtha in eagar chun colún C. a mheaitseáil
doc sórtáil le colún eile 5

Leid: Is féidir leat an colún foirmle a scriosadh tar éis duit a shórtáil mura bhfuil sé uait níos mó.


Déan cealla / Sraitheanna / Colúin a shórtáil go tapa nó a roghnú go randamach as rogha in Excel

Kutools for Excel's Sort Range Randamach in ann sonraí a shórtáil nó a roghnú go randamach de réir cealla nó colúin nó sraitheanna. Cliceáil le haghaidh trialach saor in aisce 30 lá le feiceáil go hiomlán!
doc sórtáil go randamach
doc a roghnú go randamach
 
 Kutools for Excel: le níos mó ná 300 breiseán áisiúil Excel, saor in aisce le triail gan aon teorannú i 30 lá.

Uirlisí Táirgiúlachta Oifige is Fearr

🤖 Kutools AI Aide: anailís sonraí a réabhlóidiú bunaithe ar: Forghníomhú Chliste   |  Gin Cód  |  Cruthaigh Foirmlí Saincheaptha  |  Anailís a dhéanamh ar Sonraí agus Cairteacha a Ghin  |  Feidhmeanna Kutools a agairt...
Gnéithe Coitianta: Faigh, Aibhsigh nó Aithnigh Dúblaigh   |  Scrios Sraitheanna Bána   |  Comhcheangail Colúin nó Cealla gan Sonraí a Chailleadh   |   Babhta gan Foirmle ...
Cuardaigh Super: Ilchritéir VLookup    VLookup Illuachanna  |   VLookup Trasna Ilbhileoga   |   Amharc doiléir ....
Liosta anuas Casta: Go tapa Cruthaigh Liosta Anuas   |  Liosta anuas Cleithiúnach   |  Liosta Buail Isteach Ilroghnacha ....
Bainisteoir Colún: Cuir Líon Sonrach Colún leis  |  Colúin Bog  |  Scoránaigh Stádas Infheictheachta na gColún Ceilte  |  Déan comparáid idir Raonta & Colúin ...
Gnéithe Réadmhaoin: Fócas Eangaí   |  Amharc Dearaidh   |   Barra Mór na Foirmle    Leabhar Oibre & Bainisteoir Bileog   |  Leabharlann Acmhainní (Uaththéacs)   |  Piocálaí Dáta   |  Comhcheangail Bileoga Oibre   |  Criptigh/Díchriptigh Cealla    Seol Ríomhphost trí Liosta   |  Scagaire Super   |   Scagaire Speisialta (scagaire trom/iodálach/stailc tríd...) ...
Barr 15 Uirlisí12 Téacs uirlisí (Cuir Téacs, Bain Carachtair,...)   |   50 + Cairt cineálacha (Cairt Gantt,...)   |   40+ Praiticiúil Foirmlí (Ríomh aois bunaithe ar lá breithe,...)   |   19 Insertion uirlisí (Cuir isteach Cód QR, Ionsáigh Pictiúr ón gCosán,...)   |   12 Tiontú uirlisí (Uimhreacha le Focail, Comhshó Airgeadra,...)   |   7 Cumaisc & Scoilt uirlisí (Sraitheanna Comhcheangail Casta, Cealla Scoilt,...)   |   ... agus eile

Supercharge Do Scileanna Excel le Kutools le haghaidh Excel, agus Éifeachtúlacht Taithí Cosúil Ná Roimhe. Kutools le haghaidh Excel Tairiscintí Níos mó ná 300 Ardghnéithe chun Táirgiúlacht a Treisiú agus Sábháil Am.  Cliceáil anseo chun an ghné is mó a theastaíonn uait a fháil ...

Tuairisc


Tugann Tab Oifige comhéadan Tabbed chuig Office, agus Déan Do Obair i bhfad Níos Éasca

  • Cumasaigh eagarthóireacht agus léamh tabbed i Word, Excel, PowerPoint, Foilsitheoir, Rochtain, Visio agus Tionscadal.
  • Oscail agus cruthaigh cáipéisí iolracha i gcluaisíní nua den fhuinneog chéanna, seachas i bhfuinneoga nua.
  • Méadaíonn do tháirgiúlacht 50%, agus laghdaíonn sé na céadta cad a tharlaíonn nuair luch duit gach lá!

Comments (25)
Rated 4.25 out of 5 · 2 ratings
This comment was minimized by the moderator on the site
Gracias, me ahorraste horas de trabajo y aprendí algo nuevo.
Rated 5 out of 5
This comment was minimized by the moderator on the site
Sorting data in rows to match respective column headers in excel.

A B C D E
---------
D
A C
C E
B D E
E
What I want it to look like:

A B C D E
---------
D
A C
C E
B D E
E
This comment was minimized by the moderator on the site
What it looks like:

A B C D E
---------
D
A C
C E
B D E
E
What I want it to look like:

A B C D E
---------
D
A C
C E
B D E
E

can we do this in Excel?
Rated 3.5 out of 5
This comment was minimized by the moderator on the site
Annn the formatting for that comment broke.

It would re-order it to:
0230
...........0231
...........0234
0236 0236
...........0240
0241
............0245
0250 0250
............0251

Is what I meant by insert empty cells as needed in each column
This comment was minimized by the moderator on the site
A lot of people are asking this question (on a 4 year old post) but I haven't found an answer.

I have 4 unique columns of time stamps from 4 sources. Not all the time stamps match up. I might have 0230, 0236, 0241, 0250 in one column and 0231, 0234, 0236, 0240, 0245, 0250, 0251 in another column. Is there away to have excel match the columns and insert empty cells as needed?
So instead of:
0230 0231
0236 0234
0241 0236 etc

It would re-order it to:
0230
0231
0234
0236 0236
0240
0241
0245
0250 0250
0251

I have about 13,000 rows I need to do this to across 4 columns so adding by hand or inserting rows is not feasible.
This comment was minimized by the moderator on the site
Hi, JOAT, you can use this formula:

=IFERROR(VLOOKUP(G1,$I$1:$I$8,1,FALSE)
See screenshot:
https://www.extendoffice.com/images/stories/comments/sun-comment/doc-lookup-formula-1.png
This comment was minimized by the moderator on the site
Hi, Great article!
I am wondering. If in the example above, column A does not have the value G2, this means that the sorting operation will be out of sync; 1,3,4,5,6,7,8. (missing a match for G2 on row index 2). Assuming that we want the rest of the data to line up, how can we resolve this without manually changing each line?
Is it possible to displace column A and use column B as a row index instead?
This comment was minimized by the moderator on the site
1 52 63 14 2 HOW CAN above two column data sort same data in one row
This comment was minimized by the moderator on the site
It doesn't help if the info is not exactly the same in both columns eg. column 1 has C,D,B, A and column 2 has B,D,C,A,G,R,T,H. When sorting column A to match column B, they won't match up. Any solution for this?
This comment was minimized by the moderator on the site
Sorry, the method only work while two columns have same numuber rows and same data but in different order.
This comment was minimized by the moderator on the site
Please share some way to sort if the info is not exactly the same in both columns eg. column 1 has C,D,B, A and column 2 has B,D,C,A,G,R,T,H.
This comment was minimized by the moderator on the site
Hey Sujith,

Did you find a solution because I have this exact problem. Please help
This comment was minimized by the moderator on the site
Daniella/Sujith,
How would the unique members of the resorted column be ordered? If they are numeric or alpha entries, then the ordering is simple; otherwise, it is less intuitive. May be easiest to isolate the 1-1 matching rows between the ref column and subject column, apply the ordering approach detailed above on that subset, then utilize a custom sort on the entire column as a final step. All of this is highly dependent on what type of data you have and ordering you expect to achieve.
-MH
This comment was minimized by the moderator on the site
Thanks a lot for this post.. made my work a lot easier :)
This comment was minimized by the moderator on the site
Anyone can help how to sort like below:

Column A is having and column B is having

1 1

1 2

2 1

2 2

But I need both column as


1

1

2

2
This comment was minimized by the moderator on the site
I do not understand your problem, can you give me more details?
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