|
本帖最后由 mjm04 于 2024-8-1 12:36 编辑
刚刚理解错了呢,
建了4个辅助列,然后开个火车,WPS或 高版本 可用
=UNIQUE(FILTER(F:F,A:A=$K9))&"-("&TEXT(MIN(FILTER(G:G,A:A=$K9)),"000")&"/"&TEXT(MAX(FILTER(G:G,A:A=$K9)),"000")&")-("&TEXT(MIN(FILTER(H:H,A:A=$K9)),"000")&"/"&TEXT(MAX(FILTER(H:H,A:A=$K9)),"000")&")-("&TEXT(MIN(FILTER(I:I,A:A=$K9)),"000")&"/"&TEXT(MAX(FILTER(I:I,A:A=$K9)),"000")&")"
------------------------------------------------------------------------------------------------------------------------------
低版本:
=LOOKUP($P16,A:A,K:K)&"-("&TEXT(MIN(IF(A:A=$P16,L:L,9999)),"000")&"/"&TEXT(MAX(IF(A:A=$P16,L:L,-9999)),"000")&")-("&TEXT(MIN(IF(A:A=$P16,M:M,9999)),"000")&"/"&TEXT(MAX(IF(A:A=$P16,M:M,-9999)),"000")&")-("&TEXT(MIN(IF(A:A=$P16,N:N,9999)),"000")&"/"&TEXT(MAX(IF(A:A=$P16,N:N,-9999)),"000")&")"
库存编码必须是:3位英文-3位数字-3位数字-2位数字 如果超出位数,低版本函数会出错!
==============================================================
本题难点在:
1、筛选出同一SKU所对应的全部库存编码;
2、对筛选出的库位编码进行拆分;
======================================================
同时肯请大神把上面的函数 LET 或 LAMBDA 一下下嘛~~~~~
|
|