Overcoming Microsoft Excel's weaknesses for crop model building and simulations

Using spreadsheets such as Microsoft Excel for building crop models and running simulations can be beneficial. Excel is easy to use, powerful, and versatile, and it requires the least proficiency in computer programming compared to other programming platforms. Excel, however, has several weaknesses:...

Full description

Bibliographic Details
Main Author: Teh, Christopher Boon Sung
Format: Article
Language:English
Published: American Society of Agronomy 2011
Online Access:http://psasir.upm.edu.my/id/eprint/23411/
http://psasir.upm.edu.my/id/eprint/23411/1/Overcoming%20Microsoft%20Excel%27s%20weaknesses%20for%20crop%20model%20building%20and%20simulations.pdf
_version_ 1848844750473396224
author Teh, Christopher Boon Sung
author_facet Teh, Christopher Boon Sung
author_sort Teh, Christopher Boon Sung
building UPM Institutional Repository
collection Online Access
description Using spreadsheets such as Microsoft Excel for building crop models and running simulations can be beneficial. Excel is easy to use, powerful, and versatile, and it requires the least proficiency in computer programming compared to other programming platforms. Excel, however, has several weaknesses: it does not directly support loops for iterative calculations, and it does not allow one cell to alter the contents of another cell. Thus, the objective of this study was to develop an Excel add-in, called BuildIt, that overcomes some of Excel's weaknesses by: (1) providing a loop for repetitive calculations and (2) providing several operations (called actions) typically needed in building crop models. These actions are such as for numerical integration, initialization of variables, and solving differential equations using the Runge-Kutta method, as well as for copying and manipulation of cell ranges. BuildIt was written in Excel's script language, Visual Basic for Applications (VBA), but it does not require users to program in VBA to build their models. Several examples of models were used in this article to illustrate how BuildIt implements the infrastructure in Excel, and how it can be used to build models and run model simulations. With BuildIt, users are able to use Excel to build and run their mathematical models, without requiring any knowledge in VBA.
first_indexed 2025-11-15T08:35:53Z
format Article
id upm-23411
institution Universiti Putra Malaysia
institution_category Local University
language English
last_indexed 2025-11-15T08:35:53Z
publishDate 2011
publisher American Society of Agronomy
recordtype eprints
repository_type Digital Repository
spelling upm-234112015-12-09T06:41:44Z http://psasir.upm.edu.my/id/eprint/23411/ Overcoming Microsoft Excel's weaknesses for crop model building and simulations Teh, Christopher Boon Sung Using spreadsheets such as Microsoft Excel for building crop models and running simulations can be beneficial. Excel is easy to use, powerful, and versatile, and it requires the least proficiency in computer programming compared to other programming platforms. Excel, however, has several weaknesses: it does not directly support loops for iterative calculations, and it does not allow one cell to alter the contents of another cell. Thus, the objective of this study was to develop an Excel add-in, called BuildIt, that overcomes some of Excel's weaknesses by: (1) providing a loop for repetitive calculations and (2) providing several operations (called actions) typically needed in building crop models. These actions are such as for numerical integration, initialization of variables, and solving differential equations using the Runge-Kutta method, as well as for copying and manipulation of cell ranges. BuildIt was written in Excel's script language, Visual Basic for Applications (VBA), but it does not require users to program in VBA to build their models. Several examples of models were used in this article to illustrate how BuildIt implements the infrastructure in Excel, and how it can be used to build models and run model simulations. With BuildIt, users are able to use Excel to build and run their mathematical models, without requiring any knowledge in VBA. American Society of Agronomy 2011 Article PeerReviewed application/pdf en http://psasir.upm.edu.my/id/eprint/23411/1/Overcoming%20Microsoft%20Excel%27s%20weaknesses%20for%20crop%20model%20building%20and%20simulations.pdf Teh, Christopher Boon Sung (2011) Overcoming Microsoft Excel's weaknesses for crop model building and simulations. Journal of Natural Resources & Life Sciences Education, 40 (1). pp. 122-136. ISSN 2168-8281 https://dl.sciencesocieties.org/publications/nse/abstracts/40/1/122 10.4195/jnrlse.2010.0024
spellingShingle Teh, Christopher Boon Sung
Overcoming Microsoft Excel's weaknesses for crop model building and simulations
title Overcoming Microsoft Excel's weaknesses for crop model building and simulations
title_full Overcoming Microsoft Excel's weaknesses for crop model building and simulations
title_fullStr Overcoming Microsoft Excel's weaknesses for crop model building and simulations
title_full_unstemmed Overcoming Microsoft Excel's weaknesses for crop model building and simulations
title_short Overcoming Microsoft Excel's weaknesses for crop model building and simulations
title_sort overcoming microsoft excel's weaknesses for crop model building and simulations
url http://psasir.upm.edu.my/id/eprint/23411/
http://psasir.upm.edu.my/id/eprint/23411/
http://psasir.upm.edu.my/id/eprint/23411/
http://psasir.upm.edu.my/id/eprint/23411/1/Overcoming%20Microsoft%20Excel%27s%20weaknesses%20for%20crop%20model%20building%20and%20simulations.pdf