excel - Parsing variable names from cell content -


i learned from question can declare variables in excel naming cells. i'm wondering whether it'd possible parse text in cell call variable. name cell a1 "var1", , assign value 0.5, , cell a2 "var2" value 0.75. want following:

     b    c    d 1    var1 10   =b1*c1 2    var2 10   =b2*c2 3    var2 10   =b3*c3 4    var2 10   =parse(b4)*c4 5    var1 10   =cell(b5)*c5 6    var1 10   =value(b6)*c6 

that is, multiply values in column d either var1 or var2, read same row in column c. rows 4, 5, , 6 show unsuccessful attempts of have in mind.

use indirect function. in cell d6 formula want =indirect(b6)*c6.

note in excel 2010 or later, can't use var1 cell name, because looks cell reference. have use _var1 or variable1 instead.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -