Sunteți pe pagina 1din 24

Contents

Open the Sheet called as Basic.............................................................................1


Calculating Sum....................................................................................................1
Calculating Average..............................................................................................1
Calculating Max....................................................................................................1
Calculating Min.....................................................................................................2
Select the Reference Cells Sheet..........................................................................2
Excel 2010: Remove/Delete Duplicate Rows.........................................................2
How the SUMIFS Function Works...........................................................................5
How the SUMIFS Function Works..........................................................................5
SUMIFS Function Step by Step...........................................................................5
Entering the Tutorial Data.....................................................................................6
The SUMIFS Function's Arguments.................................................................7
Entering the Criteria1 Argument...........................................................................8
Entering the Criteria_range2 Argument................................................................9
Entering the Criteria2 Argument...........................................................................9
Adding the Search Criteria and Completing the Tutorial.....................................10
How the IF Function Works..................................................................................11
IF Function Step by Step Tutorial........................................................................11
Entering the Tutorial Data...................................................................................11
Entering the Tutorial Data.................................................................................12
Starting the IF Function...................................................................................12
Opening the IF Function Dialog Box.................................................................12
Tutorial Steps................................................................................................12
Entering the Logical Test Argument....................................................................13
Steps............................................................................................................13
Entering the Value If True Argument...................................................................13
Steps............................................................................................................14
Entering the Value If False Argument.................................................................14
Steps............................................................................................................14
Copying the IF function using the Fill Handle......................................................15
Steps............................................................................................................15

How the SUMIF Function Works...........................................................................16


The SUMIF function is used to add up the values in cells in a selected range that
meet certain criteria...........................................................................................16
Example Using Excel's SUMIF Function:........................................................16
Excel COUNTIF Function Tutorial.........................................................................17
Example: Using Excel's COUNTIF Function...................................................18
Excel's Vlookup Function.....................................................................................19
How to Use Excel's VLOOKUP Function............................................................20
Creating a Drop Down List in Excel 2007 / 2010.................................................21

Excel Answers
Open the Sheet called as Basic
Calculating Sum
1. Keep the Cursor on Cell O19.
2. Press the Shift Key and Click on Cell B2.
3. Press the keys ALT and = sign

or
Click on

Calculating
Average
1.
2.
3.
4.
5.

Keep the Cursor on Cell B20.


