Student - Copy of Excel Formula
Student - Copy of Excel Formula
Sequence Identification: Excel identifies a sequence that you are trying to create.
Horizontal Autofill
1 2 3
Ranks
1st
If you want to generate a random decimal value between 0 and 1, simply used the Excel Rand function by entering the formula
RAND
POWER Function
The Excel Power function calculates a given number, raised to a supplied power.
INT Function
Rounds a number down to the nearest integer.
A complex formula is an equation that uses more than one type of arithmetic operator
Sales
Total Commission
Agent 1 Agent 2 Agent 3 Agent 4 Commission paid for each
month
Jan 10000 15000 20000 20000 5%
Feb 20000 20000 25000 30000 6%
Mar 30000 25000 30000 40000 7%
Apr 40000 30000 35000 50000 8%
May 50000 35000 40000 60000 9%
Total
of arithmetic operator
A B C D E F G H I J
1 Empcode First Name Last Name Dept Region Branch Hiredate Basic SalarHRA 2% DA 2%
2 a12345 Raja Raymondekar Sales north Ferozepur 1-Jan-77 21875 437.5
3 a23456 Suman Shinde Sales east Cuttack 1-Jan-77 17500 350.0
4 a34567 Kul deep Sharma Admin south Hydrabad 1-Mar-99 7000 140.0
5 23456 Beena Mavadia Mktg north Delhi 24-Nov-79 12250 245.0
6 56789 Seema Ranganathan R&D north Kanpur 4-Sep-89 21000 420.0
7 b12456 Julie D'Souza R&D north Mathura 4-Sep-88 12425 248.5
8 b12457 Deepak Jain Personnel west Pune 17-Aug-90 13825 276.5
9 b12458 Neena Mukherjee R&D north Agra 4-Sep-89 12425 248.5
10 b12459 Pankaj Sutradhar Sales north Ambala 12-Dec-99 14875 297.5
11 b12460 Andre Fernendes Mktg east Darjeeling 20-Jul-77 15750 315.0
12 b12461 Sujay Madhrani Finance west Pune 21-Dec-85 14875 297.5
13 b12462 Shilpa Lele Admin north Jammu 1-Mar-83 21000 420.0
14 b12463 Meera Lalwani Finance east Calcutta 11-Dec-84 19250 385.0
15 a34567 Sheetal Desai Director south cochin 12-Dec-84 49000 980.0
16 a34568 K. Sita Narayanan Personnel north Jammu 13-Dec-84 14875 297.5
17 a34569 Priya Shirodkar Personnel north Jaipur 14-Dec-84 14875 297.5
18 a34570 Aalok Trivedi Admin east Cuttack 1-Mar-83 15750 315.0
19 a34571 Aakash Dixit Admin west Nasik 1-Mar-83 15750 315.0
20 a34572 Parvati Khanna Mktg north Mathura 13-Aug-86 10500 210.0
21 a34573 Farhan Sadiq Mktg north Jaipur 5-Jun-99 5950 119.0
22 a34574 Satinder Kaur Sasan Mktg east Patna 6-Jun-99 7875 157.5
23 a34575 Suchita Panchal Mktg west Nasik 7-Jun-99 7875 157.5
24 a34576 Shazia Sheikh Mktg west Pune 8-Jun-99 7875 157.5
25 a34577 Pooja Nimkar Sales west Nasik 21-May-80 14875 297.5
26 a34578 Jasbinder Khurana R&D south Manglore 24-Apr-99 7875 157.5
27 a34579 Bharat Shetty Sales east Cuttack 1-Oct-82 19250 385.0
28 a34580 Rishi Malik Sales south Banglore 2-Jul-92 13125 262.5
29 a34581 Mala Bhaduri R&D west Mumbai 19-Mar-95 10500 210.0
30 a34582 Hajra Hoonjan Admin north Jaipur 4-May-96 9625 192.5
PRODUCT
Data
5 Product Multiplies the numbers above
15 Product Multiplies the numbers above with 2
30
weighted average
This example calculates the average price paid for a unit across three purchases, where each purchase is for a different numbe
different price per unit
Weighted average =
Median
Data
1 Median = Median of all the numbers
2 Median = Median of the first 5 numbers in the list
3
4
5
6
MODE
Returns the most frequently occurring, or repetitive, value in an array or range of data
Data
5.6 Mode
4
4
3
2
4
bove with 2
PERCENTILE
Data Percentile 30%
1 Percentile 40%
2 Percentile 50%
3
4
Sale Price per
OrderDate Region Rep Item Units
unit
1/6/2015 East Jones Pen 95 1.99 Total Sales amount
1/23/2015 Central Kivell Binder 50 19.99 Total sale price of Pencils so
2/9/2015 Central Jardine Pen 36 4.99
Central Gill Pen 27 19.99
3/15/2015 West Sorvino Pen 56 2.99
4/1/2015 East Jones Binder 60 4.99
4/18/2015 Central Andrews Pen 75 1.99
5/5/2015 Central Jardine Pen 90 4.99
5/22/2015 West Thompson Pen 32 1.99
6/8/2015 East Jones Binder 60 8.99
6/25/2015 Central Morgan Pen 90 4.99
7/12/2015 East Howard Binder 29 1.99
7/29/2015 East Parent Binder 81 19.99
8/15/2015 East Jones Pen 35 4.99
9/1/2015 Central Smith Desk 2 125
9/18/2015 East Jones Pen Set 16 15.99
10/5/2015 Central Morgan Binder 28 8.99
10/22/2015 East Jones Pen 64 8.99
11/8/2015 East Parent Pen 15 19.99
11/25/2015 Central Kivell Pen Set 96 4.99
12/12/2015 Central Smith Pen 67 1.29
12/29/2015 East Parent Pen Set 74 15.99
1/15/2016 Central Gill Binder 46 8.99
2/1/2016 Central Smith Binder 87 15
2/18/2016 East Jones Binder 4 4.99
3/7/2016 West Sorvino Binder 7 19.99
3/24/2016 Central Jardine Pen Set 50 4.99
4/10/2016 Central Andrews Pen 66 1.99
4/27/2016 East Howard Pen 96 4.99
5/14/2016 Central Gill Pen 53 1.29
5/31/2016 Central Gill Binder 80 8.99
6/17/2016 Central Kivell Desk 5 125
7/4/2016 East Jones Pen Set 62 4.99
19
60
test
33.3
19
60
test
33.3
Total no of rows 4
Total no of columns 4
Total no of cells 16
mber of cells that contain numbers in the list.
mber of cells that contain numbers of the top two and bottom cells in the list.
Single formula
ABS
Returns the absolute value of a number. The absolute value of a number is the number without its sign.
Example
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.
Purchase price Sales tax (in decimal form) Sales tax (in % form)
800 0.089 8.90%
For example, if you score 42 points correctly out of 50, what is the percentage of correct answers?
Points answered
correctly Total points possible
42 50
% received (in
decimal)
% received (in %) Go to format and change in cell format)
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
% change in
decimal
% change in %
Increase or decrease a number by a percentage
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?
Decrease cost
Increase cost
35% Increase
20% decrease
Empcode First Name Last Name Dept Region Branch Hiredate Salary
a12345 Raja Raymondekar Sales north Ferozepur 1-Jan-77 21875
a23456 Suman Shinde Sales east Cuttack 1-Jan-77 17500
a34567 Kuldeep Sharma Admin south Hydrabad 1-Mar-99 7000
23456 Beena Mavadia Mktg north Delhi 24-Nov-79 12250
56789 Seema Ranganathan R&D north Kanpur 4-Sep-89 21000
b12456 Julie D'Souza R&D north Mathura 4-Sep-88 12425
b12457 Deepak Jain Personnel west Pune 17-Aug-90 13825
b12458 Neena Mukherjee R&D north Agra 4-Sep-89 12425
b12459 Pankaj Sutradhar Sales north Ambala 12-Dec-99 14875
b12460 Andre Fernendes Mktg east Darjeeling 20-Jul-77 15750
b12461 Sujay Madhrani Finance west Pune 21-Dec-85 14875
b12462 Shilpa Lele Admin north Jammu 1-Mar-83 21000
b12463 Meera Lalwani Finance east Calcutta 11-Dec-84 19250
a34567 Sheetal Desai Director south cochin 12-Dec-84 49000
a34568 K. Sita Narayanan Personnel north Jammu 13-Dec-84 14875
a34569 Priya Shirodkar Personnel north Jaipur 14-Dec-84 14875
a34570 Aalok Trivedi Admin east Cuttack 1-Mar-83 15750
a34571 Aakash Dixit Admin west Nasik 1-Mar-83 15750
a34572 Parvati Khanna Mktg north Mathura 13-Aug-86 10500
a34573 Farhan Sadiq Mktg north Jaipur 5-Jun-99 5950
a34574 Satinder Kaur Sasan Mktg east Patna 6-Jun-99 7875
a34575 Suchita Panchal Mktg west Nasik 7-Jun-99 7875
a34576 Shazia Sheikh Mktg west Pune 8-Jun-99 7875
a34577 Pooja Nimkar Sales west Nasik 21-May-80 14875
a34578 Jasbinder Khurana R&D south Manglore 24-Apr-99 7875
a34579 Bharat Shetty Sales east Cuttack 1-Oct-82 19250
a34580 Rishi Malik Sales south Banglore 2-Jul-92 13125
a34581 Mala Bhaduri R&D west Mumbai 19-Mar-95 10500
a34582 Hajra Hoonjan Admin north Jaipur 4-May-96 9625
56789 Aalam Qureshi Personnel east Patna 19-Oct-88 14175
67890 Giriraj Gupta R&D north Agra 1-Oct-82 15750
b24578 Ankur Joshi CCD south Manglore 1-Oct-82 15750
b24579 Tapan Ghoshal CCD north Ambala 7-Jul-97 7000
a44567 Zarina Vora CCD north Lucknow 29-Sep-91 8750
78991 Arun Joshi Mktg south Manglore 5-May-92 9275
90092 Pooja Khetan Personnel west Surat 3-Sep-94 11725
a14567 Shilpa Parikh Finance south Mysore 1-Oct-82 24500
91092 Chitra Pednekar Finance north Aligarh 1-Oct-82 24500
a11567 Sheetal Dodhia Finance north delhi 1-Oct-82 24500
a11668 Richa Raje Sales south Manglore 29-Sep-91 10500
a11769 Kirtikar Sardesai Admin east Darjeeling 14-Jun-97 7875
a11870 Pooja Gokhale R&D east Calcutta 29-Sep-91 13300
a11971 Piyush Surti Personnel west Mumbai 19-Oct-88 15750
a12072 Shaheen Khan Personnel east Cuttack 17-Nov-90 13825
a12173 Kinnari Mehta R&D north Ferozepur 7-Jul-97 11375
a11971 Jeena Baig Sales north Lucknow 29-Sep-91 15750
a12072 Vicky Joshi Admin north Kanpur 7-Feb-88 15750
91094 Neha Joshi CCD west Baroda 19-Oct-88 15750
a11871 Rakesh Kumar CCD south cochin 19-Oct-88 15750
91094 Ruheal Baig Personnel west Baroda 19-Oct-88 15750
a12173 Mario Fernandes Sales north Jammu 20-Oct-88 15750
b12465 Heena Godbole CCD north Lucknow 21-Oct-88 19250
b12466 Mehul Sheth CCD west Nagpur 1-Dec-95 15750
b12467 Vishal Virsinghani CCD east Gangtok 3-Mar-95 15750
b22445 Lalita Rao CCD east Guwahati 1-Nov-86 15750
b32423 Kajal Joglekar Sales west Nagpur 1-Oct-92 14875
b42401 Kat Surti Sales south chennai 9-May-93 14875
b52379 Maya Panchal Mktg north Agra 5-Nov-90 17500
b62357 Disha Parmar Admin south Banglore 14-Jan-87 19250
b72335 Geeta Darekar Mktg south Trivanadrum 24-Nov-87 19250
a22334 Anuradha Zha Admin north Agra 25-Nov-87 19250
a12445 Asha Trivedi Sales north Kanpur 26-Nov-87 19250
a2556 Waheda Sheikh R&D north Jammu 24-Oct-88 17500
a7333 Veena Patil Personnel south Hydrabad 25-Oct-88 17500
a17222 Timsi Desai CCD east Calcutta 26-Oct-88 17500
a27111 Parul Shah Personnel north Agra 27-Oct-88 17500
a37000 Uday Naik Personnel north Lucknow 28-Oct-88 20125
a46889 Mandakini Desai Sales north delhi 1-Dec-95 14000
a56778 Pravin Joshi Personnel north delhi 3-Mar-95 14000
a66667 Reeta Naik Mktg east Calcutta 4-Mar-95 14000
a76556 Surendra Godse R&D west Panji 5-Mar-95 14000
a86445 Yamini Gupta R&D south Mysore 22-Oct-88 17500
a96334 Laveena Shenoy CCD north Jaipur 23-Oct-88 17500
a106223 Nita Pandhya Sales east Darjeeling 24-Oct-88 17500
a116112 Suraj Saksena Admin east Calcutta 25-Oct-88 17500
a126001 Nayeem Khan CCD west Panji 26-Oct-88 17500
a135890 Drishti Shah R&D north Delhi 27-Oct-88 17500
a145779 Deep Chhaya Sales west Mumbai 28-Oct-88 17500
a155668 Sagar Bidkar Mktg north Delhi 29-Oct-88 17500
a165557 Dayanand Gandhi Mktg north Ferozepur 30-Oct-88 17500
a175446 Tara Phule CCD south chennai 31-Oct-88 17500
a185335 Kalpana Shirishkar R&D east Cuttack 1-Nov-88 17500
a195224 Kunal Shah CCD north Aligarh 2-Mar-99 7000
a205113 Pinky Robert R&D east Calcutta 3-Mar-99 7000
a215002 Ruby Joseph R&D north Agra 14-Jan-98 7000
a224891 Sonia Sasan CCD north Jammu 15-Jan-98 17500
a234780 Jignesh Tripathi Mktg south Hydrabad 16-Jan-98 17500
a244669 Vinit Shrivastava Mktg west Pune 30-Dec-97 7875
a254558 Tejal Patel Sales north Aligarh 21-Feb-79 22750
a264447 Priyanka Mehta R&D north Jaipur 6-Jan-80 22750
a274336 Niki Digaria Sales east Calcutta 13-Nov-79 22750
a284225 Payal Singhani Mktg east Gangtok 5-Apr-89 17325
a294114 Harsha Trivedi Sales south Banglore 6-Apr-89 17325
a304003 Radhika Kulkarni Mktg west Surat 7-Apr-89 17325
a313892 Kabir Vora Mktg south Banglore 8-Apr-89 17325
a323781 Beena Sharma R&D west Nagpur 9-Apr-89 17325
a333670 Pushpa Raut R&D south Trivanadrum 10-Apr-89 17325
a343559 Chetan Dalvi CCD north Delhi 11-Apr-89 17325
a353448 Indu Shah Finance west Mumbai 30-Dec-97 10500
a363337 Rupesh Sawant Finance south Hydrabad 2-Feb-99 7875
a244669 Vinit Shrivastava Mktg west Pune 30-Dec-97 7875
a254558 Tejal Patel Sales north Aligarh 21-Feb-79 22750
a264447 Priyanka Mehta R&D north Jaipur 6-Jan-80 22750
a274336 Niki Digaria Sales east Calcutta 13-Nov-79 22750
a284225 Payal Singhani Mktg east Gangtok 5-Apr-89 17325
b24579 Tapan Ghoshal CCD north Ambala 7-Jul-97 7000
a44567 Zarina Vora CCD north Lucknow 29-Sep-91 8750
b12456 Julie D'Souza R&D north Mathura 4-Sep-88 12425
b12457 Deepak Jain Personnel west Pune 17-Aug-90 13825
1. highlight duplicate Values (duplicate values are available in the sheet)
2. Highlight text that contains 'Specific Text'
3. Highlight cells with values greater then, less then and between a particular value
the worksheet
Name
Have named cells B6 to B27 as emp_salary
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.
EDATE
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.
Data
1-Jan-12
NETWORKDAYS
Returns the number of whole working days between start_date and end_date. Working days exclude weekends and any
dates identified in holidays. Use NETWORKDAYS to calculate employee benefits that accrue based on the number of days
worked during a specific term.
Syntax
NETWORKDAYS(start_date, end_date, [holidays])
Date Description
10/1/2012 Start date of project
3/1/2013 End date of project
11/22/2012 Holiday
12/4/2012 Holiday
1/21/2013 Holiday
work days
Time Functions
Hour, Min, Sec
Data Hour
6:45:17
Time Function
To add a number of hours, minutes and/or seconds, use the TIME function.
Data Time
6:45:17
macro that contains
omputer's system
r after a specified
f the month as the
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
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 runn
balance, use the following procedure.
CARG =
CARG =
The XIRR function calculates in the internal rate of return for series of cash flows that occur at irregular intervals
Default IRR is 10% or 0.1 in XIRR
ed your spending limits. You can
ver time. To calculate a running
ular intervals
TEXT
Data
nancy Davolio
Function names
Uppercase NANCY DAVOLIO UPPER
lowercase nancy davolio LOWER
Title Case Nancy Davolio PROPER
Data
nancy Davolio
123
CONCATENATE
Data
brook trout
species
32
First name Last name Street address City State Zip code
Robert Walters 4567 Main St. Buffalo NY 98052
Full Name
Full Address
Extracts characters
Left Function
LEFT returns the first character or characters in a text string, based on the number of characters you specify.
Text Required. The text string that contains the characters you want to extract.
Num_chars Optional. Specifies the number of characters you want LEFT to extract.
If num_chars is omitted, it is assumed to be 1.
MID Function
MID returns a specific number of characters from a text string, starting at the position you specify, based on the number of
Syntax
MID(text, start_num, num_chars)
Text Required. The text string containing the characters you want to extract.
Start_num Required. The position of the first character you want to extract in text. The first character
Num_chars Required. Specifies the number of characters you want MID to return from text.
LEN Function
12000
12000
18000
18000
18000
18000
18000
15000
10000
15000
15000
10000
12000
10000
10000
10000
10000
10000
18000
10000
20000
20000
20000
15000
12000
10000
10000
10000
10000
15000
12000
10000
10000
10000
15000
10000
10000
10000
10000
15000
15000
18000
12000
18000
12000
15000
10000
10000
10000
10000
10000
15000
10000
18000
10000
10000
10000
15000
12000
10000
10000
15000
18000
18000
10000
10000
10000
10000
10000
10000
18000
18000
15000
10000
15000
18000
15000
18000
18000
10000
10000
10000
20000
20000
Practice
Countif to find employees earning salaries more than 20,000
Countifs to find the number of employees in Marketing with salaries more than 15,000
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
Scores
Greater than 89 A
From 80 to 89 B
From 70 to 79 C
From 60 to 69 D
Less than 60 F
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
Find birthdate of ID no 5
Find title for ID no 1
Problem 2
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
Using A, an error ismatch,
an approximate returned.
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.
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.
Problem 3
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