excel - 在 Excel 中组合附加到同一变量的多个值
问题描述
我需要将与同一变量相关的多个值添加到一个条目中。这是我的工作表的样子:
ColA ColB ColC
Onion Ounces 12
Onion Ounces 6
Carrot Kilo 3
Basil Grams 25
Carrot Kilo 6
Basil Cups 3
这是我想弄清楚的方法:
ColA ColB ColC
Onion Ounces 12
Onion Ounces 6
Carrot Kilo 3
Basil Grams 25
Carrot Kilo 6
Basil Cups 3
__________________
Onion Ounces 18
Carrot Kilo 9
Basil Grams 25
Basil Cups 3
*如果 colA 匹配(两个条目都是 'Basil'),但 colB 不匹配(一个条目是 'ounces',一个是 'cups'),它需要有单独的条目。
我对excel很陌生,甚至不知道如何正确地表达这个问题,所以如果这个问题已经被回答过很多次,我深表歉意!
非常感谢你的帮助!
解决方案
推荐阅读
- javascript - POST操作后如何订阅创建对象的Id
- python - Scrapy - 刮掉所有物品而不是一件物品
- java - Mockito SpyBean 抛出一个 UnfinishedStubingException
- python - 使用python从bigquery获取数据时Linux服务器上的内存错误?
- oracle - 是否可以在不使用数据转换的情况下修复 SSIS 中的 Unicode 转换错误
- swift - 成功登录或注册时隐藏按钮
- javascript - Twig 根据分辨率对项目进行分组
- python - 如何限制 tensorflow GPU 内存使用?
- c - 如何在不使用字符串库的情况下查找另一个字符数组中是否存在字符数组?
- sql - 使用插入的 id 在不同表中创建多行的 sql 查询