Page 1 of 1

แปลงรายงานให้เป็น Database

Posted: Fri Aug 04, 2023 11:03 am
by snasui
:D ฝึกแก้โจทย์แปลงรายงานให้เป็น Database ดังภาพครับ

Re: แปลงรายงานให้เป็น Database

Posted: Fri Aug 04, 2023 1:34 pm
by norkaz
...

A1

=VSTACK({"Year","Category","Product","Sales"},LET(f,F2:F91,x,XMATCH(f,{"Accessories";"Bikes";"Clothing";"Components"}),FILTER(HSTACK(SCAN(F1,f,LAMBDA(x,y,IF(ISTEXT(y),x,y))),INDEX({"Accessories";"Bikes";"Clothing";"Components"},SCAN(F1,x,LAMBDA(x,y,IF(ISERROR(y),x,y)))),f,G2:G91),(1-ISNUMBER(f))*IF(IFERROR(x,0),0,1))))

**สนับสนุนฟอรั่ม กรุณาคลิกโฆษณาหน้าเพจ***

Norkaz