Separate, Split & Remove Substring & Number from Text with Excel Functions & VBA

Size: px
Start display at page:

Download "Separate, Split & Remove Substring & Number from Text with Excel Functions & VBA"

Transcription

1 [Editor s Note: This is a guide on how to separate, split & remove substring & numbers from text using Excel Functions and VBA. Examples of substring functions are CHAR, FIND, LEFT, LOWER, MID, PROPER, REPLACE, RIGHT, SEARCH, TRIM and UPPER. This article is written by Zhiping Yan, ExcelDemy s regular contributor. Any feedback is welcome. If you find any mistake or grammatical error, let us know in the comments section. Your valuable feedback will help us to update this guide with time to time.] Excel provides many functions that can be used to manipulate strings. These functions are very useful especially when you have to clean data. This article will show you those functions and relevant examples. Table of Contents 1 Change the case of text 2 Yield special characters 3 Remove blank spaces 4 Return the number of characters in a string 5 Extract text from another text string 5.1 LEFT/MID/RIGHT 5.2 Combination of LEFT/MID/RIGHT with FIND/SEARCH 5.3 Split text and digits Split text and digits Split text and digits Split text separated by fixed symbol 6 Concatenate text 7 Download working file Change the case of text With UPPER, LOWER or PROPER function, you can change the case of text to uppercase, lowercase, or proper case. UPPER function can change a text to all uppercase. LOWER function can change a text to all lowercase while the PROPER function will capitalize the first letter in each word. These functions are very simple and Figure 1.1 shows how to use them. Figure 1 Yield special characters CHAR function can convert a number (from 1 to 255) into ASCII character. For example, CHAR(65) yields A and CHAR(66) returns B. Figure 2.1 and Figure 2.2 shows you the code All rights reserved to ExcelDemy.com. 1

2 number and corresponding character. You can see that CHAR function is useful when you want to type characters that are awkward or impossible to type directly. Please note that Excel will return #VALUE! error (cell N35) if the code number is greater than 255. Now let s look at the cells highlighted in yellow; Excel CHAR function returns nothing. What happened? CHAR(9) represents a horizontal tab and horizontal tab is invisible. That is the reason why the cell is blank. Figure 2.1 Figure 2.2 If we use REPLACE function to replace, with CHAR(10), you will see that take me home was shifted to another line (Figure 2.3). It tells that CHAR function can convert 10 into a new line. Observe range B7:C8; you see that both CHAR(32) and CHAR(160) return blank spaces. CHAR(1) also returns a blank space (range B4:C4). CHAR(13) returns a carriage return. Figure 2.3 Remove blank spaces TRIM function can be used to remove all spaces from a text string except for single spaces between words. It is well known that TRIM function can remove leading and trailing spaces. Moreover, it can also replace multiple consecutive spaces with single space. For example, there is only one blank space between stranger and to in cell C4 after applying the TRIM function to cell B4. Figure 3.1 Return the number of characters in a string LEN function can be used to return the number of characters in a text string. This function is simple. For example, LEN( abc 123 ) will return 7. Here I have to remind you that blank spaces will also be counted. Read More: ASC Function(VBA) in Excel All rights reserved to ExcelDemy.com. 2

3 Extract text from another text string LEFT/MID/RIGHT Functions such as LEFT, RIGHT, MID can help you extract a word or text from another text string. Following table shows you the syntax of those functions. LEFT LEFT(text, [num_chars]) Returns first num_chars characters in text string. RIGHT RIGHT(text, [num_chars]) Returns last num_chars characters in text string. MID MID( string, start [, length ]) Returns a string containing a specified number of characters from the start position of a string. We have two strings in column B. What we need to do is to extract and put name, height, weight in column C, E and G respectively. Figure 4.1 shows you how to use LEFT, MID, and RIGHT function to fulfill this task. But if you look at the formulas closely, you will find that we need to change arguments each time the position changes. For example, the second argument should be 10 if we need to extract Name: Jack. But the argument turns to be 11 when coming to Name: Marie. It is annoying, right? Figure 4.1 Combination of LEFT/MID/RIGHT with FIND/SEARCH Luckily, we have another choice. The combination of these functions with FIND/SEARCH function can help you deal with complicated problems. Before showing the example, I will give you the syntax for FIND and SEARCH functions. FIND FIND(find_text, within_text, [start_num]) Locates find_text string within within_text and returns the number of the starting position of the find_text from the first character of the second wthin_text. Start_num is optional. It is the number in the within_text argument at which you want to start searching. FIND function is case-sensitive. SEARCH SEARCH(find_text, within_text, [start_num]) Locates find_text string within within_text and returns the number of the starting position of the find_text from the first character of the second wthin_text. Start_num is optional. It is the number in the within_text argument at which you want to start searching. The SEARCH function is not case-sensitive. All rights reserved to ExcelDemy.com. 3

4 Formula FIND( Height,$B7,1) returns the position of Height within the string in cell B7. It is 12 and it is the position of H (the first letter of Height ) as a matter of fact. There is one blank space between Name: Jack and H. Therefore, FIND( Height,$B7,1) 2 can is, in essence, the length of Name: Jack. Thus, =LEFT($B7,FIND( Height,$B7,1)-2) can return the Name: Jack. Copy this formula into cell C8, we can extract the name for the second person. Figure 4.2 also shows you how to combine MID/RIGHT function with FIND function to retrieve text in middle part of the right part. Figure 4.2 (click on the image to get a full view) Figure 4.3 shows you that FIND function is case-sensitive while SEARCH function is not case-sensitive. You need to be careful when determining which function should be used. Figure 4.3 (click on the image to get a full view) Split text and digits 1 Suppose that we have scores for Jack, Marie and Hurry in column B. How can we split name and score? Formula =MIN(FIND({0,1,2,3,4,5,6,7,8,9},B3& )) can return the position of the first digit within string Jack94. And with this returned position number, we can extract text and score using LEFT and RIGHT formula respectively. Here is where you can find the details about array formula. Figure 4.4 Now let s see what does FIND({0,1,2,3,4,5,6,7,8,9},B3& ) will return. Put Jack which is the result of the concatenation of Jack94 and in cell F1. Select range G3:P3 and enter =FIND({0,1,2,3,4,5,6,7,8,9},B3& ) in cell G3 and then enter CTRL+SHIFT+ENTER, excel will return numbers in red box as below in Figure 4.5. As a matter of fact, range G3:P3 returns the position of 0, 1 9 in string Jack If you enter FIND(G1,F1) in cell G2, you will get the same number as that in cell G3. By copying this formula into range H2:P2, you will find that numbers in range H2:P2 are the same as those in range H3:P3. Figure 4.5 You can see that the position of first 9 in string Jack is 5. And 5 is the All rights reserved to ExcelDemy.com. 4

