Skip to main content

Conas sraitheanna bána/folmha a chur isteach go tapa Excel?

Seans go dtabharfaidh an chuid is mó againn aghaidh ar an bhfadhb i Excel go gcaithfimid sraith bhán a chur isteach idir gach ceann de na sraitheanna atá ann cheana féin, agus go bhfuil a fhios againn go léir conas a chéile bán a chur isteach de láimh. Ach beidh sé deacair na céadta sraitheanna bána a chur isteach má chuireann tú gach sraith isteach ina aonar. Seo roinnt cleasanna tapa chun cabhrú leat an fhadhb seo a réiteach.

Cuir isteach sraitheanna bána le feidhm Sórtáil
Cuir isteach sraitheanna malartacha bána le cód VBA
Cuir isteach go tapa uimhreacha sonracha sraitheanna bána le Kutools for Excel


Cuir isteach sraitheanna bána le feidhm Sórtáil

Tá an modh seo níos éasca ach timpeallán chun sraitheanna bána a chur isteach idir na sraitheanna atá ag imeacht. Is féidir leat a dhéanamh mar a leanas:

1. Teastaíonn colún bán in aice le do chuid sonraí. Mar shampla, tá bileog oibre agam a chuimsíonn A1: E9, is féidir leat colún F. a úsáid.

2. I gcill F1 ionchur uimhir 1, agus ionchur 2 i gcill F2.

3. Roghnaigh an uimhir 1 agus uimhir 2, agus cliceáil faoi dhó ar an láimhseáil líonadh, Excel líonfaidh sé na cealla i gcolún F go huathoibríoch.

4. Ansin cóipeáil an colún nua F seo (F1: F9), roghnaigh an chill F10, agus greamaigh an uimhir líonta uathoibríoch ó F1: F9. Féach an pictiúr:

5. Agus ansin cliceáil Dáta > Sórtáil, Agus Rabhadh Sórtáil tiocfaidh bosca dialóige amach, roghnaigh Leathnaigh an roghnú rogha, agus cliceáil Sórtáil… Féach an pictiúr:

6. Agus a Sórtáil beidh bosca dialóige le feiceáil, roghnaigh uimhir 1 ó na Sórtáil de réir liosta anuas agus ansin cliceáil ar an OK cnaipe. Féach an pictiúr:

Ansin tá na sraitheanna bán nua curtha isteach sna sraitheanna atá ag imeacht. Féach an pictiúr:

nótaí: Más mian leat dhá nó trí shraith bhána a chur isteach idir gach ró, is féidir leat an colún nua-líonta nua a chóipeáil dhá nó trí huaire chun na sraitheanna nua a chur leis.

Cuir isteach go tapa uimhreacha sainiúla sraitheanna bána chuig raon i Excel:

An Cuir Sraitheanna agus Colúin Bhána isteach fóntais de Kutools for Excel cabhrú leat uimhreacha áirithe sraitheanna nó colúin bhána a chur isteach go tapa i raon Excel.
íoslódáil Kutools for Excel Anois! (30- rian lae saor in aisce)


Cuir isteach sraitheanna malartacha bána le cód VBA

Má tá an bealach thuas beagáinín casta, is féidir leat an cód VBA seo a leanas a úsáid chun é a réiteach.

1. Brúigh na heochracha Alt + F11 chun na Microsoft Visual Basic d’iarratais fuinneog, ansin cliceáil Ionsáigh > Modúil agus an cód seo a leanas a ionchur sa Modúil:

Cód VBA: Cuir isteach sraitheanna bána isteach Excel

Sub InsertBlackRows()
'Updateby20131127
Dim Rng As Range
Dim WorkRng As Range
Dim FirstRow As Integer, xRows As Integer, xCols As Integer
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
FirstRow = WorkRng.Row
xRows = WorkRng.Rows.Count
xCols = WorkRng.Columns.Count
Application.ScreenUpdating = False
WorkRng.Cells(xRows, 1).Resize(1, xCols).Select
Do Until Selection.Row = FirstRow
    Selection.Insert Shift:=xlDown, CopyOrigin:=xlFormatFromLeftOrAbove
    Selection.Offset(-1, 0).Select
Loop
Application.ScreenUpdating = True
End Sub

2. Ansin cliceáil doc-multiply-ríomh-3 cnaipe nó brúigh an eochair F5 chun an cód a rith. Sa popping suas Kutoos le haghaidh Excel bosca dialóige, roghnaigh le do thoil an raon a chuirfidh tú isteach sraitheanna bána, agus ansin cliceáil ar an OK cnaipe. Féach ar an scáileán:

Ansin tá sraith bán nua curtha isteach idir gach dhá shraith. Féach an pictiúr:


Cuir isteach go tapa uimhreacha sonracha sraitheanna bána le Kutools for Excel

Ní thagraíonn an dá mhodh thuas ach sraitheanna bána a chur isteach idir gach sraitheanna, chun as a chéile bán nó sraitheanna iolracha a chur isteach i ndiaidh gach naoú sraitheanna, conas ba cheart duit a dhéanamh? Seo molaim an Cuir Sraitheanna & Colúin Bhána isteach fóntais de Kutools for Excel. Is féidir leis an inniúlacht seo cabhrú le huimhreacha sonracha sraitheanna bána a chur isteach go tapa i ndiaidh gach naoú sraitheanna i raon áirithe. Déan mar a leanas le do thoil.

Roimh iarratas a dhéanamh Kutools for Excel, Le do thoil é a íoslódáil agus a shuiteáil ar dtús.

1. Roghnaigh an raon is mian leat na sraitheanna bán a chur isteach, agus cliceáil Kutools > Ionsáigh > Cuir Sraitheanna & Colúin Bhána isteach. Féach an pictiúr:

2. Sa Cuir Sraitheanna & Colúin Bhána isteach bosca dialóige, roghnaigh Sraitheanna folmha sa chineál Ionsáigh roinn, sonraigh líon na sraitheanna eatramh a chuirfidh tú isteach sraitheanna bán bunaithe ar agus líon na sraitheanna is mian leat a chur isteach, agus ansin cliceáil ar an OK cnaipe. Féach an pictiúr:

Ansin feiceann tú gur cuireadh sraitheanna bána áirithe isteach tar éis gach dhá shraith. Féach screenshots:

nótaí: an uimhir sa Eatramh agus Rónna is féidir a choigeartú chun freastal ar do riachtanas. Mar shampla, is féidir leat trí, ceithre, cúig… sraitheanna bána a chur isteach i ndiaidh gach aon, dhá, trí… shraith.

  Más mian leat triail saor in aisce a bheith agat (30-lá) den áirgiúlacht seo, cliceáil le do thoil chun é a íoslódáil, agus ansin téigh chun an oibríocht a chur i bhfeidhm de réir na gcéimeanna thuas.


Cuir isteach go tapa uimhreacha sonracha sraitheanna bána le Kutools for Excel


Earraí gaolmhara

Uirlisí Táirgiúlachta Oifige is Fearr

Oifig Tacaíochta/Excel 2007-2021 agus 365 | Ar fáil i 44 Teanga | Éasca le Díshuiteáil go hiomlán

Gnéithe Coitianta: Aimsigh/Aibhsigh/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 go Words, Comhshó Airgeadra,...)   |   7 Cumaisc & Scoilt uirlisí (Sraitheanna Comhcheangail Casta, Cealla Scoilt,...)   |   ... agus eile

Kutools for Excel Tá breis is 300 gné ann, A chinntiú nach bhfuil uait ach cliceáil ar shiúl...

Supercharge Do Excel scileanna: Éifeachtúlacht Taithí Mar Riamh Roimhe Le Kutools for Excel  (Triail Iomlán 30-Lá Saor in Aisce)

cluaisín kte 201905

Ráthaíocht Neamhchoinníollach Airgid Ar Ais 60-LáLeigh Nios mo... Íoslódáil saor in aisce ... Ceannach ... 

Office Tab Tugann sé comhéadan Tabbed chuig Oifig, agus Déan do chuid Oibre i bhfad níos éasca

  • Cumasaigh eagarthóireacht agus léamh tabáilte isteach Word, Excel, Pointe cumhachta, 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éaduithe ar do tháirgiúlacht faoi 50%, agus laghdaítear na céadta cad a tharlaíonn nuair luiche duit gach lá! (Triail Iomlán 30-Lá Saor in Aisce)
Ráthaíocht Neamhchoinníollach Airgid Ar Ais 60-LáLeigh Nios mo... Íoslódáil saor in aisce ... Ceannach ... 
 
