①新建工作簿,在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分,未答时不评分。