看板 Office 關於我們 聯絡資訊
軟體: Excel 2003 版本: 2003 我發現了一個詭異的現象..... 框一格ctrl+shift+enter, 和框多格ctrl+shift+enter 結果居然不一樣... 什麼意思勒? 其實是這樣,我想要Sum一個陣列... 陣列是這樣求得的: HLOOKUP(資料陣列,A1:H2,2,FALSE) 其中資料為: A B C D E F G H 1 2 3 5 4 8 7 9 資料陣列={B,D,H} 也就是上色的資料。 好啦,現在我在上面的公式前面加個SUM: =Sum(HLOOKUP(資料陣列,A1:H2,2,FALSE)) 答案應該等於16... 但是我發現很奇怪的現象... 當我框多格按下ctrl+shift+enter,的確出現16,匡幾格就有幾格出現16。 但是當我只點選一格按下ctrl+shift+enter,該格出現的值居然是2!! 有沒有搞錯啊? 2 ?! 老兄啊~公式一模一樣也... 我包含了那個2在多匡旁邊的幾格,然後按下ctrl+shift+enter,結果變回16了... 試了很多是都是這樣...只要只框一格使用ctrl+shift+enter, excel就會不甘寂寞地只出現個2給你看........ 這到底是怎麼回事啊啊啊啊啊~~ 快瘋了 囧 -- "Every kid who has dreamed of being a baseball player has stood in his front yard with a bat and said to himself, "Bottom of the ninth, Game 7 of the World Series, the bases are loaded," and then envisioned hitting a home run to win the game. My job is to shatter that dream." By Huston Street -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.57.132.37
ljuber:=SUM(SUMIF(A1:H1,{"B","D","H"},A2:H2)) 陣列 05/02 10:23