Excel LOOKUPS

Use this forum to post Vensim related questions.
Post Reply
karankhosla
Senior Member
Posts: 107
Joined: Wed Nov 26, 2008 6:12 am

Excel LOOKUPS

Post by karankhosla »

Greetings,

Attached is a basic Vensim model with the Excel spreadsheat. How could I instruct the XLS LOOKUPS function to read "down" instead of across. "Country No." is my independant variable.

Thank you very much!
Attachments
TotalEnergy.mdl
(2.25 KiB) Downloaded 260 times
karankhosla
Senior Member
Posts: 107
Joined: Wed Nov 26, 2008 6:12 am

Post by karankhosla »

Corresponding Excel File!
Attachments
TotalEnergy.xls
(13.5 KiB) Downloaded 269 times
bob@vensim.com
Senior Member
Posts: 1107
Joined: Wed Mar 12, 2003 2:46 pm

Post by bob@vensim.com »

You use 'A' instead of '1' as the third argument to GET XLS LOOKUPS - you also need to tell it the sheet name 'Sheet1' as the second argument. Check the documentation.
karankhosla
Senior Member
Posts: 107
Joined: Wed Nov 26, 2008 6:12 am

Post by karankhosla »

Thank you very much Bob and Season's Greetings!
karankhosla
Senior Member
Posts: 107
Joined: Wed Nov 26, 2008 6:12 am

Post by karankhosla »

Thank you very much Bob and Season's Greetings!
Post Reply