Excel Training - 260416
Excel Training - 260416
NAMES KAN HIND ENG MAT SCI SOC TOTAL AVG MIN MAX RESULTS RANK AVG
Ganesh 90 91 92 93 94 95 555 92.5 90.0 95 Pass Second Rank
GOURAV 80 81 82 83 84 85 495 82.5 80.0 85 Pass Distinction
NAMOD 70 71 72 73 74 75 435 72.5 70.0 75 Pass First Cls
NAMAHA 60 61 62 63 64 65 375 62.5 60.0 65 Pass First Cls
PRASANA 50 51 35 53 54 55 298 49.7 35.0 55 Pass Third Cls
LINGA 71 81 91 61 71 41 416 69.3 41.0 91 Pass First Cls
JAGAMA 99 98 97 96 95 94 579 96.5 94.0 99 Pass First rank
SHIVA 88 87 86 85 84 83 513 85.5 83.0 88 Pass Third Rank
GANESH 77 76 75 74 73 72 447 74.5 72.0 77 Pass First Cls
Result =if(or(B3<35,C3<35,D3<35,E3<35,F3<35,G3<35),"Fail","Pass")
Example
3 > 4 3 4 No =IF(C22>D22,"yes","No")
4 > 3 4 3 yes =IF(C23>D23,"yes","No")
NAMAHA
SOC; 17.33%
ENG; 16.53%
HIND; 16.27%
KAN; 16.00%
RANK TOT
SECOND RANK
DIST
FIRST
FIRST
THIRD
FIRST
FIRST RANK
THIRD RANK
FIRST
100 96 100
93
83 85
80 80
73 74
63
Marks
60 61 60
53
40 40
20 20
0 0
1 2 3 4 5 6 7 8 9
3% Students Names
Rate =IF(F3<30,F3*1.2,IF(F3<100,F3*1.85,IF(F3>100,F3*2.6)))
Rate =IF(No Units<30,No of units*1.2,IF(No of units<100,No of Units*1.85,IF(No of Units>1
Interest =IF(I3<1000,I3*0.2%,IF(I3>=1000,I3*0.5%))
Interest =IF(old Balance<1000,Old Balance*0.2%,IF(I3>=1000,I3*0.5%))
Total =G3+H3
Total =Rate+Minimum Charge
Tax =K3*0.5%
Tax =Total*0.5%
00,I3*0.5%))
PAY SLIP
EMP No BASIC DA HRA GROSS KGID GPF LIC PT GIS
E-01 8000 4800.00 560.00 13360.00 1000 1000 800 150 200
E-02 8276 4965.60 579.32 13820.92 1100 1200 900 160 200
E-03 8550 5130.00 598.50 14278.50 1150 1000 900 150 200
E-04 8825 5295.00 617.75 14737.75 1200 1200 1000 150 200
E-05 9100 5460.00 637.00 15197.00 1300 1400 1000 180 200
E-06 9375 5625.00 656.25 15656.25 1400 1300 1200 180 200
E-07 9650 5790.00 675.50 16115.50 1500 1500 1200 180 200
E-08 9925 5955.00 694.75 16574.75 1600 1600 1050 180 200
E-09 10200 6120.00 714.00 17034.00 1700 1400 1200 180 200
E-10 10475 6285.00 733.25 17493.25 1600 1600 1200 180 200
680 5 3400 68 B
Total
5000,"B","A"))
ALL FUNCTIONS
1 MATHEMATICAL
2 STATISTICAL
3 TEXT
4 DATABASE Eg: VLOOKUP, HLOOKUP
5 DATE AND TIME
6 LOGICAL
MATHEMATICAL
TEXT FUN
Upper To convert text into upper case
Lower To convert text into lower case
Proper To convert text into proper case
Exact To compare 2 text and display result as true or false
Len To count no of charcters in selected text
Left To count specified no of characters from the left
Right To count specified no of characters from the right
Mid To count specified no of characters from the middle of text
Concatenate To combine two text
Places
mumbai
Delhi
Hyderabad
Concatenate
First Name Last Name Full Name
Praksh Kumar Praksh Kumar
Pankaj Advani Pankaj Advani
LOOKUP
Searches for a value in the top row of a table or an array of values, and then ret
Hlookup from a row you specify in the table or array. Use HLOOKUP when your compar
across the top of a table of data, and you want to look down a specified numb
your comparison values are located in a column to the left of the data you want
The H in HLOOKUP stands for "Horizontal."
Product P1 P2 P3 P4
Qty 10 15 25 30
Rate 250 200 150 225
Product P1 P2 P1 P5
Rate 250 200 250 275
Vlookup You can use the VLOOKUP function to search the first column of a range of cells
any cell on the same row of the range.
You can use the VLOOKUP function to search the first column of a range of cells
any cell on the same row of the range.
IDNO Salary
2 15000
5 21200
STATISTICAL FUNCTIONS
LOGICAL
And Logical function which checks for all conditions and displays the result as true or false. Tru
Or Logical function which checks for all conditions and displays the result as true or false. Tru
If Logical function which checks for all conditions and displays one result if any one conditio
If or Combination of both If, Or
If and Combination of both if,and
Elg for Bonus
IDNO Dept Region Salary And
1 Acc E 12000 0
2 Sales W 15000 0
3 HR E 14000 0
4 Acc S 20000 1
5 Sales E 21200 0
6 Acc E 12500 0
md khan md khan
azeez khan azeezkhan
Sl no Sub 1 Sub 2 Sub 3
2 ab 85 52
1
2
ab
3
Lef Right Mid
P5
40
275
P3
150
Text
what if name has two names Ashok Kumar
First name Last name
date Functions Ashok Kumar
9/10/2008
day() 10
month() 9 ashok
year() 2008
Adding day/s to the Date
date days added result afer addition
8/17/2011 2 8/19/2011
8/17/2011 3 8/20/2011
8/17/2011 4 8/21/2011
8/17/2011 5 8/22/2011
You can put this all together in one calculation, which creates a text version.
Region Sales
E 1250
W 4520
N 3100
S 4500
Find the sqrt of 145,121,155
Find the power of 2^3,4^2,5^3
Convert the following to upper case, lower case and proper case
Places
bangalore BANGALORE
mumbai MUMBAI
delhi DELHI
pune PUNE
nasik NASIK
find the no of characters in the following text
1)
2) SITUATION
3) COMBINATION
PRESENTATION
Use appropriate function to count 3 characters from left an 2 char from right of the foll text
1)
2) result res
3) powerpoint pow
micro soft mic
Combine the following first and last name
Time Functions
7/17/2018 9:26
Hour 9
Minutes 26
Seconds 23
Lef Right
Ashok Kumar
Last
Ashok Kumar
Ash
5
ASHOK
ho
Ashok
=DATE(YEAR(C21),MONTH(C21),DAY(C21)+D21)
=DATE(YEAR(C27),MONTH(C27)+D27,DAY(C27))
=DATE(YEAR(C33)+D33,MONTH(C33),DAY(C33))
Difference
3782 =DATEDIF(C45,D45,"d")
124 =DATEDIF(C46,D46,"m")
10 =DATEDIF(C47,D47,"y")
129 =DATEDIF(C48,D48,"yd")
4 =DATEDIF(C49,D49,"ym")
9 =DATEDIF(C50,D50,"md")
Difference
1 =IF(DATEDIF(C56,D56,"d")=0,1,DATEDIF(C56,D56,"d")+1)
2
3
4
5
6
7
65,TODAY(),"y")
65,TODAY(),"ym")
65,TODAY(),"md")
a text version.
8
8
12.0415946
8
9
11
12
rom right of the foll text
lt
nt
ft
Named Ranges
Names Jan Feb Mar Total
Om 1111 2222 3333 6666
guru 4444 5555 6666 16665
Ramesh 7777 8888 9999 26664
13332 16665 19998
vlookup
Goal seek table by changing Qty only Goal seek table by changing Qty on
Sl. No Product Name Rate Qty Amount Goal Sl. No Product Name Rate
1 TV 6000 8 50000 50000 1 TV 6000
2 Mixer 5000 15 75000 75000 2 Mixer 5000
3 Fridge 4000 25 100000 100000 3 Fridge 4000
4 Electric Cooker 3000 42 125000 125000 4 Electric Co 3000
5 Juicer 2000 75 150000 150000 5 Juicer 2000
Goal seek table by changing Rate only Goal seek table by changing Rate o
Sl. No Product Name Rate Qty Amount Goal Sl. No Product Name Rate
1 TV 10000 5 50000 50000 1 TV 10000
2 Mixer 5000 6 30000 75000 2 Mixer 5000
3 Fridge 4000 7 28000 100000 3 Fridge 4000
4 Electric Cooker 3000 8 24000 125000 4 Electric Co 15625
5 Juicer 2000 9 18000 150000 5 Juicer 2000
seek table For reference only
Qty Amount Goal
5 30000 50000
6 30000 75000
7 28000 100000
8 24000 125000
9 18000 150000
Constraints:
1.The final total to be changed from 12300 to 18500
2. Jayanagar >= 2500
3. Indiranagar = 3000
4. Ganganagar <= 1500
5. M.G. Road unchanged i.e. 3300
Titanic Towers Pvt Ltd.
Net assembly Line Hours Figures for the West region
Periodically divided in four Quarters
Sl. No Particulars Quarter1 Quarter2 Quarter3 Quarter4 Total
1) Assembly A01 179.53 180.20 180.87 181.54 722.14
Sub A01.1 45.00 44.22 43.44 42.66
Sub A01.2 46.50 46.65 46.80 46.95
Sub A01.3 43.25 44.12 44.99 45.86
Sub A01.4 44.78 45.21 45.64 46.07
2) Assembly A02 230.95 231.07 232.89 235.20 930.11
Sub A02.1 47.80 47.00 47.80 47.80
Sub A02.2 44.00 46.65 46.80 47.80
Sub A02.3 45.55 44.12 44.99 47.80
Sub A02.4 46.60 46.65 46.65 47.80
Sub A02.5 47.00 46.65 46.65 44.00
3) Assembly A03 131.00 136.20 138.80 133.77 539.77
Sub A03.1 43.00 47.80 47.00 46.65
Sub A03.2 44.00 44.00 47.80 44.12
Sub A03.3 44.00 44.40 44.00 43.00
4) Assembly A04 85.00 90.77 91.79 88.00 355.56
Sub A04.1 41.00 46.65 46.80 45.00
Sub A04.2 44.00 44.12 44.99 43.00
Total sales for each Quarter 626.48 638.24 644.35 638.51 2547.58
Variance Percentage
40.0%
30.0%
20.0%
Variance Percentage
10.0%
0.0%
Assembly A01 Assembly A02 Assembly A03 Assembly A04
-10.0%
-20.0%
-30.0%
Amount 10000
Month 12
Rate 1%
SI 1200 1% 2% 3% 4% 5% 6% 7%
10000 1200 2400 3600 4800 6000 7200 8400
20000 2400 4800 7200 9600 12000 14400 16800
30000 3600 7200 10800 14400 18000 21600 25200
40000 4800 9600 14400 19200 24000 28800 33600
50000 6000 12000 18000 24000 30000 36000 42000
60000 7200 14400 21600 28800 36000 43200 50400
70000 8400 16800 25200 33600 42000 50400 58800
80000 9600 19200 28800 38400 48000 57600 67200
90000 10800 21600 32400 43200 54000 64800 75600
100000 12000 24000 36000 48000 60000 72000 84000
Names Dept Salary
Amar Sales 10000
Bheema mkt 20000
Charles mkt 30000
Das Prod 40000
Eric Prod 50000
Fahima Sales 60000
Conditional format the cells which are above the average salary ie 35000
000,F20*5%,IF(AND(F20>50000,F20<=75000),F20*10%,IF(AND(F20>75000,F20<=100000),F20*15%,IF(F20>100000,F20*20%))))
F20>100000,F20*20%))))
Pivot Table
Sales Person Month Product Sales Region
Roni Jan Tv 23000 South
Soma Jan Tv 25000 South
Sumi Jan Fridge 18000 North
Babai Jan Fridge 17000 West
Babu Jan Tv 25000 South
Sodu Feb Fridge 25000 East
Sumi Feb Tv 28000 North
Roni Feb Fridge 12000 South
Roni Feb Tv 11000 South
Bubai Feb Fridge 25000 North
Dinesh March Tv 50000 South
Soma March Fridge 45000 South
Renuka March fridge 15000 South Sum - Sales
Babai March Fridge 60000 West Region
Lokesh
12 March Tv 12000 South East
Rathna November Fridge 5000 South
Malini
10 June Tv 10000 South
North
8
0
East North South West Total Result
West
Total Result
Product
Sales Person Month Fridge Tv Total Result
25000 25000
Sodu 25000 25000
Feb 25000 25000
43000 28000 71000
Bubai 25000 25000
Feb 25000 25000
Sumi 18000 28000 46000
Jan 18000 18000
Feb 28000 28000
Sales Person 77000 156000 233000
Month Babu 25000 25000
Jan 25000 25000
Dinesh 50000 50000
March 50000 50000
Lokesh 12000 12000
ult
March 12000 12000
Malini 10000 10000
June 10000 10000
Rathna 5000 5000
Novembe 5000 5000
Renuka 15000 15000
March 15000 15000
Roni 12000 34000 46000
Jan 23000 23000
Feb 12000 11000 23000
Soma 45000 25000 70000
Jan 25000 25000
March 45000 45000
77000 77000
Babai 77000 77000
Jan 17000 17000
March 60000 60000
222000 184000 406000
Ename Job Salary
Smith Analyst 5000
Martin Manager 9000
Jones Clerk 2000
James Manager 9000
Blake Analyst 7000
Allen Salesman 6700
Job Job
Analyst Manager
DAvg
Brand
Type the Brand Name: Sunbeam
What Does It Do ?
This function calculates the average from a list of numbers.
If the cell is blank or contains text, the cell will not be used in the average calculation.
If the cell contains zero 0, the cell will be included in the average calculation.
Syntax
=AVERAGE(Range1,Range2,Range3... through to Range30)
Formatting
No special formatting is needed.
Note
To calculate the average of cells which contain text or blanks use =SUM() to get the total and
then divide by the count of the entries using =COUNTA().
Average
28.66667 =AVERAGE(D8:J8)
2.333333 =AVERAGE(D9:J9)
Average
28.66667 =AVERAGE(D12:J12)
2.333333 =AVERAGE(D13:J13)
Average
24.57143 =SUM(D31:J31)/COUNTA(D31:J31)
2 =SUM(D32:J32)/COUNTA(D32:J32)
Average
28.66667 =SUM(D35:J35)/COUNTA(D35:J35)
2.333333 =SUM(D36:J36)/COUNTA(D36:J36)
SUM
Horizontal
100 200 300 600 =SUM(C4:E4)
Vertical
100
200
300
600 =SUM(C7:C9)
Single Cells
100 300 600 =SUM(C13,D14,E13)
200
Multiple Ranges
100 400
200 500
3000 600
4800 =SUM(C17:C19,E17:E19)
Functions
100 400
200 500
300 600
800 =SUM(AVERAGE(C23:C25),MAX(E23:E25))
What Does It Do ?
This function creates a total from a list of numbers.
It can be used either horizontally or vertically.
The numbers can be in single cells, ranges are from other functions.
Syntax
=SUM(Range1,Range2,Range3... through to Range30).
Formatting
No special formatting is needed.
Note
Many people use the =SUM() function incorrectly.
This example shows how the SUM has been combined with plus + symbols.
The formula is actually doing more work than needed.
It should have been entered as either =C48+C49+C50 or =SUM(C48:C50).
100
200
300
600 =SUM(C48+C49+C50) Wrong!
=SUM(C48:C50) Correct
=C48+C49+C50 Correct
CONCATENATE
Name 1 Name 2Concatenated Text
Alan Jones AlanJones =CONCATENATE(C4,D4)
Bob Williams BobWilliams =CONCATENATE(C5,D5)
Carol Davies CarolDavies =CONCATENATE(C6,D6)
Alan Jones Alan Jones =CONCATENATE(C7," ",D7)
Bob Williams Williams, Bob =CONCATENATE(D8,", ",C8)
Carol Davies Davies, Carol =CONCATENATE(D9,", ",C9)
Syntax
=CONCATENATE(Text1,Text2,Text3...Text30)
Up to thirty pieces of text can be joined.
Formatting
No special formatting is needed, the result will be shown as normal text.
Note
You can achieve the same result by using the & operator.
What Does It Do ?
This function converts all characters in a piece of text to lower case.
Syntax
=LOWER(TextToConvert)
Formatting
No special formatting is needed.
UPPER
Original Text Upper Case
alan jones ALAN JONES =UPPER(C4)
bob smith BOB SMITH =UPPER(C5)
carOl wiLLiamS CAROL WILLIAMS =UPPER(C6)
cardiff CARDIFF =UPPER(C7)
abc123 ABC123 =UPPER(C8)
What Does It Do ?
This function converts all characters in a piece of text to upper case.
Syntax
=UPPER(TextToConvert)
Formatting
No special formatting is needed.
Example
See the example for FREQUENCY.
PROPER
Original Text Proper
alan jones Alan Jones =PROPER(C4)
bob smith Bob Smith =PROPER(C5)
caRol wILLIAMS Carol Williams =PROPER(C6)
cardiff Cardiff =PROPER(C7)
ABC123 Abc123 =PROPER(C8)
What Does It Do ?
This function converts the first letter of each word to uppercase, and all subsequent letters
are converted to lower case.
Syntax
=PROPER(TextToConvert)
Formatting
No special formatting is needed.
TRIM
Original Text Trimmed Text
ABCD ABCD =TRIM(C4)
A B C D ABCD =TRIM(C5)
Alan Jones Alan Jones =TRIM(C6)
ABCD ABCD =TRIM(C7)
What Does It Do ?
This function removes unwanted spaces from a piece of text.
The spaces before and after the text will be removed completely.
Multiple spaces within the text will be trimmed to a single space
Syntax
=TRIM(TextToTrim)
Formatting
No special formatting is needed.
SUBSTITUTE
Old Text
To New Text
Original Text Remove To Insert Updated Text
ABCDEF CD hello ABhelloEF =SUBSTITUTE(B4,C4,D4)
ABCDABCD CD hello ABhelloABhello =SUBSTITUTE(B5,C5,D5)
Northern Region Region Area Northern Area =SUBSTITUTE(B6,C6,D6)
Sand and Cement and & S& & Cement =SUBSTITUTE(B7,C7,D7)
Old Text
To New Text Instance To
Original Text Remove To Insert Be Replaced Updated Text
ABCABCABC ABC hello 3 ABCABChello
Sand and Cement and & 2 Sand & Cement
=SUBSTITUTE(B10,C10,D10,E10)
=SUBSTITUTE(B11,C11,D11,E11)
What Does It Do ?
This function replaces a specified piece of text with a different piece of text.
It can either replace all occurrences of the text, or a specific instance.
The function is case sensitive.
Syntax
=SUBSTITUTE(OriginalText,TextToRemove,TextToInsert,InstanceToUse)
The InstanceToUse is optional, if it is omitted all instances will be substituted.
Formatting
No special formatting is needed.
Note
To cope with upper or lower case in the substitution you can use other text functions
such as =UPPER(), =LOWER() or =PROPER() to ensure that the substitution will take place.
Table 1 shows how differing text cases alter the result of the substitution.
Table 1
Old Text
To New Text
Original Text Remove To Insert Updated Text
Northern Region Region Area Northern Area
Northern region Region Area Northern region
Northern Region region Area Northern Region
Northern Region Region area Northern area
Northern Region region area Northern Region
=SUBSTITUTE(B39,C39,D39)
Table 2 shows how the =PROPER() function has been used to take account of the mixed cases.
Table 2
Old Text
To New Text
Original Text Remove To Insert Updated Text
Northern Region Region Area Northern Area
Northern region Region Area Northern Area
Northern Region region Area Northern Area
Northern Region Region area Northern Area
Northern Region region area Northern Area
=SUBSTITUTE(PROPER(B50),PROPER(C50),PROPER(D50))
E(B4,C4,D4)
E(B5,C5,D5)
E(B6,C6,D6)
E(B7,C7,D7)
E(B10,C10,D10,E10)
E(B11,C11,D11,E11)
1-Jan-98
What Does It Do ?
This function counts the number of blank cells in a range.
Syntax
=COUNTBLANK(RangeToTest)
Formatting
No special formatting is needed.
Example
The following table was used by a company which was balloting its workers on whether
the company should have a no smoking policy.
Each of the departments in the various factories were questioned.
The response to the question could be Y or N.
As the results of the vote were collated they were entered in to the table.
The =COUNTBLANK() function has been used to calculate the number of departments which
have no yet registered a vote.
What Does It Do ?
This function counts the number of items which match criteria set by the user.
Syntax
=COUNTIF(RangeOfThingsToBeCounted,CriteriaToBeMatched)
The criteria can be typed in any of the following ways.
To match a specific number type the number, such as =COUNTIF(A1:A5,100)
To match a piece of text type the text in quotes, such as =COUNTIF(A1:A5,"Hello")
To match using operators surround the expression with quotes, such as =COUNTIF(A1:A5,">100")
Formatting
No special formatting is needed.
SUMIF
Item Date Cost
Brakes 1-Jan-98 80
Tyres 10-May-98 25
Brakes 1-Feb-98 80
Service 1-Mar-98 150
Service 5-Jan-98 300
Window 1-Jun-98 50
Tyres 1-Apr-98 200
Tyres 1-Mar-98 100
Clutch 1-May-98 250
What Does It Do ?
This function adds the value of items which match criteria set by the user.
Syntax
=SUMIF(RangeOfThingsToBeExamined,CriteriaToBeMatched,RangeOfValuesToTotal)
Formatting
No special formatting is needed.
Name of course C prg
Fees 4500
Service Tax percentage 2.75%
Tax Amt 123.75
Grand Total 4623.75
Scenario Summary
Current Values: C++ Prg Java
Changing Cells:
$D$4 3000 4500 5890
Result Cells:
$D$5 2.75% 2.75% 2.75%
$D$6 82.5 123.75 161.975
$D$7 3082.5 4623.75 6051.975
Notes: Current Values column represents values of changing cells at
time Scenario Summary Report was created. Changing cells for each
scenario are highlighted in gray.
Secondary Axis Graph
140000 140
120
120000 120
100000 100
80
80000 80
60 Money Invested
60000 60 Points Scored
100000
40000 80000 40
20000 20
0 0
120000
Switzerland Germany Itlay
Money Invested
Points Scored