Upload
rickwatkins
View
530
Download
0
Tags:
Embed Size (px)
DESCRIPTION
Complex Excel spreadsheets designed to automate and streamline processes with robust functionality
Citation preview
Forecasting Model
Complex excel formula for data mining
Complex excel formula for conversion
Sample of Complex Array formula for excel spreadsheet metric
Sample of excel spreadsheet for tracking multiple metrics/accounts etc..
Sample of excel spreadsheet for Daily Booking
Sample of excel spreadsheet with sum if /search formula for summarizing
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.
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.
Check Box function in Excel
Utilize Check box function in excel to add certain rows.
Excel Sum Product formula for adding arrays
Summarize multiple definitions using Sum product Excel formula.
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.
Excel Index-If-Match formula
Create Complex “behind the scenes” formulas to maximize excel presentable spreadsheet with robust functionality.