Excel to vensim

Use this forum to post Vensim related questions.
Post Reply
Franklin
Junior Member
Posts: 5
Joined: Thu Sep 27, 2007 1:54 pm

Excel to vensim

Post by Franklin »

In Vensim
I know how to take value of excell but I don't understand how to store in vensim.
there are possibilite to multiple, coluns or lines in vensim?
I have two lines in excell, I want to sum, multiple, or use another opertation matemathic.
Line 3 and line 5 of excel, how to use vensim for multiple this lines?
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

I am not sure I really understand the question - if you have, for example, two rows of values in Excel you could use:

row1[sub] = GET XLS CONSTANTS('file.xls','Sheet1','A1')
row2[sub] = GET XLS CONSTANTS('file.xls','Sheet1','A2')

row2 plus row2[sub] = row1[sub] + row2[sub]

Once you have the numbers in Vensim you can just use them like other variables.
Post Reply