Ana içeriğe atla

Excel'de sütun listesini virgülle ayrılmış listeye nasıl dönüştürebilirim?

Bir sütun veri listesini virgülle veya diğer ayırıcılarla ayrılmış bir listeye dönüştürmek ve sonucu aşağıda gösterildiği gibi bir hücreye çıkarmak istiyorsanız, CONCATENATE işleviyle veya Excel'de bir VBA çalıştırarak bunu yapabilirsiniz.


TEXTJOIN işleviyle sütun listesini virgülle ayrılmış listeye dönüştürün

Excel METİNBİRLEŞTİR işlevi, bir satır, sütun veya belirli bir sınırlayıcıya sahip bir hücre aralığındaki birden çok değeri birleştirir.

İşlevin yalnızca Office 365 için Excel, Excel 2021 ve Excel 2019'da kullanılabildiğini unutmayın.

Sütun listesini virgülle ayrılmış listeye dönüştürmek için lütfen boş bir hücre seçin, örneğin C1 hücresi ve bu formülü yazın =METİN BİRLEŞTİRME(", ",DOĞRU,A1:A7) (A1: A7 virgül tırtıklı listeye dönüştüreceğiniz sütun, "" listeyi nasıl ayırmak istediğinizi gösterir). Aşağıdaki ekran görüntüsüne bakın:


CONCATENATE işlevi ile sütun listesini virgülle ayrılmış listeye dönüştürün

Excel'de CONCATENATE işlevi, sütun listesini virgülle ayrılmış bir hücrede bir listeye dönüştürebilir. Lütfen şunları yapın:

1. Listenin ilk verilerine, örneğin C1 hücresine bitişik boş bir hücre seçin ve bu formülü yazın = BİRLEŞTİR (TRANSPOSE (A1: A7) & ",") (A1: A7 virgül tırtıklı listeye dönüştüreceğiniz sütun, , "" listeyi ayırmak istediğiniz ayırıcıyı gösterir). Aşağıdaki ekran görüntülerine bakın:

2. Vurgulayın TRANSPOSE (A1: A7) & "," formülde ve F9 tuşuna basın.

3. Küme parantezlerini kaldırın {ve } formülden girin ve Keşfet tuşuna basın.

Şimdi, sütun listesindeki tüm değerlerin bir hücrede bir listeye dönüştürüldüğünü ve virgülle ayrılmış olduğunu görebilirsiniz. Yukarıdaki ekran görüntüsüne bakın.

Kutools for Excel ile bir sütun listesini virgülle ayrılmış bir listeye hızla dönüştürün

Kutools for Excel's Veri Kaybetmeden Sütunları veya Satırları Birleştirme yardımcı program, Excel kullanıcılarının verileri kaybetmeden birden çok sütunu veya satırı tek bir sütun / satırda kolayca birleştirmesine yardımcı olabilir. Ek olarak, Excel kullanıcıları bu birleştirilmiş metin dizelerini satır başı veya satır başı ile kaydırabilir.


VBA ile sütun listesini virgülle ayrılmış listeye dönüştürün

CONCATENATE işlevi sizin için biraz sıkıcıysa, sütun listesini bir hücredeki bir listeye hızlı bir şekilde dönüştürmek için bir VBA kullanabilirsiniz.

1. Ambar ALT tuşuna basın ve tuşuna basın. F11 klavyede bir Uygulama için Microsoft Visual Basic pencere.

2. tıklayın Ekle > modülve VBA'yı modüle kopyalayın.

VBA: Sütun listesini virgülle ayrılmış listeye dönüştür

Sub ChangeRange()
'Updateby20140310
Dim rng As Range
Dim InputRng As Range, OutRng As Range
xTitleId = "KutoolsforExcel"
Set InputRng = Application.Selection
Set InputRng = Application.InputBox("Range :", xTitleId, InputRng.Address, Type:=8)
Set OutRng = Application.InputBox("Out put to (single cell):", xTitleId, Type:=8)
outStr = ""
For Each rng In InputRng
    If outStr = "" Then
        outStr = rng.Value
    Else
        outStr = outStr & "," & rng.Value
    End If
Next
OutRng.Value = outStr
End Sub

3. tıklayın koşmak tuşuna basın veya tuşuna basın. F5 VBA'yı çalıştırmak için.

4. Ekranda görüntülenen bir iletişim kutusu ve dönüştürmek istediğiniz sütun listesini seçebilirsiniz. Ekran görüntüsüne bakın:

5. tıklayın OK, ardından hücre seçmeniz için başka bir iletişim kutusu açılır. Ekran görüntüsüne bakın:

6. tıklayın OKve sütun listesindeki tüm değerler bir hücrede virgülle ayrılmış bir listeye dönüştürülmüştür.

Bahşiş: Yukarıdaki VBA'da "," ihtiyacınız olan ayırıcıyı belirtir ve istediğiniz gibi değiştirebilirsiniz.


Kutools for Excel ile sütun listesini virgülle ayrılmış listeye dönüştürün

Kutools for Excel's'i de uygulayabilirsiniz. Birleştirmek bir sütun listesini birleştirmek ve her değeri virgülle kolayca ayırmak için yardımcı program.