5 smallest number in range G3:P3. That s the reason why MIN function is applied here. Read More: Creating Addresses from a Single Column with Flash Fill, TEXT Formulas & Commentator s Text Formula Suggestions Split text and digits 2 Sometimes, letters and digits are placed together in a way that you cannot find a rule to split them easily. In this case, we can use VBA code to complete this task. Let s take Figure 4.6 as an example. By clicking on Split button in Figure 4.6, Excel can extract letters from column A and put them in column B. Digits will be entered into column C while other special characters will be put in column D. Figure 4.6 Here is the code. Generally, MID function will be used to pick out each character first. If the character is a letter, it will be put at the end of String A and it will be put at the end of String B if the character is a digit. Otherwise, it will be placed at the end of String C. Finally, Excel will put String A, String B and String C in column B, C, and D respectively. Source code Sub extract_click() Dim StrA As String Dim StrB As String Dim StrC As String Dim str As String ThisWorkbook.Worksheets("Extract text 3").Activate nrow = ActiveSheet.Range("A65536").End(xlUp).Row All rights reserved to ExcelDemy.com. 5

6 'clean previous data For j = 2 To 4 ActiveSheet.Cells(i, j) = "" str = ActiveSheet.Cells(i, 1) For j = 1 To Len(str) temp = Mid(str, j, 1) If temp Like "[A-Za-z]" Then StrA = StrA & temp ElseIf temp Like "[0-9]" Then StrB = StrB & temp Else StrC = StrC & temp End If All rights reserved to ExcelDemy.com. 6

7 ActiveSheet.Cells(i, 2) = StrA ActiveSheet.Cells(i, 3) = StrB ActiveSheet.Cells(i, 4) = StrC StrA = "" StrB = "" StrC = "" End Sub ThisWorkbook.Worksheets( Extract text 3 ).Range( A65536 ).End(xlUp).Row can return the last used row number. By applying this number to for loop, Excel can split as many as strings as long as you put them in column A. Below code can clean previously extracted data from the second row in column B, C, and D. Thus what you need to do only is to update column A each time you want to split new strings. Source code 'clean previous data For j = 2 To 4 ActiveSheet.Cells(i, j) = "" All rights reserved to ExcelDemy.com. 7

8 Split text and digits 3 More than often, we do want the characters are concatenated like above when extracting. How can we extract text and digits in a way like below in Figure 4.7? Figure 4.7 Here is the VBA code which can enable Excel to complete this kind of task. Source code Sub extract1_click() Dim StrA As String Dim str As String ThisWorkbook.Worksheets("Extract text 4").Activate nrow = ActiveSheet.Range("A65536").End(xlUp).Row ncol = ActiveSheet.UsedRange.Columns.Count 'clean data For j = 2 To ncol ActiveSheet.Cells(i, j) = "" All rights reserved to ExcelDemy.com. 8

9 a = 2 str = ActiveSheet.Cells(i, 1) For j = 1 To Len(str) temp1 = Mid(str, j, 1) If j < Len(str) Then temp2 = Mid(str, j + 1, 1) Else temp2 = Mid(str, j, 1) End If StrA = StrA & temp1 If ((Not (temp1 Like "[0-9]")) And temp2 Like "[0-9]") Or ((Not (temp2 Like "[0-9]")) And temp1 Like "[0-9]") Then ActiveSheet.Cells(i, a) = StrA StrA = "" a = a + 1 All rights reserved to ExcelDemy.com. 9

10 End If If j = Len(str) Then ActiveSheet.Cells(i, a) = StrA StrA = "" End If a = 2 End Sub The key point here is that it will pick up two characters at the same time. If the first character is not a digit and the second the character is a digit, Excel will stop concatenating and put the concatenated strings in the worksheet. Similarly, Excel will do the same thing if the first character is a digit and the second the character is not a digit. If Excel reaches the last character in the string, it will put the concatenated string into worksheet too. Please note that StrA will be set to be null once Excel stops concatenating or reaches the last character. In order to put extracted text or number into different cells, a will be added by 1 each time Excel stops concatenating. It will be set to be 2 once Excel reaches the last character since Excel will move to a new row and start splitting new strings. Read More: Using Text to Columns to split text in Excel Split text separated by fixed symbol Sometimes the substrings may be separated by a fixed symbol like ~. By clicking on Split button, we can extract substrings and put each of them in different cells. Figure 4.8 [click on the image to get a full view] Here is the VBA code. The key point here is the SPLIT function. It is simple and I will not All rights reserved to ExcelDemy.com. 10

11 discuss in details. Source code Sub extract2_click() ThisWorkbook.Worksheets("Extract text 5").Activate nrow = ActiveSheet.Range("A65536").End(xlUp).Row ncol = ActiveSheet.UsedRange.Columns.Count 'clean data For j = 2 To ncol ActiveSheet.Cells(i, j) = "" 'split If ActiveSheet.Cells(1, 3) > "" Then For j = 0 To UBound(Split(ActiveSheet.Cells(i, 1), ActiveSheet.Cells(1, 3))) All rights reserved to ExcelDemy.com. 11

