①新建工作簿,在sheet1中輸入各列標題,並輸入想考查的漢字
②設置正確答案區並隱藏
在C2格輸入或粘貼下列公式:
=LOOKUP(CODE(A2),45217+{0,36,544,1101,1609,1793,2080,2560,2902,3845,4107,4679,5154,5397,5405,5689,6170,6229,7001,7481,7763,8472,9264},{"A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","W","X","Y","Z"})
A2是要考查的漢字“胡”所在的單元格。這個公式的意義在於獲取漢字的代碼並將其轉換為英文字母。
公式截圖如下:
③選中該列,設置隱藏。
設置評分
在D2格輸入=IF(B2="","",IF(B2=C2,10,0)),表示如果答對了就給10分,答錯了給0分,未答時不評分。