0% found this document useful (0 votes)
70 views

Example 1

The LOOKUP function searches for a value in a lookup vector or array and returns a value from the same position in a result vector or array. It can perform either a vertical or horizontal lookup. VLOOKUP and HLOOKUP are more advanced functions that perform vertical and horizontal lookups in tables or arrays. The LOOKUP function assumes the lookup vector is sorted and will return approximate matches. It is used to look up values and perform lookups in Excel for functions like retrieving a quantity based on a product name or finding an interest rate based on a loan amount.

Uploaded by

Apple Lucino
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views

Example 1

The LOOKUP function searches for a value in a lookup vector or array and returns a value from the same position in a result vector or array. It can perform either a vertical or horizontal lookup. VLOOKUP and HLOOKUP are more advanced functions that perform vertical and horizontal lookups in tables or arrays. The LOOKUP function assumes the lookup vector is sorted and will return approximate matches. It is used to look up values and perform lookups in Excel for functions like retrieving a quantity based on a product name or finding an interest rate based on a loan amount.

Uploaded by

Apple Lucino
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

LOOKUP Function is categorized under Excel Lookup and  Array (required argument) – A range of cells that

Reference functions. contains text, numbers, or logical values that we want


to compare with the lookup_value.

Example 1
Assume we are given a list of products, color, order_id, and
quantity. We want a dashboard where we put the product and
then we instantly get the quantity.

The formula to use will be:

The function performs a rough match lookup either in a one-row


or one-column range and returns the corresponding value from
another one-row or one-column range. While doing financial
analysis, if we wish to compare two rows or columns, we can use
the LOOKUP function. It is designed to handle the simplest cases
of vertical and horizontal lookup. The more advanced versions of
the LOOKUP function are HLOOKUP and VLOOKUP. The result we get is:

What is the LOOKUP Function?

There are two forms of Lookup: Vector and Array:

Formula (Vector)
The vector form of the LOOKUP function will search one row or
one column of data for a specified value and then get the data
from the same position in another row or column.

The formula for the function is as follows: LOOKUP has default behaviors that make it useful when solving
 =LOOKUP(lookup_value, lookup_vector, [result_vector]) certain problems (i.e. retrieve approximate matched value instead
 It uses the following arguments: of position, find the value in the last non-empty cell in a row or
 Lookup_value (required function) – This is the column, etc.).
value that we will be searching. It can be a logical
value of TRUE or FALSE, reference to a cell, number,  LOOKUP assumes that lookup_vector is sorted in
or text. ascending order.
 Lookup_vector (required function) – This is the  When lookup-value can't be found, LOOKUP will match
one-dimensional data that we wish to search. the next smallest value.
Remember, we need to sort it in ascending order.  When lookup_value is greater than all values in
 Result_vector – An optional one-dimensional list of lookup_vector, LOOKUP matches the last value.
data from which we want to return a value. If supplied,  When lookup_value is less than all (i.e. the first) value in
the [result_vector] must be the same length as the lookup_vector, LOOKUP returns #N/A.
lookup_vector. If the [result_vector] is omitted, the  result_vector must be the same size as lookup_vector.
result is returned from the lookup_vector.  LOOKUP is not case-sensitive

Formula (Array)
The array form of LOOKUP looks in the first row or column of
an array for the specified value and returns a value from the same
position in the last row or column of the array.

The formula for the function is as follows: Example 2


 = LOOKUP(lookup_value, array) Suppose we are in the business of giving loans and we offer
different interest rates based on the amount borrowed. We are
The arguments are as follows: given the data below:
 Lookup_value (required argument) – This is a value
that we are searching for.
table. The V and H in the names of these two functions refer to
Vertical and Horizontal respectively.

The formula to use will be:


Say you have a table of data and you want Excel to look up a
certain value and return a corresponding value in a different row.
For that, you need a lookup function, but this is only included for
compatibility with older spreadsheet applications, so we’ll
concentrate on VLOOKUP() and HLOOKUP().

VLOOKUP()
The VLOOKUP() function assumes that your data is arranged as
a table with different elements of the information in different
columns. When the VLOOKUP function is called, Excel
searches for a lookup value in the leftmost column of a section of
We will get the following result: your spreadsheet called the table array. The function returns
another value in the same row, defined by the column index
number.

 The syntax for the VLOOKUP function in Microsoft Excel


is:
 =VLOOKUP( value, table,column_index,
[approximate_match] )
 Parameters or Arguments:
 Value - The value to search for in the first column of
the table.
 Table - Two or more columns of data that is sorted in
ascending order.
 Index_number - The column number in table from
Things to remember about the LOOKUP Function:
which the matching value must be returned. The first
Use the LOOKUP function to look up a value in a one-column or
column is 1.
one-row range, and retrieve a value from the same position in
 Approximate_match - Optional. Enter FALSE to find
