要从身份证号码中获取性别信息,可以按照以下步骤进行操作:
- 打开EXCEL软件,创建一个新的工作表。
- 将身份证号码填写至A列,每个号码占据一行。
- 在B列的第一行输入公式:=IF(MID(A1,17,1)%2=1, “男”, “女”),然后拖动该公式至底部,应用到所有数据行。
- 此时,B列将显示每个身份证号码对应的性别信息。
以上就是从身份证号码中获取性别信息的方法。
This article is written by 百科菌, and the copyright belongs to ©Wikishu. 【Unauthorized reprinting is prohibited.】
If you need to reprint, please indicate the source and contact 百科菌 or visit Wikishu(https://wikishu.com) to obtain authorization. Any unauthorized use of the content of this article will be considered an infringement.
Original source: https://wikishu.com/?p=122606