iT邦幫忙

0

excel多筆資料處理

  • 分享至 

  • xImage

求助~資料太多~

https://ithelp.ithome.com.tw/upload/images/20220811/20151317nCAYY2aXex.png

圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

1
ccenjor
iT邦高手 1 級 ‧ 2022-08-11 19:26:21

G2:
=IFERROR(IF(COUNTIF($G$1:G1,G1)<COUNTA(OFFSET($A$1,MATCH(G1,$A$1:$A$4,0)-1,1,1,4)),G1,OFFSET($A$1,MATCH(G1,$A$1:$A$4,0),0,1,1)),"")
複製到G3:G11,若超過G12為顯示0,可以不要複製到2列或設定G欄不顯示0。
H2:
=IFERROR(IF(COUNTIF($G$2:G2,G2)<=COUNTA(OFFSET($A$1,MATCH(G2,$A$2:$A$4,0),1,1,4)),VLOOKUP(G2,$A$2:$E$4,COUNTIF($G$2:G2,G2)+1,0)),"")
複製到H3:H11。
https://ithelp.ithome.com.tw/upload/images/20220811/20109881KxuZhPnA6R.png

ccenjor iT邦高手 1 級 ‧ 2022-08-11 19:49:53 檢舉

第二種做法
將A1:E4框起來。
點取「資料>從表格/範圍」。
https://ithelp.ithome.com.tw/upload/images/20220811/201098815Lsp2Kgt9j.png
如下圖設定,再點取「確定」鈕
https://ithelp.ithome.com.tw/upload/images/20220811/20109881D6r3p68b7J.png
將2~5欄框起來,點取「轉換>取消資料行樞紐」。
https://ithelp.ithome.com.tw/upload/images/20220811/20109881ep4y8ZOFDV.png
結果
https://ithelp.ithome.com.tw/upload/images/20220811/20109881PBSSEnATYe.png
點取「檔案>關閉並載入」.
https://ithelp.ithome.com.tw/upload/images/20220811/20109881jxpsnOEpSB.png
結果
https://ithelp.ithome.com.tw/upload/images/20220811/201098815PkgZsZOID.png
刪除B欄資料即可。

我要發表回答

立即登入回答