another one-column or one-row range.
an exact match. Enter TRUE to find an approximate
match. If this parameter is omitted, TRUE is the
 #N/A error – Occurs when the Lookup function fails to find
default.
the closest match to the supplied lookup_value. This can
occur if either:
Example – Finding Brad’s Math Score
 The smallest value in the lookup_vector (or first
column/row of the array) is greater than the
In the VLOOKUP example below, I have a list wth student
lookup_value provided; or
names in the left-most column and marks in different subjects in
 The lookup_vector (or first column/row of the array) is
columns B to E.
not in ascending order.
 #REF! error – Occurs if the formula is attempting to
reference cells that are non-existent. This can be caused by
either.
 Cells being deleted after the Lookup function has been
entered.
 Relative references in the Lookup function that have
become invalid when the functions have been copied
to other cells.

Using VLook Up and HLook Up


HLOOKUP and VLOOKUP are functions in Microsoft Excel
that allow you to use a section of your spreadsheet as a lookup
Here is the VLOOKUP formula that will return Brad’s Math
score:
=VLOOKUP("Brad", A 3: E 10,2,0)

The above formula has four arguments:

 “Brad" – this is the lookup value.


 A 3: E 10 – this is the range of cells in which we are
looking. Remember that Excel looks for the lookup value in
the left-most column. In this example, it would look for the
name Brad in A3:A10 (which is the left-most column of the
specified array).
 2 – Once the function spots Brad’s name, it will go to the The formula in cell C7 is:
second column of the array, and return the value in the same =HLOOKUP(B7,C2:F3,2,FALSE)
row as that of Brad. The value 2 here indicated that we are
looking for the score from the second column of the
If the region name is not found in the first row of the lookup
specified array.
table, the HLOOKUP formula result is #N/A.
 0 – this tells the VLOOKUP function to only look for exact
matches.

HLOOKUP 

HLOOKUP is an Excel function to lookup and retrieve data from


a specific row in table. It performs a horizontal lookup by
searching for a value in the top row of the table and returning the
value in the same column based on the index_number.

 The syntax for the HLOOKUP function in Microsoft Excel


is:
 =HLOOKUP (value, table, row_index,
[approximate_match])
 Parameters or Arguments:
 Value - The value to search for in the first row of the Making Charts and Diagrams in Excel
table.
 Table - Two or more rows of data that is sorted in What Are Graphs and Charts in Excel?
ascending order.
 Index_number - The row number in table from which Charts and graphs elevate your data by providing an easy-to-
the matching value must be returned. The first row is
understand visualization of numeric values. Let's say you have
1.
been recording the sales figures in Excel for the past three years.
 Approximate_match - Optional. Enter FALSE to find
an exact match. Enter TRUE to find an approximate Using charts, you can easily tell which year had the most sales
match. If this parameter is omitted, TRUE is the and which year had the least. You can also draw charts to
default. compare set targets against actual achievements.

Example : Find Sales for a Specific Region

The HLOOKUP function looks for a value in the top row of the Types of charts
lookup table. In this example, we'll find the sales total for a
selected region. We want an exact match for the Region name, so The following table shows some of the most commonly used
the following settings are used: charts and when you should consider using them:
 region name is entered in cell B7
 region lookup table has two rows, and is in range C2:F3
 sales total is in row 2 of the table.
 FALSE is used in the last argument, to find an exact match
for the lookup value.
A Pivot Table is used to summarise, sort, reorganise, group,
count, total or average data stored in a table. It allows us to
transform columns into rows and rows into columns. It allows
grouping by any field (column), and using advanced calculations
on them.

How to Create a Pivot Table

1. Enter your data into a range of rows and columns.


2. Sort your data by a specific attribute.
3. Highlight your cells to create your pivot table.
4. Drag and drop a field into the "Row Labels" area.
5. Drag and drop a field into the "Values" area.
6. Fine-tune your calculations.

Pivot tables are one of the most powerful and useful features in
Excel. With very little effort, you can use a pivot table to build
good-looking reports for large data sets. You can think of a pivot
table as a report. However, unlike a static report, a pivot table
USING PIVOT TABLES provides an interactive view of your data. You can group data
into categories, break down data into years and months, filter
A Pivot Table is one of the basic data analysis tools. Pivot Tables data to include or exclude categories, and even build charts.
can quickly answer many important business questions.
Key Pivot Table Benefits

 Simplicity. Basic pivot tables are very simple to set up and


customize. There is no need to learn complicated formulas.
 Speed. You can create a good-looking, useful report with a
pivot table in minutes. Even if you are very good with
formulas, pivot tables are faster to set up and require much
less effort.
 Flexibility. Unlike formulas, pivot tables don't lock you into