Comments (43)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks so much for this. Cheers.
This comment was minimized by the moderator on the site
So I'm running into a situation where a have a couple hundred rows of information. Id like to create a space between specific data. example. I have six rows with "CH-01" in it and then two rows with CH-02- and then three rows of CH-03. What I want to happen is create a blank row between the change of numbers. However I don't have the time or energy to do this for each individual change. Please if anyone has a solution for this problem i'd be so happy!
This comment was minimized by the moderator on the site
I have the same problem too, have you figured out how to solve this?
This comment was minimized by the moderator on the site
wonderful! it worked
This comment was minimized by the moderator on the site
thankssssss a lot you are an awesome people.
This comment was minimized by the moderator on the site
Thaaannkksss its work like magic
This comment was minimized by the moderator on the site
The sort method worked like a charm. Thanks for saving me time coding
This comment was minimized by the moderator on the site
i'm not religious or anything, but you are god. ;-)
This comment was minimized by the moderator on the site
The sort option worked, sometimes we learn all advanced and tuff things but we tend to forget the simple ones.. Thanks a lot
This comment was minimized by the moderator on the site
Can the VBA code be changed so that you do not need to select the range you want sorted, but instead is a specific range. For example I always want the range to be (S5:S500) I would like to run this code as part of a macro and do to the selection application this isn't working. This code works faster by far than other code ive tried.
This comment was minimized by the moderator on the site
very good its superb
This comment was minimized by the moderator on the site
GOOD STUFF! Saved me lots of time
This comment was minimized by the moderator on the site
Thank you!!!!!!!!! So brilliant! Just saved me 10 min of inserting rows!
This comment was minimized by the moderator on the site
Siperb. Thanks . it worked...!!
This comment was minimized by the moderator on the site
It worked, it did the trick for me. Thanks!
This comment was minimized by the moderator on the site
Siperb. Thanks . u r the best...!!
This comment was minimized by the moderator on the site
the best problem solve ever!!! thanks dude!!! the kutools work like what i want to do..thank you so much!!
This comment was minimized by the moderator on the site
This is EXACTLY what I was looking for, simple, brilliant, something I never would have thought of. (1st method) Thank you! (saved me at least 3 hrs of work) :lol:
This comment was minimized by the moderator on the site
Thanks for publish these important Tricks for solving Critical problems.
This comment was minimized by the moderator on the site
Is there any formula which automatically add row once applied. For example My data are includes of 10 rows and the sum of that 10 figures are in 12th row. Now if I add new figure in 11th row the the Total should be shifted to the 13 row.
This comment was minimized by the moderator on the site
Thank that's good trick what I want
This comment was minimized by the moderator on the site
Here is the Answer what I want Thanks
This comment was minimized by the moderator on the site
the best problem solve ever!!! thanks dude!!! the kutools work like what i want to do..thank you so much!! terima kasih.. :D
This comment was minimized by the moderator on the site
Simply use Alt+H+I+R in a sequence manner to add a blank row immediatly!!!
This comment was minimized by the moderator on the site
I got it nw but it doesnt wrk with different cell sizes....plz help in the same...
This comment was minimized by the moderator on the site
Unable to get it correct...tried to follow the same steps but cant get my querry resolved...plz help me.dnt knw wts goin wrong
This comment was minimized by the moderator on the site
Really good one it has helped me and easy to follow,
This comment was minimized by the moderator on the site
Not an expert at Excel but found an easy way (for me). I added a column at A. In the first 3 rows of data typed 1, 3, 5 selected & expanded down the page. At the end of my data I used the blank cells in A & typed 2, 4, 6 & expanded this to equal the number of odd rows then sorted by column A smallest to largest. I was left with column A 1 - 250 & every other line was data / blank row.
This comment was minimized by the moderator on the site
How to add blank row after every 9th row of the data, Eg blank row in 10th row, 20th row
This comment was minimized by the moderator on the site
Great!!! You saved hours of Work!!!
This comment was minimized by the moderator on the site
you save me of hours of work!!
This comment was minimized by the moderator on the site
You are the best excel site on the net really you are the king or Excel
This comment was minimized by the moderator on the site
Success... Thanks For the wonderful idea
This comment was minimized by the moderator on the site
Perfect solution...worked fine for me.thanks champ
This comment was minimized by the moderator on the site
I want to insert two rows in between data please help
This comment was minimized by the moderator on the site
Instead of doing just 2 1-9's do 3 1-9's and it will put 2 rows between data, using the first example.
This comment was minimized by the moderator on the site
very help full. thanks to you
This comment was minimized by the moderator on the site
Excellent stuff !!!!!!!!!!!!!!
This comment was minimized by the moderator on the site
It's what I need, many thanks!! Excellent!!
This comment was minimized by the moderator on the site
Amazing! Was really simple and came out perfect! Thank you
This comment was minimized by the moderator on the site
excelent...thanks a lot.
This comment was minimized by the moderator on the site
Worked perfectly. Thanks for the help.
This comment was minimized by the moderator on the site
Thank you. It was helpful.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations