rick watkins docs
Post on 15-Jun-2015
Embed Size (px)
DESCRIPTIONComplex Excel spreadsheets designed to automate and streamline processes with robust functionality
- 1. Forecasting Model
2. Complex excel formula for data mining 3. Complex excel formula for conversion 4. Sample of Complex Array formula for excel spreadsheet metric 5. Sample of excel spreadsheet for tracking multiple metrics/accounts etc.. 6. Sample of excel spreadsheet for Daily Booking 7. Sample of excel spreadsheet with sum if /search formula for summarizing 8. Sample Macro used to split data from a master sheet to individual sheets based on column data selection Sub Splitdata() ' 'Sub RW() Dim lastrow As Long, LastCol As Integer, i As Long, iStart As Long, iEnd As Long Dim ws As Worksheet, r As Range, iCol As Integer, t As Date On Error Resume Next Set r = Application.InputBox("Click in the column to extract by", Type:=8) On Error GoTo 0 If r Is Nothing Then Exit Sub iCol = r.Column t = Now Application.ScreenUpdating = False With ActiveSheet lastrow = .Cells(Rows.Count, "A").End(xlUp).Row LastCol = .Cells(1, Columns.Count).End(xlToLeft).Column .Range(.Cells(2, 1), Cells(lastrow, LastCol)).Sort Key1:=Cells(2, iCol), Order1:=xlAscending, _ Header:=xlGuess, OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom iStart = 2 For i = 2 To lastrow If .Cells(i, iCol).Value .Cells(i + 1, iCol).Value Then iEnd = i Sheets.Add after:=Sheets(Sheets.Count) Set ws = ActiveSheet On Error Resume Next ws.Name = .Cells(iStart, iCol).Value On Error GoTo 0 ws.Range(Cells(1, 1), Cells(1, LastCol)).Value = .Range(.Cells(1, 1), .Cells(1, LastCol)).Value .Range(.Cells(iStart, 1), .Cells(iEnd, LastCol)).Copy Destination:=ws.Range("A2") iStart = iEnd + 1 End If Next i End With Application.CutCopyMode = False Application.ScreenUpdating = True MsgBox "Completed in " & Format(Now - t, "hh:mm:ss.00"), vbInformation End Sub A master sheet contains data for 10,000locations, each row represents a location and its product selling data, incolumn C resides the location ID, one can choose this column when macro is run and a sheet for each location will be created within the workbook . 9. Excel formula to calculate and list30,000 line survey summarized with excel formula and automated for final output. Column G will result in store list meeting defined criteria. 10. Check Box function in Excel Utilize Check box function in excel to add certain rows. 11. Excel Sum Product formula for adding arrays Summarize multiple definitions using Sum product Excel formula. 12. Excel Year Day Date formula Count # years, # months, # days and/or Total Days from date to date, either # of days or # days(+1 and days) in between dates. 13. Excel Index-If-Match formula Create Complex behind the scenes formulas to maximize excel presentable spreadsheet with robust functionality.