All U.S. and All U.S. CAN.  To support the calculation of trip category depth-cost tables for the SVM from final (November 2010) GLSAND outputs. There.

Slides:



Advertisements
Similar presentations
Converting Depth-Cost Output from the Corps GL-SAND model to SVM Input.
Advertisements

Cell Referencing Absolute Reference: A reference that does not change when copied. It is specified with a dollar sign in front of both the row and column.
Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do.
Formulas, Ranges, and Functions. Formulas n Formulas perform operations such as addition, multiplication, and comparison on worksheet values. n Formulas.
Intermediate Formulas & Functions Instructor: Rachel Baltus.
DATABASE BASICS: INSERTING AND FORMATTING DATA EXCEL 07 SESSION II.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 2Advanced Functions and Formulas.
33 CHAPTER BASIC APPLICATION SOFTWARE. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved. 1-2 Announcement: QUIZ#02 In Lecture Session # 9 (5.
Object Oriented Programming A programming concept which views programs as objects with properties and ways to manipulate the object and the properties.
Q UIZ Direction: Choose the correct answer from the given choices. Begin.
Pre-defined System Functions Simple IF & VLOOKUP.
 The Commercial Navigation PI  GLSAND Depth-Cost to SVM Elevation-Cost  The first dataset, U.S. to U.S. and U.S.- Canadian shipping ◦ Subroutes  The.
