excel中身份证号码区分男女的具体操作方法如下:
1.有一组数据,最后一列是真实性别
/iknow-pic.cdn.bcebos.com/e7cd7b899e510fb3faf4a711d533c895d0430c43"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/e7cd7b899e510fb3faf4a711d533c895d0430c43?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/e7cd7b899e510fb3faf4a711d533c895d0430c43"/>
2.在函数框中输入“=IF(MOD(MID(B2,17,1),2)=1,"男","女")”,按回车,可以自动判断并显示对应身份证所属者是“男”或者“女”。
(MID(B2,17,1)表示提取B2单元格中第17位位置的字符;
MOD(MID(B2,17,1),2)表示求B2单元格中第17位位置的字符与2的余数;
整个公式表示判断B2单元格中的第17位位置的字符与2相除是否等于1,如果等于1,即17位位置的字符为奇数,则判断并显示为“男”,如果不等于1,即17位位置的字符为偶数,则判断并显示为“女”。
/iknow-pic.cdn.bcebos.com/d62a6059252dd42a4993d12d0f3b5bb5c8eab89a"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/d62a6059252dd42a4993d12d0f3b5bb5c8eab89a?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/d62a6059252dd42a4993d12d0f3b5bb5c8eab89a"/>
3.按下回车键,得到结果
/iknow-pic.cdn.bcebos.com/38dbb6fd5266d016e5594eae9b2bd40734fa35f0"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/38dbb6fd5266d016e5594eae9b2bd40734fa35f0?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/38dbb6fd5266d016e5594eae9b2bd40734fa35f0"/>
4.下拉数据
/iknow-pic.cdn.bcebos.com/9e3df8dcd100baa11e6c973d4b10b912c9fc2ef0"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/9e3df8dcd100baa11e6c973d4b10b912c9fc2ef0?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/9e3df8dcd100baa11e6c973d4b10b912c9fc2ef0"/>
5.完成
/iknow-pic.cdn.bcebos.com/8694a4c27d1ed21bec24fe63a16eddc450da3f43"target="_blank"title="点击查看大图"class="ikqb_img_alink">/iknow-pic.cdn.bcebos.com/8694a4c27d1ed21bec24fe63a16eddc450da3f43?x-bce-process=image%2Fresize%2Cm_lfit%2Cw_600%2Ch_800%2Climit_1%2Fquality%2Cq_85%2Fformat%2Cf_auto"esrc="https://iknow-pic.cdn.bcebos.com/8694a4c27d1ed21bec24fe63a16eddc450da3f43"/>
MicrosoftExcel是Microsoft为使用Windows和AppleMacintosh操作系统的电脑编写的一款电子表格软件。直观的界面、出色的计算功能和图表工具,再加上成功的市场营销,使Excel成为最流行的个人计算机数据处理软件。在1993年,作为MicrosoftOffice的组件发布了5.0版之后,Excel就开始成为所适用操作平台上的电子制表软件的霸主。