如何将字符串公式转换为“真实”式 [英] How to turn a string formula into a "real" formula

查看:132
本文介绍了如何将字符串公式转换为“真实”式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在单元格(作为字符串)中有 0,4 * A1 。如何将这个字符串公式转换成一个真正的公式并在另一个单元格中计算其值?

I have 0,4*A1 in a cell (as a string). How can convert this "string formula" into a real formula and calculate its value, in another cell?

推荐答案

Eval可能适用于:

Eval might suit:

- http: //www.mrexcel.com/forum/showthread.php?t=62067

Function Eval(Ref As String)
Application.Volatile
Eval = Evaluate(Ref)
End Function

这篇关于如何将字符串公式转换为“真实”式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