Kutools for Excel - Excel'i 300'den fazla temel araçla güçlendirin. Kredi kartı gerekmeden tam özellikli 30 günlük ÜCRETSİZ deneme sürümünün keyfini çıkarın! Şimdi alın

1. Virgülle ayrılmış bir listeye dönüştüreceğiniz sütun listesini seçin ve Kutools > Birleştir ve Böl> Veri Kaybetmeden Satırları, Sütunları veya Hücreleri Birleştirme.

2. Sütunları veya Satırları Birleştir iletişim kutusunu açarken yapmanız gerekenler:
(1) Kontrol edin Satırları birleştir seçeneği Seçilen hücreleri aşağıdaki seçeneklere göre birleştirmek için Bölüm;
(2) Bir ayırıcı belirtin bölümüne bakın, Diğer ayırıcı seçenek ve virgül yazın , aşağıdaki kutuya;

3. Tıkla Ok düğmesine basın.

Şimdi, belirtilen sütun listesindeki tüm değerlerin tek bir hücrede birleştirildiğini ve virgülle ayrılmış bir listeye dönüştürüldüğünü göreceksiniz.

Kutools for Excel - Excel'i 300'den fazla temel araçla güçlendirin. Kredi kartı gerekmeden tam özellikli 30 günlük ÜCRETSİZ deneme sürümünün keyfini çıkarın! Şimdi alın


Demo: sütun listesini Excel'de virgülle ayrılmış listeye dönüştürün


Kutools for Excel: 300'den fazla kullanışlı araç parmaklarınızın ucunda! Hiçbir özellik sınırlaması olmaksızın 30 günlük ücretsiz deneme sürenizi bugün başlatın. Hemen İndir!

Excel'de bir hücreyi (virgül dişli liste) bir satır / sütun listesine ters birleştirin ve dönüştürün

Normalde Excel kullanıcıları, Sütunlara Metin bir hücreyi birden çok sütuna bölme özelliği, ancak bir hücreyi birden çok satıra dönüştürmenin doğrudan bir yöntemi yoktur. Ancak Kutools for Excel's Bölünmüş hücreler yardımcı program, aşağıda gösterilen ekran görüntüsü gibi bunu kolayca yapmanıza yardımcı olabilir.



İlgili Makaleler:

Comments (34)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
This comment was minimized by the moderator on the site
Hi Eric,
Thanks for you feedback. Since the TEXTJOIN is a rather new function, it was not there when we wrote the instruction. I will include the function in the article. Thanks so much.
Amanda
This comment was minimized by the moderator on the site
Major time saving technique - thank you!
This comment was minimized by the moderator on the site
Doesn't work, too many arguments in function.
This comment was minimized by the moderator on the site
This was a life saver! Thanks
This comment was minimized by the moderator on the site
Can someone help in converting a cell wish Value

Football, Baseball, Cricket

into


1. Football, 2. Baseball, 3. Cricket
This comment was minimized by the moderator on the site
Hi ADMINDIVISION,
You can use the Text to Columns (Excel built-in feature) or Split Cells (of Kutools for Excel) to split the cell to three columns or rows, and then apply the Insert Bullets or Numbering feature of Kutools for Excel to quickly insert numbering for the new cells/columns/rows.

Btw, there is an article introducing several solutions to inserting bullets or numberings into cells:https://www.extendoffice.com/documents/excel/950-excel-apply-bullets-numbering.html
This comment was minimized by the moderator on the site
I need to get my numbers to look like this ('1234567', '1234567') instead of ("1234567", "1234567") - any ideas!?
This comment was minimized by the moderator on the site
=SUBSTITUTE(value,CHAR(34),CHAR(39))
This comment was minimized by the moderator on the site
Hi,
There are no double quotas or quotas in the conversation results with any one of methods in this article.
This comment was minimized by the moderator on the site
Absolutely magic!Thanks!
This comment was minimized by the moderator on the site
Used This one: "Convert column list to comma separated list with VBA", worked perfect for converting rows (1000+) of email addresses into a combined list that my email client works well with. Just changed the "," to "; " and it was good to go. Thanks!
This comment was minimized by the moderator on the site
I would like to know how did you manage to copy the comma separated values from Excel Spreadsheet to Outlook/other main client. The reason being whenever I copy, the only formula gets copied but not the comma separated values. Please support.
This comment was minimized by the moderator on the site
Hi, Ravindran, you shold copy the formula result and the paste it into a cell as value firstly, then copy the pased value to other devices.
https://www.extendoffice.com/images/stories/comments/sun-comment/paste%20as%20value.png?1697765930000
This comment was minimized by the moderator on the site
Hi All, So for a few columns this formula is great, but if you were trying to figure this out on more cloumns more than 100. putting "&" is a waste of time. For me i needed sepration through "," (comma). for that, all you need to do is to separate the file in CSV, Open it on a Notepad, Copy and paste in in Word, then Copy again from Word and paste it on Excel. Hope you like to the suggested, Have a great day. Thank you, Mayank Bhargava
This comment was minimized by the moderator on the site
The VBA helped out so much! I am experiencing an issue if you try to close the pop up box or cancel it, it will show that the vba needs debugged. This also happens if the value is blank. Any ideas on how to fix this? Thanks!
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