These are projects posted by the students of Dr. Gove Allen at Brigham Young University. These students have taken one semester-long course on VBA and generally have had no prior programming experience

Showing posts with label Excel. Show all posts
Showing posts with label Excel. Show all posts

Monday, December 9, 2013

Spend My Cents

Spend My Cents is an existing website that I created as a project for another class. I wanted to bring it to Excel so people can use it from the comfort of Excel. Spend My Cents is an application that allows a user to lookup Amazon Products by price and category. Currently, doing this on Amazon is not easy and generally requires a little creativity. However, with Spend My Cents, it’s a snap and a bit of fun as well.
To use Spend My Cents, a user simply opens the Workbook, enters the amount, optionally changes the category and clicks the “Search” button. The application then loads the products it finds in the section below and the user can click on the image or title to be taken to that product in their default browser. If a purchase is made, Spend My Cents gets a small commission.

Thursday, December 8, 2011

AHP + Monte Carlo Decision Model

Thomas Saaty’s Analytic Hierarchy Process (AHP) is a well-known framework for operations and decision analysis. The AHP allows a decision maker to easily decompose a difficult decision into its component parts and assign weights and rankings to each aspect of the problem. By (1) identifying a decision’s objectives and alternatives, (2) weighing each of the objectives against each other in a pairwise table, and (3) ranking each of the alternatives in relation to each objective, a decision maker can create a robust and powerful model for decision analysis. An AHP model can be enhanced by using random “fuzzy” values rather than total averages, which gives the final model additional explanatory power, as these fuzzy weights and rankings can be used in a series of Monte Carlo trials.

While an AHP + Monte Carlo model is a fantastic tool for decision analysis, building the model with Excel is relatively time consuming. Pairwise tables that calculate the sumproduct, normalized values, averages, standard deviations, and random inverse normal distributions require dozens of complicated formulas and extensive formatting. More time can often be spent actually building an AHP + Monte Carlo model than analyzing the model’s results.

“AHP + Monte Carlo” is a VBA add-in that automates the majority of the mundane mechanics behind building an AHP + Monte Carlo model in Excel. Users can now build complicated decision support models by simply filling out a series of forms. Instead of spending time repeatedly setting up difficult formulas, users can focus on the actual dynamics of comparing their objectives and alternatives and making better decisions in general.

Below is a list of all the required files for this project:
The project is hosted on GitHub, where I’ll be able to accept bug reports and feature requests and provide better documentation.

Wednesday, April 13, 2011

BYUIS Shipping Template

BYU Independent Study employs a number of processes to accomplish its day-to-day operations. One of the processes allows employees (field agents, sales, marketers) to place orders and requests for SWAG and booth supplies to be delivered to destination locations before arriveing. These locations may be schools, hotels, or residential.

Before this program, BYUIS managed this process manually. The users are the field agents, sales specialists, and marketers. Users place orders with the shipping office at BYUIS. Orders were maintained in a notebook with sticker labels to match the shipping labels. Inventory was adjusted manually despite being kept in an excel spreadsheet.

Objective:

· Give users a simple way to place orders.

· Track order from placement to receipt in one place.

· Inform users by email/text of delivery information.

· Update inventory after shipment.

· Preserve a platform that can handle employee turnover.

· Provide a Macros to:

o Show a form (dashboard) that will roll up all inventory information into one screen.

o Update Inventory from shipped requests.

These are the issues expressed by the BYUIS in this process. Excel is used to store all inventory information. Google docs and Google forms gather requests from users. Only the shipping office deals with the excel spreadsheet. He will receive orders and process then through third party software provided by FedEx. After recording all tracking numbers, the Google doc spreadsheet is scraped into Excel with VBA. Information from the orders/shipments update the inventory. A form has been created. It is not interactive. It is a dashboard. The dashboard of inventory data will simply display the inventory data (contained on 8 sheets) in one form view.

The programming cost estimate is approximately 30 hours. The larger portion of the project will be the support of the programs and processes through technical documentation. Because this is a “real world” project, documentation is essential. This project estimates an additional 20 hours of documentation including:

· Technical overview of Macros and program.

· “How to” customization examples

· Change Management Scenarios

o New User Employee

o New Inventory Item

o Change Web Resources


LINKS:

  1. http://files.gove.net/shares/files/11w/awingate/BYUIS_TEMPLATE_README.pdf
  2. http://files.gove.net/shares/files/11w/awingate/Inventory_Spreadsheet_Template_Work.xls.xlsm
  3. Optional Email not setup by default - http://files.gove.net/shares/files/11w/awingate/byuis_tracking_email.txt


Tuesday, April 13, 2010

Minchin Timesheet v1.0.25059

The Minchin Timesheet System is designed to provide an easy way to keep track of time spent on various projects, especially in situations where the user is working on several projects serially. From the main interface, click on “Record Time Stamp” will prompt the user for a project number, a subproject number, and their employee number. When they are finished, they click “Record Time Stamp” a second time to log off. A button (“Am I Logged In or Out?”) provides a simple way of confirming their status. A third button (“Generate Timesheet”) will automatically generate a timesheet for the employee, breaking down their time by day, project and subproject, and saving the result as an easy to email or print PDF.

The example provided here works as described above, but more excitingly, provides a framework to build off of to add many more features. That said, if a simple record of time punches is all you need, the existing version should function very well.

Full Description (Report)
Excel Workbook
Example Timesheet 1
Example Timesheet 2

Update July 7, 2010: Version 1.1 has been released at Blog.Minchin.ca. The update smooths over the edges a little, corrects a few minor math mistakes, and adds an “About” dialogue. Further updates, when released, will be released there.

Blog Archive