12 temp = Split(ActiveSheet.Cells(i, 1), ActiveSheet.Cells(1, 3))(j) ActiveSheet.Cells(i, 2 + j) = temp Else For j = 0 To UBound(Split(ActiveSheet.Cells(i, 1), " ")) temp = Split(ActiveSheet.Cells(i, 1), " ")(j) ActiveSheet.Cells(i, 2 + j) = temp End If End Sub Please note that the separated character can be changed. For example, if you change it to S, you will get different results as shown in Figure 4.9. Figure 4.9 Here is another example. After splitting, you can use SUM function to get the total of numbers within a specific string. For example, by using formula =SUM(B3:D3), we can get 120. Figure 4.10 All rights reserved to ExcelDemy.com. 12

13 Finally, here is the last example. If you set the cell C1 to be blank, Excel will consider the split symbol is a blank space. Please note that if you use macro in section Split text and digits 3, you will get two strings Students Number and 30. But using the macro in this section, you will get three strings: Students, Number and 30. Please select the appropriate macro for your own problem. Figure 4.11 Concatenate text Sometimes, we many want to join strings into one string. For the kind of problem, we can use CONCATENATE function. Here is the syntax: CONCATENATECONCATENATE(text1, [text2], ) Join two or more text string into one string. It is easy and I will make only one simple example. As a programmer, I have to deal with IF Elseif often. What I usually do is to use CONCATENATE function to make whole statements (range D2:D6) and then copy them into Editor. You can use this function to solve your own problem. Figure 5.1 Download working file Download the working file from the link below. Manipulation-of-Strings-using-Excel.xlsm 35 SHARES FacebookTwitter Zhiping Yan I am from China and this photo was taken in a classical garden. There are many similar gardens in China, attracting a lot of visitors every year, especially in spring and summer. I was major in Biotechnology. But I took a job as an SAS programmer because I prefer programming. Besides SAS, I also learned Excel VBA in my spare time. It is fantastic to be able to manipulate data, files and even to interact with the internet via programming. This will save me a lot of time. I am keen to learn new things. All rights reserved to ExcelDemy.com. 13

Top 20 Excel Limitations that might Frustrate You!

Top 20 Excel Limitations that might Frustrate You! Excel is obviously one of the most important products in the world. It is very helpful in managing, analyzing data. But there is also something that may get us frustrated when using Excel. Today I d like

More information

String Functions on Excel Macros

String Functions on Excel Macros String Functions on Excel Macros The word "string" is used to described the combination of one or more characters in an orderly manner. In excel vba, variables can be declared as String or the Variant

More information

ADVANCED MS EXCEL 2007 USEFUL FUNCTIONS & FORMULAS FOR DAILY USE

ADVANCED MS EXCEL 2007 USEFUL FUNCTIONS & FORMULAS FOR DAILY USE ADVANCED MS EXCEL 2007 USEFUL FUNCTIONS & FORMULAS FOR DAILY USE Objectives This workshop will explore the advanced functions available in Excel 2007 to facilitate your work. It will introduce the useful

More information

EXCEL WORKSHOP II ADVANCED FORMULAS AND FUNCTIONS IN EXCEL

EXCEL WORKSHOP II ADVANCED FORMULAS AND FUNCTIONS IN EXCEL EXCEL WORKSHOP II ADVANCED FORMULAS AND FUNCTIONS IN EXCEL Table of Contents Text Functions: Text to Columns, LEFT, RIGHT, MID, FIND, LEN Lookup Functions: VLOOKUP, INDEX and MATCH PivotTable Features:

More information

Saving Time with Text Operations in Excel

Saving Time with Text Operations in Excel 1 Saving Time with Text Operations in Excel Written by Dann Albright Published May 2015. Read the original article here: http://www.makeuseof.com/tag/saving-time-text-operations-excel/ This ebook is the

More information

Excel Tips for Compensation Practitioners Weeks Text Formulae

Excel Tips for Compensation Practitioners Weeks Text Formulae Excel Tips for Compensation Practitioners Weeks 70-73 Text Formulae Week 70 Using Left, Mid and Right Formulae When analysing compensation data, you generally extract data from the payroll, the HR system,

More information

COMM 205 MANAGEMENT INFO SYSTEMS 2016 FALL MIDTERM EXAM REVIEW SESSION BY LEAH ZHANG

COMM 205 MANAGEMENT INFO SYSTEMS 2016 FALL MIDTERM EXAM REVIEW SESSION BY LEAH ZHANG COMM 205 MANAGEMENT INFO SYSTEMS 2016 FALL MIDTERM EXAM REVIEW SESSION BY LEAH ZHANG TABLE OF CONTENT I. Introduction II. IF; nested IF; AND/OR; putting it all together III. COUNTIFS; SUMIFS IV. VLOOKUP

More information

Text. Text Actions. String Contains

Text. Text Actions. String Contains Text The Text Actions are intended to refine the texts acquired during other actions, for example, from web-elements, remove unnecessary blank spaces, check, if the text matches the defined content; and

More information

DOWNLOAD PDF MICROSOFT EXCEL ALL FORMULAS LIST WITH EXAMPLES

DOWNLOAD PDF MICROSOFT EXCEL ALL FORMULAS LIST WITH EXAMPLES Chapter 1 : Examples of commonly used formulas - Office Support A collection of useful Excel formulas for sums and counts, dates and times, text manipularion, conditional formatting, percentages, Excel

More information

THE FORMULAS TAB, CELL REFERENCING,THE VIEW TAB & WORKBOOK SECURITY THE FORMULAS TAB, CELL REFERENCING, THE VIEW TAB & WORKBOOK SECURITY OBJECTIVES

THE FORMULAS TAB, CELL REFERENCING,THE VIEW TAB & WORKBOOK SECURITY THE FORMULAS TAB, CELL REFERENCING, THE VIEW TAB & WORKBOOK SECURITY OBJECTIVES THE FORMULAS TAB, CELL REFERENCING,THE VIEW TAB & WORKBOOK SECURITY Session 9 THE FORMULAS TAB, CELL REFERENCING, THE VIEW TAB & WORKBOOK SECURITY General Objectives OBJECTIVES Session 9 In this Session,

More information

Functions in Excel. Structure of a function: Basic Mathematical Functions. Arithmetic operators: Comparison Operators:

Functions in Excel. Structure of a function: Basic Mathematical Functions. Arithmetic operators: Comparison Operators: Page1 Functions in Excel Formulas (functions) are equations that perform calculations on values in your spreadsheet. A formula always starts with an equal sign (=). Example: =5+2*7 This formula multiples

