怎樣在excel表格中輸入中文,,用公司套出中文首字母
怎樣在excel表格中輸入中文,,用公司套出中文首字母,比如“無籽西瓜”,,自動(dòng)算出“wzxg”,,這樣
一個(gè)公式完美解決,,缺點(diǎn)是公式長(zhǎng)了一點(diǎn),不處理多音字,。
公式只統(tǒng)計(jì)4個(gè)漢字及以下的,如果超過4個(gè)自行加長(zhǎng)公式即可,。每個(gè)多加一個(gè)字多加一串公式"&IFERROR(....4....)",,里面的數(shù)字4是漢字位置。
B2公式如下:
=IFERROR(INDEX(LOOKUP(CODE(MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1)),{45217,45253,45761,46318,46826,47010,47297,47777,48119,49062,49324,49896,50371,50614,50622,50906,51387,51446,52218,52698,52980,53689,54481},{"A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","W","X","Y","Z"}),1),"")&IFERROR(INDEX(LOOKUP(CODE(MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1)),{45217,45253,45761,46318,46826,47010,47297,47777,48119,49062,49324,49896,50371,50614,50622,50906,51387,51446,52218,52698,52980,53689,54481},{"A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","W","X","Y","Z"}),2),"")&IFERROR(INDEX(LOOKUP(CODE(MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1)),{45217,45253,45761,46318,46826,47010,47297,47777,48119,49062,49324,49896,50371,50614,50622,50906,51387,51446,52218,52698,52980,53689,54481},{"A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","W","X","Y","Z"}),3),"")&IFERROR(INDEX(LOOKUP(CODE(MID(A2,ROW(INDIRECT("1:"&LEN(A2))),1)),{45217,45253,45761,46318,46826,47010,47297,47777,48119,49062,49324,49896,50371,50614,50622,50906,51387,51446,52218,52698,52980,53689,54481},{"A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","W","X","Y","Z"}),4),"")
相關(guān)推薦
- 想在廚房的抽拉水龍頭上接澆花水管怎么實(shí)現(xiàn)
- 男士春季搭配
- 華為P10手機(jī)上面有一個(gè)類似耳機(jī)德東西打電話免提才好使市怎么回事
- 大家好,,我和媽媽在浙江打工,在兩個(gè)廠,,住的是我這個(gè)廠,,我想去別的廠,我媽媽怕廠不給住不同意,,怎么辦
- 排煙機(jī)擦完后的水跡用什么東西可以抹去
- 豆腐面膜開封多久過期
- 我給一個(gè)嘴巴很大的人說了很多秘密怎么辦
- 用藍(lán)牙耳機(jī)播放有藍(lán)牙接收器連線的MP3隨身聽的音樂是否有可行性?請(qǐng)?jiān)敿?xì)說明
- 我家有條蠶絲被有倉(cāng)庫(kù)的霉味,要怎么洗怎么去味呢,?
- 藍(lán)色毛衣搭配