Pradeep Velugoti Lakshman Tallam.  Type in the month name “January” in any cell say A1.  Now drag the fill handle to the right to select the range (Do.
Entering Data in Excel. Entering numbers, text, a date, or a time n 1Click the cell where you want to enter data. n 2Type the data and press ENTER or.
Excel Web App By: Ms. Fatima Shannag.
CS1100: Computer Science and Its Applications Table Lookup and Error Processing Martin Schedlbauer, Ph.D.
Advanced Lesson 1: Advanced Data Organization In Excel 2007, you can use a table to manage and organize related data. You can use the Autofilter tools.
Excel 2007 Part (2) Dr. Susan Al Naqshbandi
Spreadsheets Objective 6.02
XP New Perspectives on Microsoft Excel 2002 Tutorial 2 1 Microsoft Excel 2002 Tutorial 2 – Working With Formulas and Functions.
Chapter 06: Lecture Notes (CSIT 104) 1 Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved.
CTS130 Spreadsheet Lesson 7 Using Logical and Financial Functions.
2 Explain advanced spreadsheet concepts and functions Advanced Calculations 1 Sabbir Saleh_Lecture_17_Computer Application_BBA.
With Microsoft Excel 2007 Comprehensive 1e© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2007 Comprehensive.
ADVANCED EXCEL FORMULAS 1 Lesson 8. Named Ranges Name a cell or a range of cells Can make formulas easy to understand =SUM(Sales) instead of =SUM(A2:A16)
Microsoft Office Excel 2013 Expert Microsoft Office Excel 2013 Expert Courseware # 3254 Lesson 5: Pivot Charts and Advanced Formulas.
Pairwise Alignment, Part I Constructing the Values and Directions Tables from 2 related DNA (or Protein) Sequences.
Exam Review – Queries & MORE! Access SimNet Exam Access Case Exam Final Exam.
1 Performing Spreadsheet What-If Analysis Applications of Spreadsheets.
Advanced Excel: Using Formulas for Business Managers
Spreadsheets and Non- Spatial Databases Unit 4: Module 15, Lecture 1- Spreadsheet Software.
Consolidate Consolidate Multiple Worksheets to a Single Sheet in Excel.
What makes a good plan better?.  Board decision criteria  Navigation benefits  Hydropower benefits.
For Loops (ProjFor1, ProjFor2, ProjFor3, ProjFor4, textbox, textbox1) Please use speaker notes for additional information!
Excel Project 2 Formulas, Functions, and Formatting.
Microsoft Excel 2000 Working with Multiple Worksheets and Using Functions.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Chapter 6 Data Tables and Amortization Tables Exploring Microsoft Office Excel 2007.
CS105 Fall CS105 Lab 3 – Excel: The IF Function Announcements MP 1 will be released on Monday 9/14, due Monday 9/28 by 9pm Midterm 1 on Tuesday 9/29.
Computer Science 1000 Spreadsheets V Permission to redistribute or use these slides is strictly prohibited without permission.
1. First of all we opened up a spreadsheet and started adding the data. 2. To work out the total cost for platinum, you times cell b5*c5 3. To calculate.
Microsoft Excel 2013 Chapter 3 Working with Large Worksheets, Charting, and What-If Analysis.
Microsoft® Excel Key and format dates and times. 1 Use Date & Time functions. 2 Use date and time arithmetic. 3 Use the IF function. 4 Create.
Excel Web App By: Ms. Fatima Shannag.
ACIS Introduction to Data Analytics & Business Intelligence Business Intelligence Logical Functions.
Lookup Function (Think of a Book Index).  Need to fill based on what is in the these fields Array table.
XP 1 ﴀ New Perspectives on Microsoft Office 2003, Premium Edition Excel Tutorial 2 Microsoft Office Excel 2003 Tutorial 2 – Working With Formulas and Functions.
1 CSE 2337 Chapter 5 Retrieving Data with Lookups.
RevisionRevision Function in Spreadsheet DATE Returns the serial number of a particular date. Syntax –DATE(year,month,day) year is a number from 1900.
Microsoft Excel Prepared by the Academic Faculty Members of IT.
ACIS Introduction to Data Analytics & Business Intelligence Business Intelligence Logical Functions Part 2.
Excel Tips and Tricks Leda Voigt Green River College.
OV Copyright © 2011 Element K Content LLC. All rights reserved. Calculating Data with Advanced Formulas  Apply Cell and Range Names  Calculate.
VLOOKUP Function Tech Tuesday January 5, What is VLOOKUP? A Function in Excel (and also in Google Sheets) for finding specific information in.
V- Look Up. Lookup Tables Often, we need to retrieve data that is stored in a table For example, consider these metals and their properties: Metal Modulus.
MSAA PRESENTS: AN EXCEL TUTORIAL
Elena Lazarevska, City of Boulder
October 16th / 17th Agenda Objectives Typing Announcements / agenda
VLOOKUP Finds an entry from a vertical array based on a criteria
CS1100: Computer Science and Its Applications
Analyzing Data Using Formulas
How To Use VLOOKUP In Microsoft Excel
Logic Function Review.
Karnaugh Maps Topics covered in this presentation: Karnaugh Maps
TRANSPORTATION PROBLEM
Adding Tables to Slides
Spreadsheets 2 Explain advanced spreadsheet concepts and functions
V- Look Up.
Spreadsheets Objective 6.02
Lesson 5 Topic 1 – Table Lookup and Error Handling
Spreadsheets Objective 6.02
Presentation transcript:

All U.S. and All U.S. CAN

 To support the calculation of trip category depth-cost tables for the SVM from final (November 2010) GLSAND outputs. There are two analogous worksheets, for US-US and US-CAN trips; they work exactly the same way. This slide show explains the US-US worksheet: ◦ Reads trip codes from the 24 monthly GLSAND output worksheets ◦ Makes a final list in the range A1:M300 based on several iterations of reading and analysis. ◦ The first value for January (cell B5) illustrates the process.

 The value of cell B5 is 422,288,312, a code for one trip category that decodes to the subroute (4), the eastern lake (2) and the western lake (also 2), eastern dock depth 288”, western dock depth 312”.  This is a trip that takes place entirely on Lake Erie (lake 2) and that makes the sub-route Erie, code 4.  In contrast, the value of cell B9 is 1023,288,252 and that illustrates a two lake trip, subroute 10 between eastern lake 2 (Erie) and western lake 3 (Lake St. Clair) with an Erie dock depth of 288” and a Lake St. Clair dock depth of 252”.

 The formula for cell B5 is IF(BC5="","",CONCATENATE(BC5,AP5,",",DG5))  That formula is repeated throughout the entire B5:M300 range  First, if the formulas leading to cell BC5 create a blank value for BC5, then B5 would also be blank, but that’s not true so  B5 is a concatenation of BC5 (the subroute), AP5 (the east-west two lake code), a comma, and then DG5, which is the east and then west dock depths separated by a comma.  Next, the definitions of BC5 and AP5. DG5 is defined later.

 BC5 is the subroute code, here “4”. The formula for cell BC5 is: IF(AP5="","",VLOOKUP(AP5,$BO$5:$BP$40,2))That formula is repeated throughout the entire BC5:BN300 range  First, if the formulas leading to cell AP5 create a blank value for AP5, then BC5 would also be blank, but that’s not true so BC5 is defined by a vertical lookup: ◦ Find the value in AP5 in column BO and read the value in column BP next to that cell.  AP5 is the two digit east-west lake code, 22  Column BO is the list of sub-routes. Cell BO19 holds code 22 (Erie-Erie). Cell BP19 holds the sub-route number for that lake combination, 4.

 AP5 = 22. The formula for cell BC5 is IF(P5="","",IF(AC5,CONCATENATE(MID(P5,2,1),LEFT(P5,1)),LEFT(P5,2))). That formula is repeated throughout the entire AP5:BA300 range  First, if the formulas leading to cell P5 create a blank value for P5, then AP5 would be blank, but that’s not true so AP5 is defined by a concatenation drawn from the values in cells AC5 (TRUE or FALSE) and P5, which is the trip code less the route number 22,288,312.  AC5 is TRUE if the order of the lakes in P5 is West, East. IF AC5 is TRUE, concatenate: ◦ The number found within P5 by moving 2 from the far left and grabbing 1 digit (2 2,288,312) ◦ The number found within P5 by taking the leftmost digit ( 2 2,288,312)  If AC5 is FALSE, the AP5is the leftmost 2 digits from P5 (( 22,288,312)  Note, when the east and west lakes are the same, it doesn’t make any difference, but AC5 is defined as FALSE (see next slide)

 AC5 = FALSE. The formula for cell BC5 is IF(P5="","",IF(LEFT(P5,1)>MID(P5,2,1),TRUE(),FALSE)). That formula is repeated throughout the entire AC5:AN300 range  First, if the formulas leading to cell P5 create a blank value for P5, then AC5 would be blank, but that’s not true so AC5 is defined as TRUE if the first lake code in P5 is larger than the second lake code in P5. Because the numbers increase as you go west - St. Lawrence River (0), Lake Ontario (1), Erie (2), Lake St. Clair (3), Michigan-Huron (4), Superior (5) – TRUE means the lakes are arranged west-east.  If the lakes are the same or arranged west-east, AC5 is FALSE, and that is used in cell AP5 to reverse them to create an east- west order. Where the first number is larger than the second (for example, 42 in cell P10) then the lakes are arranged east-west, AC10 is TRUE and AP5 reads the lake code order as it is.

 P5 = 22,288,312. The formula for cell P5 is CONCATENATE('CODcost1- US-US'!$B3,'CODcost1-US-US'!$D3,",",'CODcost1-US- US'!$C3,",",'CODcost1-US-US'!$E3). That formula is repeated throughout the entire P5:AA300 range  This formula simply checks the GLSAND output and returns a trip category code for a trip or a blank if there is no trip  The formulas in column P look up US-US trips made in January; column Q is February, and so on. The month is hard coded by CODcost1-US- US; the 1 signifies January, the US-US means both the origin and destination ports are in the United States.  The row specified in the concatenation (here 3) changes with the row of the formula. It is 3 in cell P5, 4 in cell P6 and so on.  The concatenation ◦ grabs the origin lake in cell 'CODcost1-US-US'!$B3 ◦ the destination lake code in cell D3 ◦ inserts a comma, ◦ then grabs the origin dock depth in cell C3, ◦ another comma ◦ and the destination dock depth in cell E3. 22,288,312

 The last few slides have documented the derivation of the first part of B5, the route code and east and west lake codes, drawn from cells BC5 and AP5, tracing AP5 from AC5 and AC5 from P5. The last part of B5 is the east and west dock depths, and those are pulled from cell DG5.  DG5 = 288,312. The formula for cell DG5 is IF(P5="","",IF(AC5,CONCATENATE(CT5,",",CG5),CONCATENATE(C G5,",",CT5))). That formula is repeated throughout the entire DG5:DR300 range  As with the other formulae, the first check is to see if P5 is blank; if so,DG5 will be made blank, too.  But it’s not so DG5 defined as either as the concatenation of CT5 (destination lake), comma, CG5 (origin lake) if AC5 is true (meaning CT5 destination lake is west of CG5 origin lake) or the reverse, CG5,comma,CT5, if the origin lake is east of the destination lake.  All that remains to explain are cells CG and CT5, the codes for the origin and destination lakes.

 Both are defined using the MID function to grab characters from the route information in cell P5  CG5 is 288, defined as: IF(AP5="","",IF(LEFT(AP5,1)=1,888,IF(LEFT(AP5,1) =0,999,MID(P5,4,3)))).  That means that ◦ If AP5,the east lake code-west lake code, is blank, then CG5 is blank ◦ If not, then if the farthest left character in the two lake code is 1 assign the value 888 to CG5; if it’s 0, assign 999, but otherwise takes the 4 th, 5 th and 6 th characters from P5. 22,288, CT5 takes the last 3 (312)

Final subroute- lakes-dock depth codes in B5:M300 Final subroute codes in BC5:BN300 East lake – West lake codes in AP5:BA300 Origin lake-destination lake codes in P5:AA300 (TRUE if lakes are ordered west-east in P5 Origin lake-destination dock depth codes in P5:AA300 Origin dock depth codes in CG5:CR300 Destination dock depth codes in CG5:CR300 TRUE/FALSE codes in AC5:AN300 (TRUE if lakes are ordered west- east in P5 Trip information in US-US Cost 1 (January) through US-US Cost 12 (December)