EXCEL实现_数据库下划线字段转驼峰命名

E1

=LOWER(LEFT((SUBSTITUTE((PROPER(A1)),"_","")),1))&RIGHT((SUBSTITUTE((PROPER(A1)),"_","")),LEN((SUBSTITUTE((PROPER(A1)),"_","")))-1)

demo

====

A1 aa_bb_cc
B1 =PROPER(A1)
C1 =SUBSTITUTE(B1,"_","")
D1 =LOWER(LEFT(C1,1))&RIGHT(C1,LEN(C1)-1)
E1
=LOWER(LEFT((SUBSTITUTE((PROPER(A1)),"_","")),1))&RIGHT((SUBSTITUTE((PROPER(A1)),"_","")),LEN((SUBSTITUTE((PROPER(A1)),"_","")))-1)

你可能感兴趣的:(Excel)