匹配两张纸之间的关键字,然后将值输入到第一个纸上

发布于 2025-01-30 12:20:23 字数 1126 浏览 2 评论 0原文

我有一个主人表,其中包含不同的过程名称。观察结果是可能发生每个变量的不同实例。

第二张纸是一个观察结果,其中每个变量都附有一个值。这些变量中的每个变量都有一个与我上面提到的过程相似的名称,尽管并不精确。

我需要一种将每个名称从第二纸到第一张纸匹配的方法,然后才能使用与第二个名称相关的值,以将其输入其相应的单元格。如下所示。 表1:

观察X射线MRI
1100250
2xx
3200300

表2: 观察2:

程序成本Na
XRay3175NAN
MRI心脏250NAN
同意400NAN

输出:

观察XRayMRI同意
1100250NAN
2175250400
3200300NAN

到目前为止,我已经研究了模糊的匹配,但我不确定如何去关于这个。提前致谢。

I have one master excel sheet that contains different names of procedures. The observations are different instances in which each variable can occur.

The second sheet is one observation in which each variable has a value attached to them. Each one of these variables has a name that is similar to the procedures I mentioned above, though not exact.

I need a way to match each name from the second sheet to the first sheet, and then for it to be able to use the values that are associated with the name in the second sheet to be entered into its corresponding cell. demonstrated below.
Sheet 1:

ObservationxrayMRI
1100250
2xx
3200300

Sheet 2:
Observation 2:

ProcedureCostNA
Xray3175NaN
MRI Cardiac250NaN
Consent400NaN

Output:

ObservationxrayMRIConsent
1100250NaN
2175250400
3200300NaN

So far I have looked into fuzzy matching but I am not sure how to go about this. Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文