Excel 文本分割
示例
Modified and self-produced (d)
Food packages (d,d,d,d,e,e,d,d,e,d,d)
Other country’s food labels (d)
Using food labels to choose foods for Healthy eating (d)
Measuring cups food models (d)
Food labelling exercise – custom (e)
Food product promotional pamphlet (d)
It pays to read your grocery label (d)
Old food labels (d)
Self-produced worksheet to help students navigate through reading real packages (e,e)
Products from the kitchen (e)
Grocery store tour – reading labels on foods (d)
本质上我想将括号之间的文本拆分为单独的 Excel 条目。
改装自产|||| (d)
食品包装|||| (d,d,d,d,e,e,d,d,e,d,d)
其他国家的食品标签 |||| (d)
我该如何做这件事?
Sample
Modified and self-produced (d)
Food packages (d,d,d,d,e,e,d,d,e,d,d)
Other country’s food labels (d)
Using food labels to choose foods for Healthy eating (d)
Measuring cups food models (d)
Food labelling exercise – custom (e)
Food product promotional pamphlet (d)
It pays to read your grocery label (d)
Old food labels (d)
Self-produced worksheet to help students navigate through reading real packages (e,e)
Products from the kitchen (e)
Grocery store tour – reading labels on foods (d)
Essentially I want to split the text between parentheses into separate Excel entries.
Modified and self-produced |||| (d)
Food packages |||| (d,d,d,d,e,e,d,d,e,d,d)
Other country’s food labels |||| (d)
How would I go about doing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果数据确实在括号中,您可以使用函数进行拆分
要获取括号中的内容,请在 A3 中使用(将数据放在 A1 中)
然后您可以通过在 A2 中使用来获取剩下的内容
您可能还希望放置以下内容围绕公式清理多余的空白字符。
如果这不适合您,请告诉我。
If the data truly is in parentheses you can use a function to do the split
To get what's in the prarenthes, use in A3 (with your data in A1)
Then you can get what's left by using in A2
You may also wish place the following around the formulas to clean up extra blank characters.
Let me know if this isn't working for you.
您是说您希望括号内的每个逗号分隔元素都位于单独的列上吗?
如果是这样,您可以执行以下操作:
Are you saying that you want each comma-delimited element inside the parentheses to each be on a separate column?
If so, you can do this:
另一种选择是使用数据 - 文本到列并在左括号上拆分。 但是,您将失去左括号,因此它可能不如公式那么好。
Another option is to use Data - Text to Column and split on the open paren. You will lose the open paren, however, so it may not be as good an option as the formula.