❶ 濡備綍鍦ㄨ〃鏍間腑鏌ユ壘鎸囧畾鏁版嵁鍖哄煙涓鐨勬暟鎹錛
1銆侀栧厛鎵撳紑excel2016杞浠訛紝鏂板緩涓涓琛ㄦ牸錛屽啓鍏ユ暟鎹騫朵互璇ヨ〃鏍間腑鏁版嵁涓轟緥錛岄渶瑕佸湪A:B鍒椾腑鎵懼埌涓嶤鍒楀瑰簲鐨凚鍒楃殑鏁版嵁錛
❷ 濡備綍鍦‥XCEL涓鏌ユ壘騫舵樉紺鴻〃鏍間腑鐨勬煇涓閮ㄥ垎鏁版嵁錛
鍙浠ュ湪EXCEL涓杈撳叆=IF(COUNTIF(Sheet2!A1:A6;A1);"鍖呭惈";"涓嶅寘鍚")銆傚叾涓璖heet2!A1:A6鎸囩殑鏄絎浜屽紶鏁版嵁鎵鍦ㄧ殑鍗曞厓鏍艱寖鍥達紝A1鏄絎涓寮犲崟鍏冩牸鏁版嵁錛堢洰鐨勬槸鏌ョ湅A1鍗曞厓鏍兼暟鎹鏄鍚﹀湪絎浜屽紶鏁版嵁琛ㄤ腑錛夈傚叿浣撶殑璁劇疆鏂規硶濡備笅錛
1銆佹墦寮涓涓狤XCEL鏂囦歡錛屽彲浠ョ湅鍒板綋鍓嶆湁Sheet1鍜孲heet2錛屼袱涓鏁版嵁銆