More information

How to Compare Two Lists or Columns in Excel

How to Compare Two Lists or Columns in Excel While doing different tasks in Excel we often come across a situation where the matching and differences of two or multiple columns are required. It s not a difficult task to find the differences and matches

More information

I OFFICE TAB... 1 RIBBONS & GROUPS... 2 OTHER SCREEN PARTS... 4 APPLICATION SPECIFICATIONS... 5 THE BASICS...

I OFFICE TAB... 1 RIBBONS & GROUPS... 2 OTHER SCREEN PARTS... 4 APPLICATION SPECIFICATIONS... 5 THE BASICS... EXCEL 2010 BASICS Microsoft Excel I OFFICE TAB... 1 RIBBONS & GROUPS... 2 OTHER SCREEN PARTS... 4 APPLICATION SPECIFICATIONS... 5 THE BASICS... 6 The Mouse... 6 What Are Worksheets?... 6 What is a Workbook?...

More information

Microsoft Excel 2010 Training. Excel 2010 Basics

Microsoft Excel 2010 Training. Excel 2010 Basics Microsoft Excel 2010 Training Excel 2010 Basics Overview Excel is a spreadsheet, a grid made from columns and rows. It is a software program that can make number manipulation easy and somewhat painless.

More information

Workbooks (File) and Worksheet Handling

Workbooks (File) and Worksheet Handling Workbooks (File) and Worksheet Handling Excel Limitation Excel shortcut use and benefits Excel setting and custom list creation Excel Template and File location system Advanced Paste Special Calculation

More information

Data. Selecting Data. Sorting Data

Data. Selecting Data. Sorting Data 1 of 1 Data Selecting Data To select a large range of cells: Click on the first cell in the area you want to select Scroll down to the last cell and hold down the Shift key while you click on it. This

More information

Fundamentals. Fundamentals. Fundamentals. We build up instructions from three types of materials

Fundamentals. Fundamentals. Fundamentals. We build up instructions from three types of materials Fundamentals We build up instructions from three types of materials Constants Expressions Fundamentals Constants are just that, they are values that don t change as our macros are executing Fundamentals

More information

Jump Right In! Essential Computer Skills Using Microsoft 2013 By Andrews, Dark, and West

Jump Right In! Essential Computer Skills Using Microsoft 2013 By Andrews, Dark, and West Jump Right In! Essential Computer Skills Using Microsoft 2013 By Andrews, Dark, and West Chapter 10 Managing Numbers and Text Using Excel 1 Objectives Examine the Excel window and tools Enter and format

More information

DESCRIPTION 1 TO DEFINE A NAME 2. USING RANGE NAMES 2 Functions 4 THE IF FUNCTION 4 THE VLOOKUP FUNCTION 5 THE HLOOKUP FUNCTION 6

DESCRIPTION 1 TO DEFINE A NAME 2. USING RANGE NAMES 2 Functions 4 THE IF FUNCTION 4 THE VLOOKUP FUNCTION 5 THE HLOOKUP FUNCTION 6 Table of contents The use of range names 1 DESCRIPTION 1 TO DEFINE A NAME 2 USING RANGE NAMES 2 Functions 4 THE IF FUNCTION 4 THE VLOOKUP FUNCTION 5 THE HLOOKUP FUNCTION 6 THE ROUND FUNCTION 7 THE SUMIF

More information

download instant at

download instant at CHAPTER 1 - LAB SESSION INTRODUCTION TO EXCEL INTRODUCTION: This lab session is designed to introduce you to the statistical aspects of Microsoft Excel. During this session you will learn how to enter

More information

My Top 5 Formulas OutofhoursAdmin

My Top 5 Formulas OutofhoursAdmin CONTENTS INTRODUCTION... 2 MS OFFICE... 3 Which Version of Microsoft Office Do I Have?... 4 How To Customise Your Recent Files List... 5 How to recover an unsaved file in MS Office 2010... 7 TOP 5 FORMULAS...

More information

Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex

Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex Basic Topics: Formulas, LookUp Tables and PivotTables Prepared for Aero Controlex Review ribbon terminology such as tabs, groups and commands Navigate a worksheet, workbook, and multiple workbooks Prepare

More information

Civil Engineering Computation

Civil Engineering Computation Civil Engineering Computation First Steps in VBA Homework Evaluation 2 1 Homework Evaluation 3 Based on this rubric, you may resubmit Homework 1 and Homework 2 (along with today s homework) by next Monday

More information

How to Generate Random Numbers in Excel (Ultimate Guide)

How to Generate Random Numbers in Excel (Ultimate Guide) Random numbers are those numbers which are generated by a process in which the outcome is not predictable and in a defined interval/set, the values are uniformly distributed. Random numbers are used in

More information

Read More: Keyboard Shortcuts for Moving around Excel Spreadsheets

Read More: Keyboard Shortcuts for Moving around Excel Spreadsheets You will do all your works in a workbook file. You can add as many worksheets as you need in a workbook file. Each worksheet appears in its own window. By default, Excel workbooks use a.xlsx file extension.

More information

COURSE CONTENT Excel with VBA Training

COURSE CONTENT Excel with VBA Training COURSE CONTENT Excel with VBA Training MS Excel - Advance 1. Excel Quick Overview Use of Excel, its boundaries & features 2. Data Formatting & Custom setting Number, Text, Date, Currency, Custom settings.

More information

How to Reduce Large Excel File Size (Ultimate Guide)

How to Reduce Large Excel File Size (Ultimate Guide) Handling a large file is important as it takes a huge amount of time to transfer. A large file takes too much time to open. Any kind of change in a large file takes a long time to update. So, reducing

More information

Unit 3 Fill Series, Functions, Sorting

Unit 3 Fill Series, Functions, Sorting Unit 3 Fill Series, Functions, Sorting Fill enter repetitive values or formulas in an indicated direction Using the Fill command is much faster than using copy and paste you can do entire operation in

More information

Excel Tips for Compensation Practitioners Month 1

