如何使用插件获取值 = excel 中没有插件的值。
How to get values with addons = the value without the addons in excel.
所以下面我说明了我最终想要实现的目标。我想知道是否可以使用原始项目编号 (即 1114 或 bb2569/10) 等于 B 列中的相同数量。结束数量应基于原始项目编号的原始数量,即1114 或 bb2569/10。这只是更大的 table 项目和数量的一小部分。
This is what the code looks like now:
Item number Quantity
1114 5
1114-LA 0
1114-LED 0
225896 20
129239 17
225896-LA 0
225896-LED 0
114895 91
114895-LED 0
114895-LA 0
bb2569/10 42
bb2569/10-LA 0
bb2569/10 -LED 0
A22596 0
T-22265587 7
here is what i need it to look like in the end:
Item number Quantity
1114 5
1114-LA 5
1114-LED 5
225896 20
225896-LA 20
225896-LED 20
114895 91
114895-LED 91
114895-LA 91
bb2569/10 91
bb2569/10-LA 42
bb2569/10 -LED 42
A22596 0
T-22265587 7
将其放在 C2 中 Drag/Copy 向下:
=SUMIF(A:A,TRIM(LEFT(A2,IFERROR(FIND("-L",A2)-1,LEN(A2)))),B:B)
所以下面我说明了我最终想要实现的目标。我想知道是否可以使用原始项目编号 (即 1114 或 bb2569/10) 等于 B 列中的相同数量。结束数量应基于原始项目编号的原始数量,即1114 或 bb2569/10。这只是更大的 table 项目和数量的一小部分。
This is what the code looks like now:
Item number Quantity
1114 5
1114-LA 0
1114-LED 0
225896 20
129239 17
225896-LA 0
225896-LED 0
114895 91
114895-LED 0
114895-LA 0
bb2569/10 42
bb2569/10-LA 0
bb2569/10 -LED 0
A22596 0
T-22265587 7
here is what i need it to look like in the end:
Item number Quantity
1114 5
1114-LA 5
1114-LED 5
225896 20
225896-LA 20
225896-LED 20
114895 91
114895-LED 91
114895-LA 91
bb2569/10 91
bb2569/10-LA 42
bb2569/10 -LED 42
A22596 0
T-22265587 7
将其放在 C2 中 Drag/Copy 向下:
=SUMIF(A:A,TRIM(LEFT(A2,IFERROR(FIND("-L",A2)-1,LEN(A2)))),B:B)