[英]Populate data in cell based on another cells data
I'm trying to look at one cell and populate another cell based on the other value.我正在尝试查看一个单元格并根据另一个值填充另一个单元格。 Keeping in mind, there are 100's of items.
请记住,有 100 种物品。 Example:
例子:
a1: Texas a1:德克萨斯州
b1: City is El Paso b1:城市是埃尔帕索
a2: Texas Oklahoma a2:德克萨斯俄克拉荷马州
b2: City is El Paso City is Enid b2: 城市是埃尔帕索 城市是伊妮德
So, one cell in A1 could have 1 to 10 different states.因此,A1 中的一个单元格可能有 1 到 10 个不同的状态。 B1 would need to fill in based on all the values of A1.
B1 需要根据 A1 的所有值填写。
I'm assuming I would need a master table containing all the values and then based on what was in A, populate B, but I am not sure how to get there.我假设我需要一个包含所有值的主表,然后根据 A 中的内容填充 B,但我不确定如何到达那里。
Screenshot example: Screenshot example:] sample截图示例:截图示例:]示例
It sounds like you have 10 states and 10 cities, you have the list of states but you need to match the corresponding cities to each of the known states.听起来您有 10 个州和 10 个城市,您有州列表,但您需要将相应的城市与每个已知州匹配。
If this is the case, use the vlookup function like this.如果是这种情况,请像这样使用 vlookup function。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.