How to use VLOOKUP

how to use vlookup

VLOOKUP is one of the most powerful functions in Excel.  It allows you to look up a value from a table based on a search term.  A simple example would be a where you had a long list of employees and their telephone numbers.  You could use VLOOKUP to find the telephone number of any … Read more

Create a tolerance chart in Excel

How to create a tolerance chart

A tolerance chart shows how a result compares to a maximum and minimum permitted range.  These charts are often used in industry to check whether a process is working correctly and within permitted limits. The image below shows the type of chart we will be creating. The data This chart requires various values: Minimum value … Read more

How to color alternate lines in Excel

How to color alternate rows in Excel

A couple of weeks ago we were preparing for a presentation.  Much of the presentation is constructed from linked Excel worksheets into PowerPoint. This technique is great because the presentation automatically updates each time the Excel worksheets change.  In the presentation, there are also some PowerPoint tables in the default blue striped layout. Then came … Read more

Cell and Range VBA properties and actions

VBA Code Snippets

Manipulating ranges and cells is one of the most common actions in VBA.   You can use the following to either learn from or just to copy and paste into your own code. Referencing ranges & cells from the worksheet ‘Reference range by address Workbooks(“WorkbookName.xlsx”).Worksheets(“SheetName”).Range(“A1:D4”).[Other properties and actions] ‘Reference cells by row and column – Cells(Row,Column) … Read more

Workbook VBA properties and actions

VBA Code Snippets

Working with workbooks is one of the most common actions when writing VBA code.  The following is a reference guide to for finding the right syntax. Contents: Referencing workbooks by name Referencing workbooks by their status Referencing workbooks by when they were opened Assign a workbook to a variable Create new workbooks Opening workbooks Counting … Read more

Worksheet VBA properties and actions

VBA Code Snippets

Working with worksheets is one of the most common actions when writing VBA code.  The following is a reference guide to for finding the right syntax. Referencing worksheets from the workbook ‘Reference a worksheet in another workbook Workbooks(“WorkbookName.xlsx”).Worksheets(“SheetName”).[other properties/actions] ‘Reference a worksheet in the same workbook as the VBA code ThisWorkbook.Worksheets(“SheetName”).[other properties/actions] ‘Reference a worksheet … Read more