Excel Tips for Compensation Practitioners Month 1 Excel Tips for Compensation Practitioners Month 1 Introduction This is the first of what will be a weekly column with Excel tips for Compensation Practitioners. These tips will cover functions in Excel

More information

Department of Language and Linguistics LG400. Computer Induction for Linguists. Class Handouts. Week 7. Working with data on MS Excel.

Department of Language and Linguistics LG400. Computer Induction for Linguists. Class Handouts. Week 7. Working with data on MS Excel. Department of Language and Linguistics LG400 Computer Induction for Linguists Class Handouts Week 7 Working with data on MS Excel by Mutsumi Ogawa mogawa@essex.ac.uk Session description Do you work with

More information

Unit 3 Functions Review, Fill Series, Sorting, Merge & Center

Unit 3 Functions Review, Fill Series, Sorting, Merge & Center Unit 3 Functions Review, Fill Series, Sorting, Merge & Center Function built-in formula that performs simple or complex calculations automatically names a function instead of using operators (+, -, *,

More information

Excel Level 1

Excel Level 1 Excel 2016 - Level 1 Tell Me Assistant The Tell Me Assistant, which is new to all Office 2016 applications, allows users to search words, or phrases, about what they want to do in Excel. The Tell Me Assistant

More information

EVALUATION ONLY. In this chapter, you will learn new. Text and Analysis EXCEL 2016 CHAPTER TIMING PROJECT: ANALYZING SALES INFORMATION

EVALUATION ONLY. In this chapter, you will learn new. Text and Analysis EXCEL 2016 CHAPTER TIMING PROJECT: ANALYZING SALES INFORMATION EXCEL 2016 3Advanced Functions for Text and Analysis In this chapter, you will learn new functions that give you greater ability for analysis and decision making. They include functions that either sum

More information

Excel VBA. Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data.

Excel VBA. Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data. Excel VBA WHAT IS VBA AND WHY WE USE IT Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data. Sometimes though, despite the rich set of features in the

More information

The Item_Master_addin.xlam is an Excel add-in file used to provide additional features to assist during plan development.

The Item_Master_addin.xlam is an Excel add-in file used to provide additional features to assist during plan development. Name: Tested Excel Version: Compatible Excel Version: Item_Master_addin.xlam Microsoft Excel 2013, 32bit version Microsoft Excel 2007 and up (32bit and 64 bit versions) Description The Item_Master_addin.xlam

More information

TSM Report Designer. Even Microsoft Excel s Data Import add-in can be used to extract TSM information into an Excel spread sheet for reporting.

TSM Report Designer. Even Microsoft Excel s Data Import add-in can be used to extract TSM information into an Excel spread sheet for reporting. TSM Report Designer The TSM Report Designer is used to create and modify your TSM reports. Each report in TSM prints data found in the databases assigned to that report. TSM opens these databases according

More information

Functions are predefined formulas that perform calculations by using specific values, called arguments, in a particular order, or structure.

Functions are predefined formulas that perform calculations by using specific values, called arguments, in a particular order, or structure. MATHS AND STATISTICAL FUNCTIONS Functions are predefined formulas that perform calculations by using specific values, called arguments, in a particular order, or structure. For example, the SUM function

More information

1. In the accompanying figure, the months were rotated by selecting the text and dragging the mouse pointer up and to the right.

1. In the accompanying figure, the months were rotated by selecting the text and dragging the mouse pointer up and to the right. Excel: Chapter 3 True/False Indicate whether the statement is true or false. Figure 3-3 1. In the accompanying figure, the months were rotated by selecting the text and dragging the mouse pointer up and

More information

Microsoft Excel 2010

Microsoft Excel 2010 Microsoft Excel 2010 omar 2013-2014 First Semester 1. Exploring and Setting Up Your Excel Environment Microsoft Excel 2010 2013-2014 The Ribbon contains multiple tabs, each with several groups of commands.

More information

The Basics of Excel Part III. Monday, April 17 th 2017 D-Lab University of California, Berkeley

The Basics of Excel Part III. Monday, April 17 th 2017 D-Lab University of California, Berkeley The Basics of Excel Part III Monday, April 17 th 2017 D-Lab University of California, Berkeley 0 Contents Introduction Databases Pivot Tables Modeling 1 Introduction Last class we learned about Types of

More information

INFORMATION SHEET 24002/1: AN EXCEL PRIMER

INFORMATION SHEET 24002/1: AN EXCEL PRIMER INFORMATION SHEET 24002/1: AN EXCEL PRIMER How to use this document This guide to the basics of Microsoft Excel is intended for those people who use the program, but need or wish to know more than the

More information

Pivot Tables, Lookup Tables and Scenarios

Pivot Tables, Lookup Tables and Scenarios Introduction Format and manipulate data using pivot tables. Using a grading sheet as and example you will be shown how to set up and use lookup tables and scenarios. Contents Introduction Contents Pivot

More information

Learning Excel VBA. About Variables. ComboProjects. Prepared By Daniel Lamarche

Learning Excel VBA. About Variables. ComboProjects. Prepared By Daniel Lamarche Learning Excel VBA About Variables Prepared By Daniel Lamarche ComboProjects About Variables By Daniel Lamarche (Last update February 2017). The term variables often send shivers in the back of many learning

More information

How to Use the Select Case Structure in Excel VBA

How to Use the Select Case Structure in Excel VBA One can implement conditional logic in VBA using an IF statement, multiple IF-Elseif statements or one can use the Select Case statement in order to implement conditional logic. In the case where one has

More information

Here's an example of how the method works on the string "My text" with a start value of 3 and a length value of 2:

Here's an example of how the method works on the string My text with a start value of 3 and a length value of 2: CS 1251 Page 1 Friday Friday, October 31, 2014 10:36 AM Finding patterns in text A smaller string inside of a larger one is called a substring. You have already learned how to make substrings in the spreadsheet

More information

MgtOp 470 Business Modeling with Spreadsheets Sample Midterm Exam. 1. Spreadsheets are known as the of business analysis.

MgtOp 470 Business Modeling with Spreadsheets Sample Midterm Exam. 1. Spreadsheets are known as the of business analysis. Section 1 Multiple Choice MgtOp 470 Business Modeling with Spreadsheets Sample Midterm Exam 1. Spreadsheets are known as the of business analysis. A. German motor car B. Mexican jumping bean C. Swiss army

More information

STUDENT LESSON A10 The String Class

STUDENT LESSON A10 The String Class STUDENT LESSON A10 The String Class Java Curriculum for AP Computer Science, Student Lesson A10 1 STUDENT LESSON A10 The String Class INTRODUCTION: Strings are needed in many programming tasks. Much of

More information

How to Create a For Next Loop in Excel VBA!

How to Create a For Next Loop in Excel VBA! Often when writing VBA code, one may need to repeat the same action or series of actions more than a couple of times. One could, in this case, write each action over and over in one s code or alternatively

More information

NOTES: String Functions (module 12)

NOTES: String Functions (module 12) Computer Science 110 NAME: NOTES: String Functions (module 12) String Functions In the previous module, we had our first look at the String data type. We looked at declaring and initializing strings, how

More information

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University : Advanced Applications of MS-Office

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University : Advanced Applications of MS-Office Unit-1 MS-WORD Answer the following. (1 mark) 1. Which submenu contains the watermark option? 2. Which is used for the Cell merge in the table? 3. Which option creates a large capital letter at the beginning

More information

Introduction to Excel 2013

Introduction to Excel 2013 Introduction to Excel 2013 Copyright 2014, Software Application Training, West Chester University. A member of the Pennsylvania State Systems of Higher Education. No portion of this document may be reproduced

More information

Microsoft Excel Microsoft Excel

Microsoft Excel Microsoft Excel Excel 101 Microsoft Excel is a spreadsheet program that can be used to organize data, perform calculations, and create charts and graphs. Spreadsheets or graphs created with Microsoft Excel can be imported

More information

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited

EVALUATION COPY. Unauthorized Reproduction or Distribution Prohibited INTERMEDIATE MICROSOFT EXCEL 2016 Intermediate Microsoft Excel 2016 (EXC2016.2 version 1.0.1) Copyright Information Copyright 2016 Webucator. All rights reserved. The Authors Dave Dunn Dave Dunn joined

More information

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

More information

Ms Excel Vba Continue Loop Through Columns Range

Ms Excel Vba Continue Loop Through Columns Range Ms Excel Vba Continue Loop Through Columns Range Learn how to make your VBA code dynamic by coding in a way that allows your 5 Different Ways to Find The Last Row or Last Column Using VBA In Microsoft

More information

Learning Excel VBA. Creating User Defined Functions. ComboProjects. Prepared By Daniel Lamarche

Learning Excel VBA. Creating User Defined Functions. ComboProjects. Prepared By Daniel Lamarche Learning Excel VBA Creating User Defined Functions Prepared By Daniel Lamarche ComboProjects Creating User Defined Functions By Daniel Lamarche (Last update January 2016). User Defined Functions or UDFs

More information

Microsoft Power Tools for Data Analysis #04: Power Query: Import Multiple Excel Files & Combine (Append) into Proper Data Set.

Microsoft Power Tools for Data Analysis #04: Power Query: Import Multiple Excel Files & Combine (Append) into Proper Data Set. Microsoft Power Tools for Data Analysis #04: Power Query: Import Multiple Excel Files & Combine (Append) into Proper Data Set Table of Contents: Notes from Video:. Goal of Video.... Main Difficulty When

More information

Using Advanced Formulas

Using Advanced Formulas 10 Using Advanced Formulas LESSON SKILL MATRIX Skills Exam Objective Objective Number Using Formulas to Conditionally Summarize Data Adding Conditional Logic Functions to Formulas Using Formulas to Modify

More information

Though we re focusing on the newest version of Excel, most of what is covered applies to the other types of spreadsheets discussed in chapter four.

Though we re focusing on the newest version of Excel, most of what is covered applies to the other types of spreadsheets discussed in chapter four. Chapter 4 Working with Specialized Functions and Formulas in Excel In this tutorial, we will tackle the basic and most useful string functions journalists use when performing a variety of tasks such as

More information

A B C D E F G H I J K L M 1 Student Test 1 Test 2 Test 3 Test 4 Total AVG. Joe Smith

A B C D E F G H I J K L M 1 Student Test 1 Test 2 Test 3 Test 4 Total AVG. Joe Smith 5.05 Instructions Part 1: Modifying the Worksheet 1. Click on the F in the shaded area at the top of the spreadsheet. This should cause the entire column to become highlighted. 2. Click on the Home tab

More information

Agenda. Strings 30/10/2009 INTRODUCTION TO VBA PROGRAMMING. Strings Iterative constructs

Agenda. Strings 30/10/2009 INTRODUCTION TO VBA PROGRAMMING. Strings Iterative constructs INTRODUCTION TO VBA PROGRAMMING LESSON5 dario.bonino@polito.it Agenda Strings Iterative constructs For Next Do Loop Do While Loop Do Loop While Do Until Loop Do Loop Until Strings 1 Strings Variables that

More information

Deep Dive: Pronto Transformations Reference

Deep Dive: Pronto Transformations Reference Deep Dive: Pronto Transformations Reference Available Transformations and Their Icons Transform Description Menu Icon Add Column on page 2 Important: Not available in Trial. Upgrade to Pro Edition! Add

More information

Applied Systems Client Network SEMINAR HANDOUT. Excel 2007: Level 2

Applied Systems Client Network SEMINAR HANDOUT. Excel 2007: Level 2 Applied Systems Client Network SEMINAR HANDOUT Excel 2007: Level 2 Prepared for ASCnet Applied Systems Client Network 801 Douglas Avenue #205 Altamonte Springs, FL 32714 Phone: 407-869-0404 Fax: 407-869-0418

More information

Ms Excel Dashboards & VBA

Ms Excel Dashboards & VBA Ms Excel Dashboards & VBA 32 hours, 4 sessions, 8 hours each Day 1 Formatting Conditional Formatting: Beyond Simple Conditional Formats Data Validation: Extended Uses of Data Validation working with Validation

More information

Excel 2016: Core Data Analysis, Manipulation, and Presentation; Exam

Excel 2016: Core Data Analysis, Manipulation, and Presentation; Exam Microsoft Office Specialist Excel 2016: Core Data Analysis, Manipulation, and Presentation; Exam 77-727 Successful candidates for the Microsoft Office Specialist Excel 2016 certification exam will have

More information

Excel Tools Features... 1 Comments... 2 List Comments Formatting... 3 Center Across... 3 Hide Blank Rows... 3 Lists... 3 Sheet Links...

Excel Tools Features... 1 Comments... 2 List Comments Formatting... 3 Center Across... 3 Hide Blank Rows... 3 Lists... 3 Sheet Links... CONTEXTURES EXCEL TOOLS FEATURES LIST PAGE 1 Excel Tools Features The following features are contained in the Excel Tools Add-in. Excel Tools Features... 1 Comments... 2 List Comments... 2 Comments...

More information

Excel Flash Fill. Excel Flash Fill Example

Excel Flash Fill. Excel Flash Fill Example 1 Excel Flash Fill Some of the most time consuming and irritating aspects of Excel are working with repetitive information. This included writing formulas, formatting, separating dates, and entering names

More information

OBJECT ORIENTED PROGRAMMING: VBA

OBJECT ORIENTED PROGRAMMING: VBA Agenda for Today VBA and Macro creation (using Excel) DSC340 Object-Oriented Programming Creating Macros with VBA Mike Pangburn What is O-O programming? OBJECT ORIENTED PROGRAMMING: VBA A programming style

More information

CHAPTER 4: MICROSOFT OFFICE: EXCEL 2010

CHAPTER 4: MICROSOFT OFFICE: EXCEL 2010 CHAPTER 4: MICROSOFT OFFICE: EXCEL 2010 Quick Summary A workbook an Excel document that stores data contains one or more pages called a worksheet. A worksheet or spreadsheet is stored in a workbook, and

More information

Excel Basic 1 GETTING ACQUAINTED WITH THE ENVIRONMENT 2 INTEGRATION WITH OFFICE EDITING FILES 4 EDITING A WORKBOOK. 1.

Excel Basic 1 GETTING ACQUAINTED WITH THE ENVIRONMENT 2 INTEGRATION WITH OFFICE EDITING FILES 4 EDITING A WORKBOOK. 1. Excel Basic 1 GETTING ACQUAINTED WITH THE ENVIRONMENT 1.1 Introduction 1.2 A spreadsheet 1.3 Starting up Excel 1.4 The start screen 1.5 The interface 1.5.1 A worksheet or workbook 1.5.2 The title bar 1.5.3

More information

How to Set up a Budget Advanced Excel Part B

How to Set up a Budget Advanced Excel Part B How to Set up a Budget Advanced Excel Part B A budget is probably the most important spreadsheet you can create. A good budget will keep you focused on your ultimate financial goal and help you avoid spending

More information

Ms Excel Vba Continue Loop Through Range Of

Ms Excel Vba Continue Loop Through Range Of Ms Excel Vba Continue Loop Through Range Of Rows Learn how to make your VBA code dynamic by coding in a way that allows your 5 Different Ways to Find The Last Row or Last Column Using VBA In Microsoft

More information

Formulas and Functions

Formulas and Functions Conventions used in this document: Keyboard keys that must be pressed will be shown as Enter or Ctrl. Controls to be activated with the mouse will be shown as Start button > Settings > System > About.

More information

How to Open Excel. Introduction to Excel TIP: Right click Excel on list and select PIN to Start Menu. When you open Excel, a new worksheet opens

How to Open Excel. Introduction to Excel TIP: Right click Excel on list and select PIN to Start Menu. When you open Excel, a new worksheet opens Introduction to Excel 2010 What is Excel? It is a Microsoft Office computer software program to organize and analyze numbers, data and labels in spreadsheet form. Excel makes it easy to translate data

More information

Extracting the last word of a string Extracting all but the first word of a string Extracting first names, middle names, and last names Counting the

Extracting the last word of a string Extracting all but the first word of a string Extracting first names, middle names, and last names Counting the Introducing Excel Understanding Workbooks and Worksheets Moving around a Worksheet Introducing the Ribbon Accessing the Ribbon by using your keyboard Using Shortcut Menus Customizing Your Quick Access

More information

Appendix A Microsoft Office Specialist exam objectives

Appendix A Microsoft Office Specialist exam objectives A 1 Appendix A Microsoft Office Specialist exam objectives This appendix covers these additional topics: A Excel 2013 Specialist exam objectives, with references to corresponding coverage in ILT Series

More information

Unit 2 Fine-tuning Spreadsheets, Functions (AutoSum)

Unit 2 Fine-tuning Spreadsheets, Functions (AutoSum) Unit 2 Fine-tuning Spreadsheets, Functions (AutoSum) Select a Row or a Column Place your pointer over the Column Header (gray cell at the top of a column that contains a letter identifying the column)

More information

Candy is Dandy Project (Project #12)

Candy is Dandy Project (Project #12) Candy is Dandy Project (Project #12) You have been hired to conduct some market research about M&M's. First, you had your team purchase 4 large bags and the results are given for the contents of those

More information

Applications Development

Applications Development AD003 User Implementation and Revision of Business Rules Without Hard Coding: Macro-Generated SAS Code By Michael Krumenaker, Sr. Project Manager, Palisades Research, Inc. and Jit Bhattacharya, Manager

More information

Excel Lesson 3 USING FORMULAS & FUNCTIONS

Excel Lesson 3 USING FORMULAS & FUNCTIONS Excel Lesson 3 USING FORMULAS & FUNCTIONS 1 OBJECTIVES Enter formulas in a worksheet Understand cell references Copy formulas Use functions Review and edit formulas 2 INTRODUCTION The value of a spreadsheet

More information

Using Excel for a Gradebook: Advanced Gradebook Formulas

Using Excel for a Gradebook: Advanced Gradebook Formulas Using Excel for a Gradebook: Advanced Gradebook Formulas Objective 1: Review basic formula concepts. Review Basic Formula Concepts Entering a formula by hand: Always start with an equal sign, and click

More information

Excel Tables and Pivot Tables

Excel Tables and Pivot Tables A) Why use a table in the first place a. Easy to filter and sort if you only sort or filter by one item b. Automatically fills formulas down c. Can easily add a totals row d. Easy formatting with preformatted

More information

Python allows variables to hold string values, just like any other type (Boolean, int, float). So, the following assignment statements are valid:

Python allows variables to hold string values, just like any other type (Boolean, int, float). So, the following assignment statements are valid: 1 STRINGS Objectives: How text data is internally represented as a string Accessing individual characters by a positive or negative index String slices Operations on strings: concatenation, comparison,

More information

Using Formulas and Functions in Microsoft Excel

Using Formulas and Functions in Microsoft Excel Using Formulas and Functions in Microsoft Excel This document provides instructions for using basic formulas and functions in Microsoft Excel. Opening Comments Formulas are equations that perform calculations

More information

Microsoft Excel > Shortcut Keys > Shortcuts

Microsoft Excel > Shortcut Keys > Shortcuts Microsoft Excel > Shortcut Keys > Shortcuts Function Keys F1 Displays the Office Assistant or (Help > Microsoft Excel Help) F2 Edits the active cell, putting the cursor at the end* F3 Displays the (Insert

More information

Introduction to VBA for Excel-Tutorial 7. The syntax to declare an array starts by using the Dim statement, such that:

Introduction to VBA for Excel-Tutorial 7. The syntax to declare an array starts by using the Dim statement, such that: Introduction to VBA for Excel-Tutorial 7 In this tutorial, you will learn deal with arrays. We will first review how to declare the arrays, then how to pass data in and how to output arrays to Excel environment.

More information

Concatenate Function Page 505

Concatenate Function Page 505 Concatenate Function Page 505 The Concatenate Function is used to tie together different text strings. It is useful, for example, if you have columns in your Excel workbook for First Name and Last Name

More information

1.a) Go to it should be accessible in all browsers

1.a) Go to  it should be accessible in all browsers ECO 445: International Trade Professor Jack Rossbach Instructions on doing the Least Traded Product Exercise with Excel Step 1 Download Data from Comtrade [This step is done for you] 1.a) Go to http://comtrade.un.org/db/dqquickquery.aspx

