原帖由 curieju 于 2007-8-23 15:48 发表
如果是数字呢?怎么改呀。我用这个方法只能选择是文字的
如果要数字,在后边辅助一个 *1 即可作为数字处理。
比如:
=(IF(B46>0,B46,
IF(AND(B46=0,H9=0,L9=0,P9=0,R9=0,H28=0,K28=0),E9,
IF(AND(B46=0,H9>0,L9=0,P9=0,R9=0,H28=0,K28=0),(H9+B9)*3.1416+E9,
IF(AND(B46=0,H9=0,L9>0,P9=0,R9=0,H28=0,K28=0),(L9+B9)*3.1416+E9,
IF(AND(B46=0,H9=0,L9=0,P9=0,R9=0,H28>0,K28=0),(I28*2+B10)*3.1416*H28+J28+E9,
IF(AND(B46=0,H9=0,L9=0,P9=0,R9=0,H28=0,K28>0),(L28*2+B10)*3.1416*K28+M28+E9))))))
&
IF(AND(B46=0,H9=0,L9=0,P9>0,R9=0,H28=0,K28=0),P9-15+(30+B9)*3.1416*0.25+E9-15,
IF(AND(B46=0,H9=0,L9=0,P9=0,R9>0,H28=0,K28=0),E9-15+(30+B9)*3.1416*0.25+R9-15,
IF(AND(B46=0,H9=0,L9=0,P9>0,R9>0,H28=0,K28=0),P9-15+(30+B9)*3.1416*0.25*2+E9-15-15+R9-15,))))
*1 |