Type = Average(
Click on the Cell B2
Press CTRL SHIFT (Down
It shall select Upto B16.
6. Press Enter.
7. Now Select the Cells from B20 till

8. Press CTRL R.

Arrow)

M20.

Calculating Max
1. Keep the Cursor on Cell B21.
2. Type = Max(
3. Click on the Cell M2
4. Press CTRL SHIFT (Down Arrow)
5. It shall select Upto M16.
Press Enter.
7. Now Select the Cells from
6.

8. Click on Fill Fill Left.

M21 till B21.

1 | Page

Calculating Min
1. Keep the Cursor on Cell B22.
2. Now Select the Cells from B22 till M22.
3. Type = Min(
4. Click on the Cell B2
5. Press CTRL SHIFT (Down Arrow)
6. It shall select Upto B16.
7.

Press the keys

CTRL Enter (Both Together).

Select the Reference Cells Sheet


Step 1: Keep the Cursor in the Database
Step 2: Press CTRL + A (To Select the Database)
Step 3: Press the Function Key F5 or Press Ctrl +G for Go To
Dialog Box
Step 4: Click on Special Button
Step 5: Select the Option Blanks
Step 6: Click OK
Step 7: Give the Formula (For Ex =B2/B$17)
Step 8: Press CTRL + Enter Key Together
Step 9: Select the Entire Sheet
Step 10: Make the Columns Autofit by Pressing ALT O,C A

Excel 2010: Remove/Delete Duplicate Rows


Microsoft has made it quicker to remove duplicate rows in Excel 2010, all it takes now is two simple
steps. The best part is that you dont need to select any specific row before removing the duplicate
rows, the build-in Remove Duplicate feature takes care of it.
For demonstration purpose I created a quick data table, note that rows 2 and 5 have same values.
Head over to the Data tab and click Remove Duplicate button. This will open a dialog window where
you can select the columns from which you want to delete the duplicate values.
If you want to get rid of all duplicate columns in an excel spreadsheet, click Select All, so that all
columns are selected and then click OK.

2 | Page

After the process is complete, you will be shown a notification window with the results. Note in the
screenshot below that the duplicate in row 5 is removed.

3 | Page

4 | Page

How the SUMIFS Function Works

How the SUMIFS Function Works


The SUMIFS function extends the usefulness of the SUMIF function by allowing
you to specify from 2 to 127 criteria rather than just one as in SUMIF.
Normally, SUMIFS works with rows of data called records. In a record, all of the
data in each cell or field in the row is related - such as a company's name,
address and phone number.
SUMIFS looks for specific criteria in two or more fields in the record and only if it
finds a match for each field specified is the data for that record summed up.
SUMIFS Function Step by Step

In the SUMIF step by step tutorial we matched the single criterion of sales
agents who had sold more than 250 orders in a year.
In this tutorial we will set two conditions using SUMIFS - that of sales agents in
the East sales region who had fewer than 275 sales in the past year.
Setting more than two conditions can be done by specifying additional
Criteria_range and Criteria arguments for SUMIFS.
Following the steps in the tutorial topics below walks you through creating and
using the SUMIFS function seen in the image above.

5 | Page

Entering the Tutorial Data

Entering the Tutorial Data


The first step to using the SUMIFS function in Excel is to enter the data.
Enter the data into cells D1 to F11 of an Excel worksheet as seen in the image
above.
The SUMIFS function and the search criteria (less than 275 orders and sales
agents from the East sales region) will be added to row 12 below the data.
The tutorial instructions do not include formatting steps for the worksheet.
This will not interfere with completing the tutorial. Your worksheet will look
different than the example shown, but the SUMIFS function will give you the
same results.
The SUMIFS Function's Syntax

The SUMIFS Function's Arguments


The function's arguments tell the function what conditions are being tested for and what range of data
to sum when those conditions are met.
6 | Page

All arguments in this function are required.


Sum_range - the data in this range of cells is summed when a match is found between all specified
Criteria and their corresponding Criteria_range arguments.
Criteria_range - the group of cells the function is to search for a match to the corresponding
Criteria argument.
Criteria - this value is compared with the data in the corresponding Criteria_range. Actual data or
the cell reference to the data can be entered for this argument.
Entering the Sum_range Argument

1. Click on the Sum_range line in the dialog box.


2. Drag select cells F3 to F9 in the worksheet to add these cell references
to the Sum_range line.
3. In the dialog box, click on the Criteria_range1 line.
4. Drag select cells D3 to D9 in the worksheet to enter these cell
references as the range to be searched by the function.

7 | Page

Entering the Criteria1 Argument

1. Click on the Criteria1 line in the dialog box.


2. Click on cell D12 to enter that cell reference. The function will search the range
selected in the previous step for data that matches this criteria.
3. The search term (East) will be added to cell D12 in the last step of the tutorial.

8 | Page

Entering the Criteria_range2 Argument

1. In the dialog box, click on the Criteria_range2 line.


2. Drag select cells E3 to E9 in the worksheet to enter these cell references as the
second range to be searched by the function.
Entering the Criteria2 Argument

1. Click on the Criteria2 line in the dialog box.


2. Click on cell E12 to enter that cell reference. The function will search the range
selected in the previous step for data that matches this criteria.
3. Click OK to complete the SUMIFS function and close the dialog box.

9 | Page

4. An answer of zero ( 0 ) will appear in cell F12 - the cell where we entered the
function - because we have not yet added the data to the Criteria1 and Criteria2
fields (C12 and D12). Until we do, there is nothing for the function to add up
and so the total stays at zero.
5. The search criteria will be added in the next step of the tutorial.

Adding the Search Criteria and Completing the Tutorial

1. In cell D12 type East and press the Enter key on the keyboard.
2. In cell E12 type <275 and press the Enter key on the keyboard (the "
< " is the symbol for less than in Excel) .
3. The answer $119,719.00 should appear in cell F12.
4. Only two records those in rows 3 and 4 match both criteria and,
therefore, only the sales totals for those two records are summed by
the function.
5. The sum of $49,017 and $70,702 is $119,719.
6. When you click on cell F12, the complete function
=SUMIFS(F3:F9,D3:D9,D12,E3:E9,E12) appears in the formula bar
above the worksheet.
10 | P a g e

How the IF Function Works

IF Function Step by Step Tutorial


This tutorial uses the IF function to calculate a fictitious annual deduction for employees based on
their yearly salary.
The function tests to see if an employee's salary is above or below the threshold of $30,000.
Depending on the result, different deduction rates are used in calculating the annual deduction.
Following the steps in the tutorial topics below walks you through creating and using the IF function
seen in the image above to calculate this deduction for multiple employees.

Entering the Tutorial Data

11 | P a g e

Entering the Tutorial Data


For help with these instructions see the image above.
The first step to using the IF function in Excel is to enter the data.
Enter the data into cells D1 to F5 of an Excel worksheet as seen in the image above.
Starting the IF Function

Opening the IF Function Dialog Box


Although it is possible to just type the IF function into a cell in a worksheet, many people find it
easier to use the function's dialog box to enter the function.
In this tutorial, we want to use the same function in a number of cells. The first step will be to enter
the function into one cell in the group and then copying it to the rest.
Tutorial Steps
1. Click on cell F6 to make it the active cell. This is where we will enter the IF
function.
2. Click on the Formulas tab.
3. Click on the Logical icon on the ribbon to open the Logical function drop
down list.
4. Click on IF in the list to bring up the IF function's dialog box.
The data that we enter into the three blank rows in the dialog box will form the arguments of the IF
function.
These arguments tell the function what condition we are testing and what actions to take depending
on whether the condition is true or not.

12 | P a g e

Entering the Logical Test Argument

Steps

1. Click on the Logical_test line in the dialog box


2. Click on cell E6 to add this cell reference to the Logical_test
line.
3. Type the less than key " < " on the keyboard.
4. Type 30000 after the less than symbol.
5. Note: Do not enter the dollar sign ( $ ) or a comma separator
( , ) with the above amount. An Invalid error message will
appear at the end of the Logical_test line if either of these
symbols are entered along with the data.
6. The completed logical test should read: E6 < 30000
Entering the Value If True Argument

13 | P a g e

Steps

1. Click on the Value_if_true line in the dialog box.


2. Click on cell E3 in the worksheet to add this cell reference to
the Value_if_true line.
3. Press the F4 key on the keyboard to make E3 an absolute cell
reference ( $E$3 ).
4. Press the asterisk ( * ) key on the keyboard. The asterisk is the
multiplication symbol in Excel.
5. Click on cell E6 to add this cell reference to the Value_if_true
line.
6. Note: We will not make E6 into an absolute cell reference
because we want it to change when the function is copied.
7. The completed Value_if_true line should read: $E$3 * E6.
Entering the Value If False Argument

Steps
1. Click on the Value_if_false line in the dialog box.
2. Click on cell E4 to add this cell reference to the Value_if_false
line.
3. Press the F4 key on the keyboard to make E4 an absolute cell
reference ( $E$4 ).
4. Press the asterisk ( * ) key on the keyboard. The asterisk is the
multiplication symbol in Excel.
5. Click on cell E6 to add this cell reference to the Value_if_false
line.
14 | P a g e

6. Note: We will not make E6 into an absolute cell reference


because we want it to change when the function is copied.
7. The completed Value_if_false line should read: $E$4 * E6.
8. Click OK to close the dialog box and enter the completed IF
function into cell F6.
9. The value of $3,678.96 should appear in cell F6.
10.
Since B. Smith earns more than $30,000 per year, the IF
function uses the formula $45,987 * 8% to calculate his annual
deduction.
11.
When you click on cell F6, the complete function
= IF ( E6<30000, $E$3*E6, $E$4*E6 ) appears in the
formula bar above the worksheet.
Copying the IF function using the Fill Handle

Steps
1. Click on cell F6 to make it the active cell.
2. Place the mouse pointer over the black square in the bottom
right corner. The pointer will change to a plus sign " + ".
3. Click the left mouse button and drag the fill handle down to cell
F10.
4. Release the mouse button. Cells F7 to F10 will be filled with the
results of the IF function.

15 | P a g e

5. If you have followed the steps of this tutorial your worksheet


should contain the same IF function seen in step 1 of this
tutorial.

How the SUMIF Function Works

The SUMIF function is used to add up the values in cells in a


selected range that meet certain criteria.
The syntax for the SUMIF function is:
= SUMIF (Range, Criteria, Sum Range)
Range - the group of cells the function is to search.
Criteria - determines whether the cell is to be summed or not.
Sum Range - the data range that is summed if the first range meets the specified
criteria. If this range is omitted, the first range is summed instead.
Example Using Excel's SUMIF Function:
1. Enter the following data into cells E1 to E6: 114, 165, 178, 143,
130, 165.
2. Enter the following data into cells F1 to F6: 10, 20, 30, 10, 20,
30.
16 | P a g e

3. Click on cell F7 - the location where the results will be


displayed.
4. Click on the Formulas tab of the ribbon.
5. Choose Math & Trig from the ribbon to open the function drop
down list.
6. Click on SUMIF in the list to bring up the function's dialog box.
7. In the dialog box, click on the Range line.
8. Drag select cells E1 to E6 on the spreadsheet.
9. On the Criteria line in the dialog box, type "165".
10.
Click on the SUM Range line.
11.
Drag select cells F1 to F6 on the spreadsheet.
12.
Click OK.
13.
The answer 50 should appear in cell E7. Since the criteria
of equaling 165 is met by only two cells - E2 and E6, only their
corresponding cells - F2 and F6 are summed. The sum of 20
and 30 is 50.
14.
When you click on cell E7 the complete function = SUMIF
(D1 : D6 , 165 , E1 : E6) appears in the formula bar above the
worksheet.

Excel COUNTIF Function Tutorial

The COUNTIF function, one of Excel's COUNT functions, is used to count up the
number of cells in a selected range that meet specified criteria.
The syntax for the COUNTIF function is:
=COUNTIF ( Range, Criteria)
Range - the group of cells the function is to search.
17 | P a g e

Criteria - determines whether the cell is to be counted or not. This can be a number,
expression, cell reference, or text string.
Example: Using Excel's COUNTIF Function
In this example we will count up the number of cells in our data range that contain the
number 165.
For help with this example, see the image above.
1. Enter the following data into cells E1 to E6: 114, 165, 178, 143,
130, 165.
2. Click on cell E7 - the location where the results will be
displayed.
3. Click on the Formulas tab.
4. Choose More Functions > Statistical from the ribbon to open
the function drop down list.
5. Click on COUNTIF in the list to bring up the function's dialog
box.
6. In the dialog box, click on the button at the end of the Range
line to return to your spreadsheet.
7. Drag select cells E1 to E6 on the spreadsheet to highlight them.
8. Click on the button at the end of the Range line to return to the
dialog box.
9. On the Criteria line in the dialog box, type "165" since we are
looking for the number of cells containing this number.
10.
Click OK.
11.
The answer 2 should appear in cell E7 since two cells in
the range - A2 and A6 - contain the number 165 and, therefore,
match the criteria argument.
12.
When you click on cell E7 the complete function
= COUNTIF (E1 : E6 , 165 ) appears in the formula bar above
the worksheet.

18 | P a g e

Excel's Vlookup Function

Excel's VLOOKUP function, which stands for vertical lookup, is used to find specific
information that has been stored in a spreadsheet table.
This tutorial includes step by step instructions of how to use Excel's VLOOKUP
function.
The syntax for the VLOOKUP function is:
= VLOOKUP ( lookup_value , table_array , col_index_num , range_lookup )
lookup _value: The value you want to find in the first column of the table_array.
table_array: This is the table of data that VLOOKUP searches to find the information
you are after.
The table_array must contain at least two columns of data. The first column contains
the lookup_values.
col_index_num: The number of the column in the table_array that contains the data
you want returned.
range_lookup: A logical value (TRUE or FALSE only) that indicates whether you
want VLOOKUP to find an exact or an approximate match to the lookup_value.
Typing False or 0 will return exact matches only.

How to Use Excel's VLOOKUP Function

Note: Before using VLOOKUP, make sure the table of data (the table_array) is sorted
in ascending order (alphabetically A to Z).
1. Enter the data below into cells D1 to E8 as seen in the second image above.
Remember to leave cells D2 and E2 blank. This is where the results of the
VLOOKUP function will be displayed.
Part Name
Price
19 | P a g e

Part
Price
Bearing
$17.34
Gear
$23.56
Widget
$14.76
Cog
$20.21
Bolt
$1.54
Washer
$1.43
2. Click on cell E2 - the location where the results will be displayed.
3. Click on the Formulas tab.
4. Choose Lookup & Reference from the ribbon to open the function drop down
list.
5. Click on VLOOKUP in the list to bring up the function's dialog box.
6. In the dialog box, click on the Lookup _value line.
7. Click on cell D1 in the spreadsheet to enter that cell reference into the dialog
box. This is the cell where we will type the part name about which we are
seeking information.
8. In the dialog box, click on the Table_array line.
9. Drag select cells D4 to E8 in the spreadsheet to enter that range into the dialog
box. The table_array is the table of data that VLOOKUP searches for the
lookup_value specified in cell D1.
10.In the dialog box, click on the Col_index_num line.
11.Type the number 2 to indicate that the data we want returned is in column 2 of
the table_array.
12.In the dialog box, click on the Range_lookup line.
13.Type the word False to indicate that we want an exact match for our requested
data.
14.Click OK.
15.In cell D1 of the spreadsheet, type the word bolt.
16.The value $1.54 should appear in cell E1 displaying the price of a bolt as
indicated in the table_array.
17.If you click on cell E1, the complete function = VLOOKUP ( D1 , D4:E8 , 2 ,
FALSE ) appears in the formula bar above the worksheet.
Creating a Drop Down List in Excel 2007 / 2010

20 | P a g e

A drop down list allows you to enter data into an Excel spreadsheet from a preset list
of entries.
This covers creating a drop down list on a different worksheet.
Example: Creating a drop down list with data on a different worksheet
For help with this example, see the image above.
1. Enter the following data into the correct cells on Sheet 1 or a worksheet:
E1 - The Cookie Shop
D2 - Cookie Type:
2. Click on the Sheet tab for Sheet 2.
3. Enter the following data into the correct cells on Sheet 2 or a worksheet:
A1 - Gingerbread
A2 - Lemon
A3 - Oatmeal Raisin
A4 - Chocolate Chip
4. Drag select cells A1 - A4 on Sheet 2.
5. Type " cookies " (no quotes) in the Name Box and press the ENTER key on the
keyboard.
6. Click on the Sheet tab for Sheet 1.
7. Click on cell E2 - the location where the results will be displayed.
8. Click on the Data tab.
9. Click on the Data Validation option from the ribbon to open the menu.
10.Click on the Data Validation in the menu to bring up the dialog box.
11.Click on Settings tab in the dialog box.
12.From the Allow menu choose List.
13.Type " =cookies " (no quotes) on the Source line in the dialog box.
14.Click OK in the dialog box.
21 | P a g e

15.A down arrow should appear next to cell E2.


16.When you click on the arrow the drop down list should open to display the four
cookie names.

22 | P a g e

S-ar putea să vă placă și