More information

Rockefeller College MPA Excel Workshop: Clinton Impeachment Data Example

Rockefeller College MPA Excel Workshop: Clinton Impeachment Data Example Rockefeller College MPA Excel Workshop: Clinton Impeachment Data Example This exercise is a follow-up to the MPA admissions example used in the Excel Workshop. This document contains detailed solutions

More information

MICROSOFT EXCEL TIPS & TRICKS FOR THE INTERNAL AUDITOR

MICROSOFT EXCEL TIPS & TRICKS FOR THE INTERNAL AUDITOR MICROSOFT EXCEL TIPS & TRICKS FOR THE INTERNAL AUDITOR Moderate Complexity Functionality for Maximum Effectiveness Internal Audit, Risk, Business & Technology Consulting AGENDA Introductions Background

More information

AS Computer Applications: Excel Functions

AS Computer Applications: Excel Functions AS Computer Applications: ABS Returns the absolute value of a number. The absolute value of a number is the number without its sign. ABS(number) Number is the real number of which you want the absolute

More information

Structured Solutions Inc. Tools MS Project to Excel Export/Import Tools

Structured Solutions Inc. Tools MS Project to Excel Export/Import Tools Structured Solutions Inc. Tools MS Project to Excel Export/Import Tools This Macro Enabled Excel workbook contains a collection of useful tools that enables the user to Get, Post or Lookup data from MS

