用函數(shù)提前單元格中一個數(shù)字并大寫
用函數(shù),例如F12=75265.20,,我想在D13,F13,I13,J13,L13,P13,R13,S13,T13分別輸入零,零,柒,伍,貳,陸,伍,貳,零,,即直到百萬位,無數(shù)填零
運行效果圖如下:
D13單元格輸入公式:
=NUMBERSTRING(MID(TEXT($F$12,"0000000.00"),1,1),2)
F13單元格輸入公式:
=NUMBERSTRING(MID(TEXT($F$12,"0000000.00"),2,1),2)
I13單元格輸入公式:
=NUMBERSTRING(MID(TEXT($F$12,"0000000.00"),3,1),2)
J13單元格輸入公式:
=NUMBERSTRING(MID(TEXT($F$12,"0000000.00"),4,1),2)
L13單元格輸入公式:
=NUMBERSTRING(MID(TEXT($F$12,"0000000.00"),5,1),2)
P13單元格輸入公式:
=NUMBERSTRING(MID(TEXT($F$12,"0000000.00"),6,1),2)
R13單元格輸入公式:
=NUMBERSTRING(MID(TEXT($F$12,"0000000.00"),7,1),2)
S13單元格輸入公式:
=NUMBERSTRING(MID(TEXT($F$12,"0000000.00"),9,1),2)
T13單元格輸入公式:
=NUMBERSTRING(MID(TEXT($F$12,"0000000.00"),10,1),2)
=TEXT(MOD(INT(F12/100),10),"[DBNum2][$-zh-CN]G/通用格式")
100那個位置是取的位數(shù),,當前函數(shù)是百位,。其他位隨需要變更