codecamp

EXCEL 同时显示公式及结果

.中国教程网zhangditony翻译,转载请保留此信息 .
 

       朋友们在工作中有时需要在不同的单元格同时显示公式及结果(存放公式的单元格为文本类型),一个比较好的方法就是利用宏表函数中的"EVALUATE"    (None of these cells had an equal sign and as such the cells were seen as Text by Excel. The person wanted to leave the original cell contents intact and use Column B to return the result of the equations.we can get an answer by using an old Excel 4.0 Macro function called EVALUATE.)
        注:宏表函数是早期低版本excel中使用的,现在已由VBA代替它的功能,但仍可以在工作表中使用,不过宏表函数只能在"定义的名称"中使用.
1) Select cell B1
2) Go to Insert>Name>Define
3) Type the name Result (can be any valid range name)
4) In the Refers to: box type: =EVALUATE($A1)
5) Click Add then OK.

20070715_5a7a94e4a69d6dcb500dehwzftb0ukqr[1].jpg

EXCEL 利用N函数给公式加注释
EXCEL 使用机率少但很实用的函数
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }