0% found this document useful (0 votes)
27 views7 pages

Excel

Uploaded by

Aman Gupta
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)
27 views7 pages

Excel

Uploaded by

Aman Gupta
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/ 7

Vlookup

Sure, here’s a step-by-step guide on how to use the VLOOKUP function in Excel:

1. Select a cell where you want the VLOOKUP result to appear1.


2. Type =VLOOKUP() in the selected cell1.
3. Enter your lookup value. This is the value you want to look up2. For
example, if you want to look up an employee’s name based on their ID, the
employee ID would be your lookup value2.
4. Enter your table array or lookup table. This is the range of cells in which
Excel will search for the lookup value2. The lookup value should always be
in the first column of this range2.
5. Enter the column index number. This is the column number in the range
that contains the return value2. For example, if you specify B2:D11 as the
range, you should count B as the first column, C as the second, and so on2.
6. Specify whether you want an approximate or an exact match. If you
want an exact match, use FALSE or 0. If you want an approximate match,
use TRUE or 12.

Here’s an example of a VLOOKUP function that looks up the employee ID


“E123” in a table array A2:B100 and returns the corresponding employee name
from the second column of the table array:
=VLOOKUP("E123", A2:B100, 2, FALSE)

In this example, “E123” is the lookup value, A2:B100 is the table array, 2 is the
column index number, and FALSE specifies that we want an exact match32.

Remember, 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 right3.
If the leftmost column of the table contains duplicates, the VLOOKUP function
matches the first instance3.

I hope this helps! Let me know if you have any other questions.

Difference between vlookup and hlookup

VLOOKUP and HLOOKUP are both lookup functions in Excel that are used to
find values in a table or range. However, they differ in the direction in which they
perform the lookup7yiiiiik12:
 VLOOKUP (Vertical Lookup): This function is used to find values
vertically across a set of rows in a table1. It looks for a value vertically
across the lookup table and returns an exact or approximate value based on
the column number given in Excel1. The V in VLOOKUP stands for
Vertical search1.
 HLOOKUP (Horizontal Lookup): This function is used to find values
horizontally across a set of columns in a table1. It looks for a value
horizontally across the lookup table and returns an exact or approximate
value based on the row number given in Excel1. The H in HLOOKUP stands
for Horizontal search1.

Here are some key differences between VLOOKUP and HLOOKUP12:

1. Data Arrangement: VLOOKUP assumes that data is arranged as a table


with different elements of the information in different columns, whereas
HLOOKUP assumes that data is arranged as a table with different elements
of the information in different rows1.
2. Search Direction: VLOOKUP looks for a value vertically across the lookup
table, while HLOOKUP looks for a value horizontally across the lookup
table1.
3. Usage: The use of VLOOKUP function is more compared to HLOOKUP
function1.
4. Data Listing: VLOOKUP is used when data are listed in columns, whereas
HLOOKUP is used when data is listed in rows1.
5. Lookup Value Position: In VLOOKUP function, the value the user is
searching must be located in the left-most column of the table or range. In
HLOOKUP function, the value the user is searching in the table or range
must be in the top-most row1.
6. Returned Value Position: VLOOKUP function returns the searched value
in the same row but in the next column, whereas HLOOKUP function
returns the searched value in the same column1.

I hope this helps! Let me know if you have any other questions.

Xlookup

Sure, here’s a step-by-step guide on how to use the XLOOKUP function in Excel:

1. Select a cell where you want the XLOOKUP result to appear1.


2. Type =XLOOKUP() in the selected cell1.
3. Enter your lookup value. This is the value you want to look up2. For
example, if you want to look up an employee’s name based on their
employee ID, the employee ID would be your lookup value2.
4. Enter your lookup array. This is the range of cells in which Excel will
search for the lookup value2.
5. Enter your return array. This is the range of cells from which Excel will
return a value2.
6. Specify what should be returned if no match is found (optional). If a
match is not found, and this argument is missing, #N/A is returned2.
7. Specify the match mode (optional). This determines whether you want an
exact match (0), an exact match or next smaller item (-1), an exact match or
next larger item (1), or a wildcard match (2)2.
8. Specify the search mode (optional). This determines whether you want to
perform a search starting at the first item (1), a reverse search starting at the
last item (-1), a binary search with the lookup array sorted in ascending
order (2), or a binary search with the lookup array sorted in descending
order (-2)2.

Here’s an example of an XLOOKUP function that looks up the employee ID


“E123” in a lookup array A2:A100 and returns the corresponding employee name
from a return array B2:B100:
=XLOOKUP("E123", A2:A100, B2:B100, "Not Found", 0, 1)

In this example, “E123” is the lookup value, A2:A100 is the lookup array,
B2:B100 is the return array, “Not Found” is the value to return if no match is
found, 0 specifies that we want an exact match, and 1 specifies that we want to
perform a search starting at the first item2.

Remember, the XLOOKUP function can look in one column for a search term and
return a result from the same row in another column, regardless of which side the
return column is on2.

I hope this helps! Let me know if you have any other questions.

What if Analysis

Sure, here’s a step-by-step guide on how to use the What-If Analysis in Excel:

1. Select the cell where you want the result of the What-If Analysis to appear1.
2. Go to the Data tab in the Excel ribbon2.
Click on the What-If Analysis option2.
3. You will see three options: Scenario Manager, Goal Seek, and Data
Table2. Each of these tools allows you to perform a different type of What-
If Analysis1.

Here’s a brief overview of each tool:

 Scenario Manager: This tool allows you to create different scenarios for
your data. For example, you can create different budgets that each assumes a
certain level of revenue1. You can use the Scenario Manager to create these
scenarios2.
 Goal Seek: This tool allows you to find out how to get a desired result. For
example, if you want to know how many units of a product you need to sell
to achieve a certain profit, you can use Goal Seek2.
 Data Tables: This tool allows you to see the effects of one or two variables
on a formula. For example, you can create a data table to quickly see the
results of changing the price and quantity of a product2.

Remember, What-If Analysis in Excel allows you to try out different values
(scenarios) for formulas2. It’s a powerful tool that can help you make data-driven
decisions.

I hope this helps! Let me know if you have any other questions.

Sure, let me simplify that for you:

Data Tables in Excel is a tool that helps you understand how changing one or two
things can affect the result of a calculation. For instance, you can use it to quickly
see what happens to the total cost when you change the price of a product or the
number of products you’re buying. It’s like a quick experiment on your data! 😊

SUM IF

Sure, here’s a step-by-step guide on how to use the SUMIF function in Excel:

1. Select a cell where you want the result of the SUMIF function to appear1.
2. Type =SUMIF() in the selected cell1.
3. Specify the range of cells you want to evaluate. This is the range where the
criteria will be applied1.
4. Enter the criteria. This is the condition that the cells in your specified
range need to meet1.
5. (Optional) Enter the sum_range. This is the range of cells to add if the
condition is satisfied1.

Here’s an example of a SUMIF function that sums up the prices in a range C5:C12
that are greater than $40:
=SUMIF(C5:C12, ">40")

In this example, C5:C12 is the range, “>40” is the criteria1. The function will sum
up all the prices in the range C5:C12 that are greater than $401.

Remember, the SUMIF function in Excel allows you to sum the values in a range
that meet criteria that you specify2. It’s a powerful tool that can help you make
data-driven decisions.

I hope this helps! Let me know if you have any other questions.

Pivot Table

Sure, here’s a step-by-step guide on how to use the Pivot Table in Excel:

1. Click any single cell inside your data set1.


2. Go to the Insert tab in the Excel ribbon1.
3. Click on PivotTable in the Tables group1.
4. A dialog box will appear. Excel automatically selects the data for you1. The
default location for a new pivot table is a New Worksheet1.
5. Click OK1.
6. The PivotTable Fields pane appears1. To get the total amount exported of
each product, drag the following fields to the different areas1:
1
o Product field to the Rows area .
1
o Amount field to the Values area .
1
o Country field to the Filters area .
o And columns
7. Now, you can find the pivot table1.

Remember, a pivot table allows you to extract the significance from a large,
detailed data set1. It’s one of Excel’s most powerful features1.

I hope this helps! Let me know if you have any other questions.
A Pivot Table in Excel is a powerful tool that allows you to analyze and
summarize large amounts of data12. Here are some of its uses:

1. Data Analysis: Pivot Tables can help you find patterns, trends, and
comparisons in data2. You can analyze more than 1 million rows of data
with just a few mouse clicks3.
2. Data Summarization: Pivot Tables can turn detailed data into small, easy-
to-read tables1. This makes it easier to understand the data and draw
conclusions1.
3. Report Creation: You can use Pivot Tables to create detailed reports and
charts2. This can be very useful for presentations or for sharing information
with others2.
4. Data Filtering: Pivot Tables allow you to filter data to view the details for
areas of interest1. You can explore more by changing the parameters1.
5. Ease of Use: With Pivot Tables, you can easily change the report layout by
dragging fields around3. This makes it a flexible tool for various data
analysis needs3.

In summary, Pivot Tables in Excel are a versatile tool for data analysis, allowing
you to extract meaningful insights from large, detailed datasets123. They are
particularly useful when you need to analyze large amounts of data quickly and
efficiently123.

You might also like