Sei sulla pagina 1di 47

Sequence Identification

Sequence Identification: Excel identifies a sequence that you are trying to create.
Nos alphabets even odd Quarter Months Days Text
1 a 2 1 quarter 1 Jan Monday DSIMS 1
2 b 4 3 quarter 2 feb Tuesday DSIMS 2
3 c 6 5 quarter 3 mar Wednesday DSIMS 3
4 a 8 7 quarter 4 Apr Thursday DSIMS 4
5 b 10 9 quarter 1 May Friday DSIMS 5
6 c 12 11 quarter 2 Jun Saturday DSIMS 6
7 a 14 13 quarter 3 Jul Sunday DSIMS 7
8 b 16 15 quarter 4 Aug Monday DSIMS 8
9 c 18 17 quarter 1 Sep Tuesday DSIMS 9
10 a 20 19 quarter 2 Oct Wednesday DSIMS 10
11 b 22 21 quarter 3 Nov Thursday DSIMS 11
12 c 24 23 quarter 4 Dec Friday DSIMS 12
13 a 26 25 quarter 1 Jan Saturday DSIMS 13
14 b 28 27 quarter 2 Feb Sunday DSIMS 14
15 c 30 29 quarter 3 Mar Monday DSIMS 15
A complex formula is an equation that uses more than one type of arithmetic operator
Agent 1 Agent 2 Agent 3 Agent 4 Commission
Total Commission
paid for each
month
Jan 10000 15000 20000 20000 5% 3250
Feb 20000 20000 25000 30000 6% 5700
Mar 30000 25000 30000 40000 7% 8750
Apr 40000 30000 35000 50000 8% 12400
May 50000 35000 40000 60000 9% 16650
Total 150000 125000 150000 200000 46750
relative references is used when cell relationships dont change
Absolute cell references is used when one relationship changes
Relative
reference
Absolute
Reference
10 5 50
20 5 100
30 5 150
40 5 200
50 5 250
60 5 300
70 5 350
80 5 400
90 5 450
100 5 500
Sales
Complex Formulas
Relative reference
A complex formula is an equation that uses more than one type of arithmetic operator
m=2,c=5 m c
2 5
x y=mx+c y=mx+c
12 29 29.00 29 63
34 73 73.00 73 151
56 117 117.00 117 239
1 7 7.00 7 19
2 9 9.00 9 23
3 11 11.00 11 27
65 135 135.00 135 275
7 19 19.00 19 43
89 183 183.00 183 371
x y1=A1x y2=A2x y3=A3x A1 A2 A3
1 2 5 10 2 5 10
2 4 10 20
3 6 15 30
4 8 20 40
5 10 25 50
6 12 30 60
7 14 35 70
8 16 40 80
9 18 45 90
10 20 50 100
using Drag & Drop using Constants
User defined formulas
using single formula (single $)
Subtract 50 from 100 Divide 100 by 50
Subtraction Division
10 10 10 100 100
20 20 20 50 50
30 30 30 50 2
40 40 40 Using formula Using formula
50 50 50
150 150 150
Using formula Using SUM Autosum
Addition
Multipication Tables
Do this using absolute and relative referencing rules
1 2 3 4 5 6 7 8
1 1 2 3 4 5 6 7 8
2 2 4 6 8 10 12 14 16
3 3 6 9 12 15 18 21 24
4 4 8 12 16 20 24 28 32
5 5 10 15 20 25 30 35 40
6 6 12 18 24 30 36 42 48
7 7 14 21 28 35 42 49 56
8 8 16 24 32 40 48 56 64
9 9 18 27 36 45 54 63 72
10 10 20 30 40 50 60 70 80
9 10
9 10
18 20
27 30
36 40
45 50
54 60
63 70
72 80
81 90
90 100
Statistical
Data
10 Count 11
20 sum 600
30 Average 54.54545
40 Average (rounded) 54.55
50 Median 50
50 Mode 50
60 Minimum 10 MIN calculates the smallest value in a range
70 Maximum 100 MAX calculates the largest value in a range
80 Small (2nd smallest) 20 Second smallest number in the range
90 Large (3rd largest) 80 Third largest number in the range
100
Autosum 600
Average
Data
10 Average 9.5 Averages all of numbers in list above
7 Average 7.5 Averages the top three and the last number in the list
9
27
0
4
SUM
Data
-5 SUM (of 3 & 2) 5 Adds 3 and 2
15 Sum of fixed nos 40 Adds 5, 15 and 1, because the text values are translated into numbers, and the logical value TRUE is translated into the number 1
30 Sum of fixed nos 40 Adds 5, 15 and 1, because the text values are translated into numbers, and the logical value false is translated into the number 0
'5 Sum of 1st 3 nos 40 Add only first 3 nos in the column named data
TRUE
SUMPRODUCT
Array 1 Array 1 Array 2 Array 2
3 4 2 7
Statistical Functions
8 6 6 7
1 9 5 3
Sumproduct 156
Multiplies all the components of the two arrays and then adds the products that is, 3*2 + 4*7 + 8*6 + 6*7 + 1*5 + 9*3. (156)
PRODUCT
Data
5 Product 2250 Multiplies the numbers above
15 Product 4500 Multiplies the numbers above and 2
30
weighted average
Price per unit Number of units
25 500
20 750
35 200
23.79310345
Median
Data
1 Median = 3.5 Median of all the numbers
2 Median = 3 Median of the first 5 numbers in the list
3
4
5
6
MODE
This example calculates the average price paid for a unit across three purchases, where each purchase is for a different number of units at a
different price per unit
Weighted average =
Calculate average price per unit
Returns the most frequently occurring, or repetitive, value in an array or range of data
Data
5.6 Mode 4
4
4
3
2
4
MIN calculates the smallest value in a range
MAX calculates the largest value in a range
Second smallest number in the range
Third largest number in the range
Averages all of numbers in list above
Averages the top three and the last number in the list
Adds 5, 15 and 1, because the text values are translated into numbers, and the logical value TRUE is translated into the number 1
Adds 5, 15 and 1, because the text values are translated into numbers, and the logical value false is translated into the number 0
Add only first 3 nos in the column named data
Multiplies all the components of the two arrays and then adds the products that is, 3*2 + 4*7 + 8*6 + 6*7 + 1*5 + 9*3. (156)
Multiplies the numbers above
Multiplies the numbers above and 2
Median of all the numbers
Median of the first 5 numbers in the list
This example calculates the average price paid for a unit across three purchases, where each purchase is for a different number of units at a
different price per unit
Quartile
Data Quartile "0" 5.4
10.5 Quartile "1" 7.2
7.2 Quartile "2" 8.1
200 Quartile "3" 10.5
5.4 Quartile "4" 200
8.1 Quartile of random nos 7
Quartile of random nos 7.75
Quartile of random nos 8.5
Quartile of random nos 9.25
Quartile of random nos 10
PERCENTILE
Data Percentile 30% 1.9
1 Percentile 40% 2.2
2 Percentile 50% 2.5
3
4
Have taken
quartile for
nos 7,8,9,10
Compound Interest Calculation
Monthly compounding
Investment amount: 1000
Annual interest rate: 5%
Investment term (months): 12
Month
Interest
Earned
Balance
Beginning Balance $1,000.00
1 $4.17 $1,004.17
2 $4.18 $1,008.35
3 $4.20 $1,012.55
4 $4.22 $1,016.77
5 $4.24 $1,021.01
6 $4.25 $1,025.26
7 $4.27 $1,029.53
8 $4.29 $1,033.82
9 $4.31 $1,038.13
10 $4.33 $1,042.46
11 $4.34 $1,046.80
12 $4.36 $1,051.16
Single formula $1,051.16
ABS
Returns the absolute value of a number. The absolute value of a number is the number without its sign.
Example
Data ABS Value
3 3
-3 3
-8 8
4 4
-4 4
0 0
Percentages
Calculate the amount if you know the total and percentage
Purchase price Sales tax (in decimal form) Sales tax (in % form)
800 0.089 8.90%
Calculate the percentage if you know the total and amount
Points answered
correctly Total points possible
42 50
% received (in
decimal)
% received (in %) Go to format and change in cell format)
Calculate the difference between two numbers as a percentage
November earnings December earnings
2342 2500
% change in decimal
% change in %
For example, your earnings are $2,342 in November and $2,500 in December. What is the percentage change
in your earnings between these two months? To do this task, use the ABS function and the subtraction (-)
and division (/) operators
For example, if you purchase a computer for $800 and there is an 8.9% sales tax, how much do you have to
pay for the sales tax? In this example, you want to find 8.9% of 800.
For example, if you score 42 points correctly out of 50, what is the percentage of correct answers?
Increase or decrease a number by a percentage
Food Cost % change
25 25%
Decrease cost 18.75
Increase cost 31.25
35% Increase
20% decrease
For example, you spend an average of $25 on food each week, and you want to cut your weekly food
expenditures by 25%. How much can you spend? Or, if you want to increase your weekly food allowance of
$25 by 25%, what is your new weekly allowance?
Conditional Formatting
Data
10 Greater than 80
20 less than 20
30 between 20-40
40 equal to
50 text that contains
60 Duplicate values
70 top 10
80 top 10%
90 bottom 10
100 bottom 10%
110 Above average
120 Below average
40
50
60
Kishor
sandeep
amit
12-Dec-12
14-Dec-12
Shade Alternating Rows
You can use Excel conditional formatting to shade alternating rows on the worksheet
1. Click the Select All button, above the Row 1 button, to select all the cells on the worksheet.
2. Choose Format|Conditional Formatting
3. From the first dropdown, choose Formula Is
4. For the formula, enter =MOD(ROW(),2)
5. Click the Format button.
6. On the Patterns tab, select a colour for shading
7. Click OK, click OK
1. Click the Select All button, above the Row 1 button, to select all the cells on the worksheet.
2. Choose Format|Conditional Formatting
3. From the first dropdown, choose Formula Is
4. For the formula, enter =MOD(ROW(),2)
5. Click the Format button.
6. On the Patterns tab, select a colour for shading
7. Click OK, click OK
Name
Have named cells B6 to B27 as emp_salary
Emp IDs Emp Salary
6160 Rs. 110,000
6161 Rs. 154,512 6%
6162 Rs. 154,511
6163 Rs. 154,893
6164 Rs. 656,555
6165 Rs. 456,322
6166 Rs. 659,555
6167 Rs. 565,656
6168 Rs. 784,516
6169 Rs. 154,512
6170 Rs. 154,511
6171 Rs. 154,893
6172 Rs. 656,555
6173 Rs. 456,322
6174 Rs. 659,555
6175 Rs. 565,656
6176 Rs. 154,512
6177 Rs. 154,511
6178 Rs. 154,893
6179 Rs. 656,555
6180 Rs. 456,322
6181 Rs. 659,555
Total salaries paid
Tax Rate
Total tax paid
Dates
Add a number of days to a date
Invoice dates
Credit Period allowed in
DAYS Payment due date
1-Jan-12 30
2-Feb-12 30
13-Feb-12 30
15-Apr-12 30
16-May-12 30
20-Jun-12 30
Add a number of months to a date
Invoice dates
Credit Period allowed in
MONTHS Payment due date
1-Jan-12 3
2-Feb-12 5
13-Feb-12 25
15-Apr-12 6
16-May-12 2
20-Jun-12 3
Add a number of years to a date
Invoice dates
Credit Period allowed in
years Payment due date
1-Jan-12 1
2-Feb-12 2
13-Feb-12 3
15-Apr-12 6
16-May-12 2
20-Jun-12 3
Add a combination of days, months, and years to a date
Invoice dates
Credit Period allowed in
years Payment due date
1-Jan-12
2-Feb-12
13-Feb-12
15-Apr-12
16-May-12
20-Jun-12
Calculate the number of days between two dates
Invoice dates Payment due date Diff in dates in days
1-Jan-12 20-Jan-12
2-Feb-12 13-Feb-12
13-Feb-12 18-Nov-12
15-Apr-12 16-Apr-12
16-May-12 18-Nov-12
20-Jun-12 18-Nov-12
Calculate the number of months between two dates
Invoice dates Payment due date Diff in dates in months
1-Jan-12 20-Jan-12
2-Feb-12 13-Feb-12
13-Feb-12 18-Nov-12
15-Apr-12 16-Dec-12
16-May-12 18-Nov-12
20-Jun-12 18-Nov-12
Calculate the number of years between two dates
Invoice dates Payment due date Diff in dates in years
1-Jan-12 20-Jan-13
2-Feb-12 13-Feb-14
13-Feb-12 18-Nov-15
15-Apr-12 16-Dec-16
16-May-12 18-Nov-17
20-Jun-12 18-Nov-18
Convert dates to the text for the day of the week
3 years, 1 month, and 5
days
Invoice dates Convert to Day of week Convert to Day of week (abbr)
1-Jan-12 Sunday
2-Feb-12 Thursday
13-Feb-12 Monday
15-Apr-12 Sunday
16-May-12 Wednesday
20-Jun-12 Wednesday
Insert a date or time whose value is updated
Today's date 8/27/2014 today
Today's date & time 8/27/2014 7:37 Now
EDATE
Data
1-Jan-12
1-Feb-12
1-Dec-11
1-Mar-12 The date, two month after the date above
Note The TODAY() and NOW() functions change only when the worksheet is calculated or when a macro that contains the
function is run. They are not updated continuously. The date and time used are taken from the computer's system clock.
Everytime you open the excel document it changes.
Returns the serial number that represents the date that is the indicated number of months before or after a specified date
(the start_date). Use EDATE to calculate maturity dates or due dates that fall on the same day of the month as the date of
issue.
The date, one month after the date above
The date, one month before the date above
Note The TODAY() and NOW() functions change only when the worksheet is calculated or when a macro that contains the
function is run. They are not updated continuously. The date and time used are taken from the computer's system clock.
Everytime you open the excel document it changes.
Returns the serial number that represents the date that is the indicated number of months before or after a specified date
(the start_date). Use EDATE to calculate maturity dates or due dates that fall on the same day of the month as the date of
issue.
Financial
Calculate a running balance
Month Deposits Withdrawals Balance
Jan 1000 625 375
Feb 1000 740 635
Mar 300 350 585
Apr 4000 1000 3585
May 2000 3500 2085
Jun 500 800 1785
Calculate a compound annual growth rate (CAGR)
Values Dates
-10000 1-Jan-08
2750 1-Mar-08
4250 30-Oct-08
3250 15-Feb-09
2750 1-Apr-09
CARG = 0.373362535
CARG = 37.34%
Let's say you may want to see a running balance of items that you purchase so that you don't exceed your spending limits. You can use a
running balance to watch values of items in cells add up as you enter new items and values over time. To calculate a running balance, use
the following procedure.
Let's say you may want to see a running balance of items that you purchase so that you don't exceed your spending limits. You can use a
running balance to watch values of items in cells add up as you enter new items and values over time. To calculate a running balance, use
the following procedure.
Conditional
IF Funtion
Marks of students are given. Passing score is 35. Students less than 35 marks will fail and above 35 to pass.
Find the status of students. Above 35 will "PASS" and below 35 shall "FAIL"
Marks Status
20
30
80
90
98
37
39
50
67
35
34
36
Find in the last column if it is "Over budget" or "within budget"
Sales Budget in
lakhs Budget approved
Within Budget or
Over Budget
14 13
12 13
10 13
13 13
15 13
Scores
Greater than 89 A
From 80 to 89 B
From 70 to 79 C
From 60 to 69 D
Less than 60 F
Find the grades in the last column
scores Grades Given
89 B
39 F
49 F
59 F
62 D
55 F
98 A
75 C
Hide ZERO values
Hidden Zero Value as blank and dash
Date of invoice 1-Jan-12
Payment of invoice
1-Jan-12 -
Counting
Count cells that contain numbers
DATA COUNT= Counts number of cells that contain numbers in the list. A date is a number.
Sales COUNT= Counts number of cells that contain numbers of the top two and bottom cells in the list. A date is a number.
12/8/2007
19
60
test
33.3
Count nonblank cells
DATA
Sales COUNTA Counts the number of nonblank cells in the list above
12/8/2007 COUNTA Counts the number of nonblank cells in the top two, and bottom cell in the list
19
60
test
33.3
Count how often a value occurs
Sales person Invoice amount
Sandeep 15000
Sandeep 9000
Kishor 8000
Kishor 20000
Sandeep 5000
Amit 22500
3
3
3
1
No of invoices generated by Sandeep
No of invoices generated by Kishor
No of invoices less than 20000
No of invoices greater than or equal to20000
Numbers above 9000
Numbers less than or equal to 9000
Count no of invoices generated by kishor and amit
Count no of invoices generated by kishor for amount 20000
countif kishor + countif amit
countifs (new function if you are searching in diff columns)
Number of entries for sandeep
Number of entries for kishor
Number of invoice values less than 20,000
Number of invoice values greater than or equal to 20,000
Number of invoice values greater than9,000
4
Count all of the cells in a range
Data Data Data Data
15000 28500 55000 87000
9000 13.7 63800 23000
8000 1000 19000 99900
Total no of rows
Total no of columns
Total no of cells
numbers greater than or equal to 9000 and less than or equal to
22500
Counts number of cells that contain numbers in the list. A date is a number.
Counts number of cells that contain numbers of the top two and bottom cells in the list. A date is a number.
Counts the number of nonblank cells in the list above
Counts the number of nonblank cells in the top two, and bottom cell in the list
countif kishor + countif amit
countifs (new function if you are searching in diff columns)
Number of entries for sandeep
Number of entries for kishor
Number of invoice values less than 20,000
Number of invoice values greater than or equal to 20,000
Number of invoice values greater than9,000
TEXT
Change the case of text
Data
nancy Davolio
Function names
Uppercase NANCY DAVOLIO UPPER
lowercase nancy davolio LOWER
Title Case Nancy Davolio PROPER
Check if a cell has any text/number in it or is blank
Data
nancy Davolio
123
ISTEXT TRUE Checks to see if cell A16 has text
ISTEXT FALSE Checks to see if cell A17 has text
ISNUMBER FALSE Checks to see if cell A16 has number
ISNUMBER TRUE Checks to see if cell A17 has number
ISBLANK FALSE Checks to see if cell A17 is blank
ISBLANK TRUE Checks to see if cell A18 is blank
CONCATENATE
Joins several text strings into one text string
Data
brook trout
species
32
Stream population for brook trout species is 32/mile
Combine two or more columns by using a function
Concatenates the above sentence
First name Last name Street address City State Zip code
Robert Walters 4567 Main St. Buffalo NY 98052
4567 Main St. Buffalo NY 98052
Concatenates diff columns
Concatenates diff columns
Robert Walters
VLOOKUP
Problem 1
ID Last name First name Title Birth date
1 Davis Sara Sales Rep. 8-Dec-68
2 Fontana Olivier V.P. of Sales 19-Feb-52
3 Leal Karina Sales Rep. 30-Aug-63
4 Patten Michael Sales Rep. 19-Sep-58
5 Burke Brian Sales Mgr. 4-Mar-55
6 Sousa Luis Sales Rep. 2-Jul-63
Problem 2
Density Viscosity Temperature
0.457 3.55 500
0.525 3.25 400
0.606 2.93 300
0.675 2.75 250
0.746 2.57 200
0.835 2.38 150
0.946 2.17 100
1.09 1.95 50
1.29 1.71 0
Problem 3
Using an approximate match, searches for the value 2 in column A, finds the largest value less
than or equal to 2 in column A, which is 1.29, and then returns the value from column B in the
same row.
Using an approximate match, searches for the value 1 in column A, finds the largest value less
than or equal to 1 in column A which is 0.946, and then returns the value from column B in the
same row.
Using an approximate match, searches for the value 1 in column A, finds the largest value less
than or equal to 1 in column A, which is 0.946, and then returns the value from column C in the
same row.
Using an exact match, searches for the value 0.7 in column A. Because there is no exact match in
column A, an error is returned.
Using an approximate match, searches for the value 0.1 in column A. Because 0.1 is less than the
smallest value in column A, an error is returned.
Find birthdate of ID no 5
Find title for ID no 1
Order ID product unit price quantity
10247 apples 14 12
10249 oranges 9.8 10
10250 bananas 34.8 5
10251 pears 18.6 9
10252 grapes 42.3 40
For ID 10251 find the product
For ID 10251 find the unit price
For ID 10251 find the quantity
VLOOKUP(0.7,A39:C
47,3,FALSE)
VLOOKUP(0.1,A39:C
47,2,TRUE)
Count of Individual no. Column Labels
Row Labels B D R Grand Total
F 2 6 3 11
M 3 4 2 9
Grand Total 5 10 5 20
Pivot Table
Individual no. Gender Hair colour Row Labels
1 F D F
2 F D B
3 M R D
4 F R R
5 F D M
6 M B B
7 F D D
8 F D R
9 M B Grand Total
10 M B
11 F R
12 M D Count of Individual no.
13 M D Row Labels
14 M D F
15 F B M
16 F B Grand Total
17 M R
18 M D
19 F R Count of Individual no.
20 F D Row Labels
F
M
Grand Total
Count of Individual
no.
11
2
6
3
9
3
4
2
20
Column Labels
B D R Grand Total
2 6 3 11
3 4 2 9
5 10 5 20
Column Labels
B D R Grand Total
18.18% 54.55% 27.27% 100.00%
33.33% 44.44% 22.22% 100.00%
25.00% 50.00% 25.00% 100.00%

Potrebbero piacerti anche