rick watkins docs

13
Forecasting Model

Upload: rickwatkins

Post on 15-Jun-2015

528 views

Category:

Technology


0 download

DESCRIPTION

Complex Excel spreadsheets designed to automate and streamline processes with robust functionality

TRANSCRIPT

Page 1: Rick Watkins Docs

Forecasting Model

Page 2: Rick Watkins Docs

Complex excel formula for data mining

Page 3: Rick Watkins Docs

Complex excel formula for conversion

Page 4: Rick Watkins Docs

Sample of Complex Array formula for excel spreadsheet metric

Page 5: Rick Watkins Docs

Sample of excel spreadsheet for tracking multiple metrics/accounts etc..

Page 6: Rick Watkins Docs

Sample of excel spreadsheet for Daily Booking

Page 7: Rick Watkins Docs

Sample of excel spreadsheet with sum if /search formula for summarizing

Page 8: Rick Watkins Docs

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 LongDim ws As Worksheet, r As Range, iCol As Integer, t As Date

On Error Resume NextSet r = Application.InputBox("Click in the column to extract by", Type:=8)

On Error GoTo 0If r Is Nothing Then Exit Sub

iCol = r.Columnt = Now

Application.ScreenUpdating = FalseWith 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 iEnd With

Application.CutCopyMode = FalseApplication.ScreenUpdating = True

MsgBox "Completed in " & Format(Now - t, "hh:mm:ss.00"), vbInformationEnd Sub

A master sheet contains data for 10,000 locations, each row represents a location and its product selling data, in column “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.

Page 9: Rick Watkins Docs

Excel formula to calculate and list

30,000 line survey summarized with excel formula and automated for final output. Column G will result in store list meeting defined criteria.

Page 10: Rick Watkins Docs

Check Box function in Excel

Utilize Check box function in excel to add certain rows.

Page 11: Rick Watkins Docs

Excel Sum Product formula for adding arrays

Summarize multiple definitions using Sum product Excel formula.

Page 12: Rick Watkins Docs

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.

Page 13: Rick Watkins Docs

Excel Index-If-Match formula

Create Complex “behind the scenes” formulas to maximize excel presentable spreadsheet with robust functionality.