LEARNING OUTCOMES • able to explain and understand some basic and advance functions of MS Excel 2013 • able to apply those functions in GSIS excel forms and work file ADVANCE EXCEL FUNCTIONS • CELL REFERENCE very important in Excel building blocks of Excel modeling you will waste endless amount of time re-writing formulas Type Cell Referencing Relative Reference Sample Absolute Reference Sample Mixed Reference 1 2 ADVANCE EXCEL FUNCTIONS EXERCISE 1 CELL REFERENCING ADVANCE EXCEL FUNCTIONS • CONCATENATE FUNCTION combine text strings cells and columns
Why use concatenate function?
the data is not always structured according to your needs ADVANCE EXCEL FUNCTIONS Two ways to combine data in Excel spreadsheets Merge cells- When you merge cells, you "physically" merge two or more cells into a single cell. As a result, you have one larger cell that is displayed across multiple rows and/or columns in your worksheet. Concatenate cells' values - When you concatenate cells in Excel, you combine only the contents of those cells. In other words, concatenation in Excel is the process of joining two or more values together. This method is often used to combine a few pieces of text that reside in different cells (technically, these are called text strings or simply strings) or insert a formula-calculated value in the middle of some text. ADVANCE EXCEL FUNCTIONS • Excel CONCATENATE function The CONCATENATE function in Excel is designed to join different pieces of text together or combine values from several cells into one cell. The syntax of Excel CONCATENATE is as follows: CONCATENATE(text1, [text2], …) Where text is a text string, cell reference or formula-driven value. Note. In Excel 2016, Excel 2019, Excel Online and Excel Mobile, CONCATENATE is replaced with the CONCAT function, which has exactly the same syntax. Although the CONCATENATE function is kept for backward compatibility, it is recommended to use CONCAT instead because Microsoft does not give any promises that CONCATENATE will be available in future versions of Excel. ADVANCE EXCEL FUNCTIONS Concatenating the values of several cells The simplest CONCATENATE formula to combine the values of cells A1 and B1 is as follows: =CONCATENATE(A1, B1) ADVANCE EXCEL FUNCTIONS Concatenating a text string and cell value The simplest CONCATENATE formula to combine the values of cells A1 and B1 is as follows: =CONCATENATE(A1, " ", B1, " completed") =CONCATENATE("See ", A1, " ", B1) ADVANCE EXCEL FUNCTIONS Concatenating a text string and a formula-calculated value To make the result returned by some formula more understandable for your users, you can concatenate it with a text string that explains what the value actually is. =CONCATENATE("Today is ",TEXT(TODAY(), "dd-mmm-yy")) ADVANCE EXCEL FUNCTIONS Using CONCATENATE in Excel - things to remember To ensure that your CONCATENATE formulas always deliver the correct results, remember the following simple rules: • Excel CONCATENATE function requires at least one "text" argument to work. • Excel CONCATENATE does not recognize arrays. Each cell reference must be listed separately. For example, you should write =CONCATENATE(A1, A2, A3) instead of =CONCATENATE(A1:A3). • The result of the CONCATENATE function is always a text string, even when all of the source values are numbers. • If at least one of the CONCATENATE function's arguments is invalid, the formula returns a #VALUE! error. ADVANCE EXCEL FUNCTIONS “&" operator to concatenate strings in Excel Concatenate the values in A1 and B1: =A1&B1 Concatenate the values in A1 and B1 separated with a space: =A1&" "&B1 Concatenate the values in A1, B1 and a text string: =A1 & B1 & " completed" Concatenate a string and the result of the TEXT / TODAY function: ="Today is " & TEXT(TODAY(), "dd-mmm-yy") ADVANCE EXCEL FUNCTIONS EXERCISE 2 ADVANCE EXCEL FUNCTIONS • VLOOKUP function is one of the most popular functions in Excel. searching data in a table short for "vertical lookup," VLOOKUP takes advantage of vertically-aligned tables to quickly find data associated with a value the user enters. In its simplest form, the VLOOKUP function says: =VLOOKUP(Value you want to look up, range where you want to lookup the value, the column number in the range containing the return value, Exact Match or Approximate Match – indicated as 0/FALSE or 1/TRUE). ADVANCE EXCEL FUNCTIONS • VLOOKUP function In its simplest form, the VLOOKUP function says: =VLOOKUP(Value you want to look up, range where you want to lookup the value, the column number in the range containing the return value, Exact Match or Approximate Match – indicated as 0/FALSE or 1/TRUE). ADVANCE EXCEL FUNCTIONS • VLOOKUP function Right Lookup The VLOOKUP function always looks up a value in the leftmost column of a table and returns the corresponding value from a column to the right. 1. For example, the VLOOKUP function below looks up the first name and returns the last name. ADVANCE EXCEL FUNCTIONS EXERCISE 3 VLOOKUP ADVANCE EXCEL FUNCTIONS • IF function The IF function is one of the most popular functions in Excel, and it allows you to make logical comparisons between a value and what you expect. So an IF statement can have two results. The first result is if your comparison is True, the second if your comparison is False.
SYNTAX =IF (logical_test, [value_if_true], [value_if_false]) Title