Excel for Hydrology

Outline—NWRA class, June 11, 2019

01_ExcelNavigation

  • Configure Excel—Stop autosave, clear default directory, trusted locations, show developer tab in ribbon.
  • Keyboard navigation and blocks of data, function keys, F2, F4, F8, F9, F11, and heavily used keyboard shortcuts such as, Ctrl+1.
  • Status bar –Quick sampling functions—01_PRISM_4.0km.NV.xlsx.
  • Paste special—Values, math, transpose—02_NamedRanges.xlsx.  
  • Named ranges and data validation—02_NamedRanges.xlsx.

02_Plotting

  • Create stacked bar and lines—01_BarLine.xlsx.  
  • Bar charts differentiate positive & negative—02_Departure.xlsx.   
  • XY Adding elements to charts –
    Copy-paste, Direct entry in formula bar—03_XYmap.xlsx. 
  • Specify labels from ranges—04_FC_isotope_PAIRS.xlsx.
  • Adding custom symbols to series by pasting—05_sir2012-5196_app3.xlsm. 
  • Digitize data with chart—06_Digitize_from_Picture-in-a-Chart.xlsx.
  • Compute perimeter and area of polygon—07_XY_Perimeter+Area.xlsx.

03_Text+Logic_Functions

  • Introduce LEFT, VALUE, LEN, FIND, MID, RIGHT, IF, and ISNUMBER functions— 01_TextManipulate.xlsx. 
  • Introduce SUBSTITUTE, TEXT, and HYPERLINK functions—01_TextManipulate.xlsx. 
  • If statements and logic— 02_IFplus.xlsx.  
  • Create scatter plot and categorize data — 03_TransmissivityDV3.xlsx.  
  • Error handling with IF statements— 04_ErrorHandling.xlsx

04_ConditionalFormatting

  • Shade PRISM with generic flood—01_PRISM_4.0km.NV.xlsx.
  • Controlled shading of PRISM—01_PRISM_4.0km.NV.xlsx.
  • Introduce INT and MOD functions—02_CHV_StandardizedLOG.xlsm. 
  • Build standardized log with remove duplicates, conditional formatting, MROUND, and  VLOOKUP function—02_CHV_StandardizedLOG.xlsm. 
  • Apply functions in a scrap workbook to avoid stray named ranges. 

05_IF-Histograms

  • Create Google Earth cover of PRISM output for Nevada—01_ARRAY_PRISM_4.0km.NV.xlsx & KMLmakeARRAY.GridPoly.v2.xlsm.  
  • Dynamically subsample PRISM output with OFFSET and MATCH functions—01_ARRAY_PRISM_4.0km.NV.xlsx.
  • Build histogram and sum cumulative precipitation volumes with COUNTIF and SUMIF functions—01_ARRAY_PRISM_4.0km.NV.xlsx.

06_ReducingDATA

07_Regression

  • Analyze specific conductance-chloride from Death Valley—
    Regress in chart and duplicate with equations—01_linearQW.xlsx.
  • Analyze log-transformed specific capacity-transmissivity relations and
    demonstrate limitations of regression equations—
    02_Example_T-SC-DeathValley+OtherSCeqs.xlsx.

08_Solver

  • Explain weighted sum-of-squares objective functions and parameter transforms necessary for using the Solver add-in— 00_ParameterEstimation+SOLVER.pptx.    
  • 2-parameter Theis example—01_Theis_Solution+Sensitivity.xlsm.
  • 3-parameter Theis with image well for analyzing aquifer test—02_TheisStream.xlsm.
  • Estimate A, B, and C for a velocity index-stage relation—
    03_Velocity-Stage-Relation.xlsm.
  • Differences between regularization with zones and prior information—04_RegularizeParameters-Compare.xlsm.

09_AdvancedCharts

  • Shaded area for pumping with INT and MOD functions— 01_ShadedXY.xlsx.  
  • Map features with XY chart, add XY locator, and sample map area from Goggle Earth—Example_SS-ModelDiagnostics.