More information

Read More: Index Function Excel [Examples, Make Dynamic Range, INDEX MATCH]

Read More: Index Function Excel [Examples, Make Dynamic Range, INDEX MATCH] You can utilize the built-in Excel Worksheet functions such as the VLOOKUP Function, the CHOOSE Function and the PMT Function in your VBA code and applications as well. In fact, most of the Excel worksheet

More information

10 Ways To Efficiently Analyze Your Accounting Data in Excel

10 Ways To Efficiently Analyze Your Accounting Data in Excel 10 Ways To Efficiently Analyze Your Accounting Data in Excel Live Demonstration Investment advisory services are offered through CliftonLarsonAllen Wealth Advisors, LLC, an SEC-registered investment advisor.

More information

Chapter 5 BET TER ARRAYS AND STRINGS HANDLING

Chapter 5 BET TER ARRAYS AND STRINGS HANDLING Chapter 5 BET TER ARRAYS AND STRINGS HANDLING Chapter Objective Manage arrays with the foreach loop Create and use associative arrays Extract useful information from some of PHP s built-in arrays Build

More information

To Count the cells in a column use versions of

To Count the cells in a column use versions of Copying cells with cell references If you copy a cell with a cell reference, it will assume you want to shift your reference the same number of cells. Example: you copy the cell right one column and down

More information

1. Cell References and Naming

1. Cell References and Naming 1. Cell References and Naming 1.1 Using Cell References in Formulas A cell reference identifies a cell or group of cells in a workbook. When you include cell references in a formula, the formula is linked

More information

Data Service Center December

Data Service Center December www.dataservice.org Data Service Center December 2005 504-7222 Property of the Data Service Center, Wilmington, DE For Use Within the Colonial & Red Clay Consolidated Public School Districts Only Table

More information

Computer Science Lab Exercise 1

Computer Science Lab Exercise 1 1 of 10 Computer Science 127 - Lab Exercise 1 Introduction to Excel User-Defined Functions (pdf) During this lab you will experiment with creating Excel user-defined functions (UDFs). Background We use

More information

1. AUTO CORRECT. To auto correct a text in MS Word the text manipulation includes following step.

1. AUTO CORRECT. To auto correct a text in MS Word the text manipulation includes following step. 1. AUTO CORRECT - To auto correct a text in MS Word the text manipulation includes following step. - STEP 1: Click on office button STEP 2:- Select the word option button in the list. STEP 3:- In the word

More information