excel 身分證 男女 性別
LEFT函數

函數解釋:從左到右抓取字元
RIGHT函數

函數解釋:從右到左抓取字元
IF函數

函數解釋:輸入邏輯公式,並輸入公式為真(TRUE)則顯示「男」,公式為假(FALSE)則顯示「女」

完整公式:IF(RIGHT(LEFT(A2,2),1) = “1”,”男”,”女”)
【教學】Excel如何用身分證字號抓出性別?超簡單馬上了解!
A blog of my life
excel 身分證 男女 性別
LEFT函數
函數解釋:從左到右抓取字元
RIGHT函數
函數解釋:從右到左抓取字元
IF函數
函數解釋:輸入邏輯公式,並輸入公式為真(TRUE)則顯示「男」,公式為假(FALSE)則顯示「女」
完整公式:IF(RIGHT(LEFT(A2,2),1) = “1”,”男”,”女”)
Hello.This post was really remarkable, especially since I was browsing for thoughts on this topic last Wednesday.