a particular view of your data. You can quickly rearrage the
pivot table to suit your needs. You can even clone a pivot
table and build a separate view.
One of the reasons we build Pivot Tables is to pass information.  Accuracy. As long as a pivot table is set up correctly, you
We would like to support our story with data that is easy to can rest assured results are accurate. In fact, a pivot table
understand, easy to see. Although Pivot Tables are only tables will often highlight problems in the data faster than any
and thus missing real visuals, they can still be considered as a other tool.
mean of Visual Storytelling.  Formatting. A Pivot table can apply automatically apply
consistent number and style formatting, even as data
changes.
 Updates. Pivot tables are designed for on-going updates. If
you base a pivot table on an Excel Table, the table resize as
Why do we need pivot? needed with new data. All you need to do is click Refresh,
and your pivot table will show you the latest.
 Filtering. Pivot tables contain several tools for filtering so people can input a short answer. Depending on a
data. Need to look at North America and Asia, but exclude person’s answer, you can also send them to a different
Europe? A pivot table makes it simple. section of the form.
 Charts. Once you have a pivot table, you can easily create a  Checkboxes: Responders choose one or more of a set of
pivot chart. options, including the “Other” option for a short answer.
Depending on a person’s answer, you can send them to a
Integrating Google forms with spreadsheet application such as different section of the form.
Microsoft Excel  Drop-down: People choose their answer from a set of
options in a drop-down menu (one per question). Based on
Google Forms is a free survey tool that’s part of G Suite— the answer, you can, again, send people to another section
Google’s complete office suite. The other main services included of the form.
in the cloud-based suite are Sheets (Excel), Docs (Word), and  File Upload: This allows the person to upload a file in
Slides (PowerPoint). response to a question. Uploaded files use Google Drive
space for the survey owner. You can specify the size and
type of files people can upload.
 Linear Scale: People can rate your question on a scale that
starts at 0 or 1, and ends on a whole number from 2 to 10.
 Multiple Choice Grid: This creates a grid from which people
can select one answer per row. Optionally, you can limit
answers to one choice per column and shuffle the row
order.
 Checkbox Grid: This option creates a grid from which
people can select one or more answer per row. Optionally,
you can limit answers to one choice per column and shuffle
the row order.
Google Forms lets you collect information from people via  Date: Responder must choose the date as an answer to the
personalized quizzes or surveys. question. The default is day, month, and year. Optionally,
you can include the time in people’s answers.
How to use Google Forms  Time: Responder must choose the time of day or a duration
of time.
Google Forms lets you collect information from people via
personalized quizzes or surveys. You can then connect the info How to Convert Google Form to Excel Spreadsheet
to a spreadsheet on Sheets to automatically record the answers.
The spreadsheet then populates with the responses from the The steps to export Google form to Excel is easy. But there are 3
quiz or survey in real-time. This makes Google Forms one of the different methods available.
easiest ways to save data directly into a spreadsheet.
Solution 1. Export Google Form to Excel via Google Form
With Forms, you can collect RSVPs, start surveys, or create This is the first solution to export Google Form to Excel.
quizzes for students with a simple online form. You can share
your form via email, a direct link, or on social media and ask Step 1: Open Google Forms.
everyone to participate. And since Forms is an online tool, you Step 2: Go to ‘Responses’ and click on ‘Summary’.
can share and collaborate with multiple people on the same Step 3: Now, click on ‘More’ and select the response destination.
form in real-time. Step 4: After that, choose ‘Create a New Spreadsheet’.
Step 5: After that, open the file in Excel.
How to Choose Question Types

When you create a Google Form, you can choose the types of
questions you want people to answer. Click the drop-down
menu next to the question field. Then, select the type of
question you want from the list. Your choices are:

 Short Answer: Responses only require a few words. You


can set rules people have to follow in their answer with
data input validation. Great for email addresses or URLs.
 Paragraph: Responses require long-form answers of one or
more paragraphs. Data input validation is available for this
type of response, as well. Solution 2. Export Google Form to Excel via Google Form.
 Multiple Choice: People choose between a set of options This is a very different type of operation.You will be using
(one per question). You can include “Other” and an option Google Form itself to export the data to Excel.
Step 1: Open Google Form and click on ‘Responses’.
Step 2: Click on ‘Create Spreadsheet’.
Step 3: Then, select ‘Create a New Spreadsheet’ and open the
Google Sheets.
Step 4: Now, just select the file and download it as Excel. Now,
just download the file like Microsoft Excel. The conversion is
complete.

Solution 3. Convert Google Form to Excel Sheet via Add-On

In this part, we will be using ‘Data Everywhere’ to convert


Google Sheets. This is a Google Sheets add-on. It is available
easily. Just follow the steps below.

Step 1: Install the add-on.


Step 2: Then, select the data on your sheet and click on ‘Create
Feed’.
Step 3: After the feed is created, set up ‘Automatic Publishing’.
This is a straightforward operation.

You might also like