简体   繁体   English

如何在不同的行中分隔excel单元格数据(但在同一单元格中)

[英]How to separate excel cell data the is in different lines( but in the same cell)

i have some data that i got from MAXQDA that gives me the file name, number of occurrences, group, etc. 我有一些从MAXQDA获得的数据,这些数据为我提供了文件名,出现次数,组等信息。

The problem is that the data is all in the same cell but different lines. 问题在于数据全部在同一单元格中,但在不同的行中。

i've tried text to columns but i can't find a way to separate the data by line. 我已经尝试过将文本转换为列,但是我找不到按行分隔数据的方法。

i've got 700+ lines that are like this: 我有700条以上的行:

expresso\\'Troika' elogia Governo Document group: expresso Document name: 'Troika' elogia Governo Number of coded segments: 11

i want one cell to get the document group, other with document name and another with number of coded segments 我希望一个单元格获得文档组,另一个单元格具有文档名称,另一个单元格具有编码段的数量

Solved!! 解决了!!

1st i replaced words that were common in all cell but that i didn't wanted for example document group in ≠ because it wasn't used anywhere. 首先,我替换了所有单元格中通用的单词,但是我不想在≠中使用文档组,因为它没有在任何地方使用。

!1. 1。 Select the entire area in Excel that includes translatable cells, then Copy (ctrl C) 2. Paste into an empty doc in Word (ctrl V) 3. Use the Find and Replace (ctrl H) function, press "Special" and select "Manual line break". 在Excel中选择包含可翻译单元格的整个区域,然后复制(Ctrl C)。2.在Word(Ctrl V)中粘贴到空文档中。3.使用“查找并替换”(Ctrl H)功能,按“特殊”,然后选择“手动换行”。 There should be a "^l" appearing in the upper part of the Find and Replace dialogue (Replace:). 在“查找和替换”对话框的上部应该出现一个“ ^ l”(替换:)。 4. In the lower part (With:), enter a single space. 4.在下部(带有:),输入一个空格。 5. Press "Replace All". 5.按“全部替换”。 6. Now all manual line breaks should be deleted in your text. 6.现在,所有手动换行符都应在文本中删除。 7. Select the entire cell area and paste it back into Excel. 7.选择整个单元格区域并将其粘贴回Excel。

to finish i used text to columns 完成我使用文本到列

works great!!! 很棒!!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM