是否可以在Excel中使用vlookup函数显示一项的两个值 [英] is it possible to show two values for one item using vlookup function in excel

查看:133
本文介绍了是否可以在Excel中使用vlookup函数显示一项的两个值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我具有如下所示的数据库

黑色
b红色
c黄色
b白色
c绿色
蓝色

是否可以显示b& c在同一个单元格中使用如下所示的vlookup函数将两个值都赋值

黑色,蓝色

b红色,白色

c黄色,绿色

if i have data base like below

a black
b red
c yellow
b white
c green
a blue

is it possible to show a b & c both value using vlookup function like below in same cell

a black, blue

b red, white

c yellow, green

推荐答案

本文
This article How to return multiple values using vlookup in excel[^] should give you a good starting point.


按照集合论的理解,这称为集合,通常使用位集表示,例如,使用枚举类型,每位一位成员(即值为1、2、4、8,...).就是说:扔掉为弱者创建的Excel和其他东西:-)并进入真正的软件开发领域—您将获得所有这些以及更多. :-)

—SA
This is call a set in the sense understood in the set theory, usually represented using bit sets, for example, using enumeration types, one bit per member (that is, with values 1, 2, 4, 8,...). That said: throw out Excel and other stuff created for the weak-minded :-) and get to real software development field — you will get all this and a lot more. :-)

—SA


这篇关于是否可以在Excel中使用vlookup函数显示一项的两个值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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