如何使用VLOOKUP将多值单元格拆分为单独的行? [英] How to use VLOOKUP to split multiple-valued cell into separate rows?

查看:183
本文介绍了如何使用VLOOKUP将多值单元格拆分为单独的行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如标题所示,如何拆分

As the title says, how do you split this

进入

推荐答案

不确定问题中VLOOKUP的来源,但是如果您具有Excel 2010或更高版本,则可以通过PowerQuery

Not sure where the VLOOKUP comes from in your question, but if you have Excel 2010 or later you can do this through PowerQuery

  • 选择您的数据
  • Data标签> From Table/Range
  • 您有标题,因此请相应选择
  • Select your data
  • Data tab > From Table/Range
  • You have headers, so choose accordingly

PowerQuery现在应该开始,并在打开的选项卡中:

PowerQuery should now start, and within the opened tab:

  • Start标签> Split column> by delimiter
  • 显然选择逗号作为定界符>选择Advanced并用Row而不是Column打勾.
  • 不加引号并确认.
  • 右键单击PQ中的数据> Transform> Trim
  • Start tab > Split column > by delimiter
  • Obviously choose a comma as delimiter > Choose Advanced and tick by Row instead of Column.
  • Choose no quotes and confirm.
  • Right click the data in PQ > Transform > Trim

就是这样.您可以立即关闭PowerQuery并保存更改

That's it. You can close PowerQuery now and save your changes

我会发布M代码,但是我的Excel是荷兰语的,所以没有用.

I would post the M code, but my Excel is in Dutch so no use.

这篇关于如何使用VLOOKUP将多值单元格拆分为单独的行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