入黎免費幫你砌excel表 / 教你formula (8)

1001 回覆
68 Like 2 Dislike
2022-10-05 18:17:26
用 google sheets + apps script
2022-10-05 18:19:35
呢個再click入去Transform Data就係Power Query
可以set返d column format
2022-10-05 18:21:38
都得
不過好少用Apps Script
有用開Office Scripts都係JS但有少少唔同
2022-10-05 18:23:18
因為我要配合射上web ,所以選擇學 apps script

https://hkspd.siuyeong.com
2022-10-06 21:35:57
我想請教各位Ching
點樣可以整formula排sequence?

Example
Sequence 係 A>B>C>D


123 A
123 B
123 C
456 C
456 D
789 B
789 D


Result
123 A
456 C
789 B
2022-10-07 09:13:03
你 Example 係 A>B>C>D
但你 show 嘅 Result 係 A>C>B
2022-10-07 09:22:16
就算佢排岩呢個都唔係叫排sequence
好彩佢有example
如果佢冇example我會完全諗左另一樣野
2022-10-07 09:24:02


btw, 我發覺 Google Sheets 好似齊晒 365 啲 func. 唔洗煩 excel 版本問題
2022-10-07 09:26:06
但google sheet係browser 上面用始終冇咁順手
同埋googlesheet有啲function個behaviour 同excel唔同
2022-10-07 09:26:47
雙修達人
2022-10-07 09:28:30
2022-10-07 12:44:20
呢種唔係排Sequence, 只係抽出column a既unique 值, 再拎第一個column b既值去做西選
2022-10-07 15:26:45
excel傳心師
2022-10-07 15:27:46
痴線, 點解會明
2022-10-07 15:28:18
我見到佢有開post問 

https://lihkg.com/thread/3170983/page/1
2022-10-07 15:35:03
笑死
2022-10-07 18:51:17
我睇完個POST之後發現其實唔係想要我整左既果D野 而且睇完之後更加唔明
2022-10-07 19:25:19
以為你傳心成功
2022-10-08 14:56:00
求救Microsoft 365版本

我而家有以下既excel data
Column A; Column B; Column C; Column D-O; Column P
Product; sales channel; Indicator; January - December; Total
Apple; supermarket; Quantity; 一月至12月既銷量; 成個row既total
Apple; supermarket; Revenue; 一月至12月既revenue; 成個row既total
Apple; supermarket; Cost; 一月至12月既買貨成本; 成個row既total
Apple; online; Quantity; 一月至12月既銷量; 成個row既total
Apple; online; Revenue; 一月至12月既revenue; 成個row既total
Apple; online; Cost; 一月至12月既買貨成本; 成個row既total
Apple; total channel; Quantity; 一月至12月既銷量; 成個row既total
Apple; total channel; Revenue; 一月至12月既revenue; 成個row既total
Apple; total channel; Cost; 一月至12月既買貨成本; 成個row既total
假設我有成千種類既貨物係以下既row
而最後三個row分別係1月至12月既所有產品在所有channel既total quantity, total revenue and total cost

而家想整一個pivot chart (折線圖), 想show x axis係1-12月, y axis係quantity, 然後想filter某一個產品(例如apple既quantity同埋total所有產品既quantity整成兩條折線, 應該點樣set pivot table fields果4個格仔試極都唔岩
2022-10-08 18:52:52
問題係你1-12月係column field名
正常應該係有個column做month,data rows有1-12月
首先你要用power query unpivot左d data先
2022-10-08 18:55:21
https://youtu.be/ESap6ptV8fI
有咩唔明再問
2022-10-10 10:35:38
留名學野
2022-10-10 10:47:26
2022-10-10 11:05:17
2022-10-10 11:07:40
呢張同上面張手機留名圖都高登年代既野, 估唔到仲有人用好懷念
吹水台自選台熱 門最 新手機台時事台政事台World體育台娛樂台動漫台Apps台遊戲台影視台講故台健康台感情台家庭台潮流台美容台上班台財經台房屋台飲食台旅遊台學術台校園台汽車台音樂台創意台硬件台電器台攝影台玩具台寵物台軟件台活動台電訊台直播台站務台黑 洞