SlideShare a Scribd company logo
1 of 28
Download to read offline
M.S.N.Durga Prasad msndurgaprasad@gmail.com
+91 91776 48745
MS-EXCEL
MS-Excel Topics
Trainer by Online Search
M.S.N.Durga Prasad 9177648745 Google, Youtube MSNDURGAPRASAD
msndurgaprasad@gmail.com Slideshare.net MSNDURGAPRASAD
Basics & Shortcut keys Functions
Copy & Paste Repeated Text Text Function
Date & Time
Functions
General
Functions
Advanced Functions
With of Column & Rows TRIM DATE SUM SUMIF, COUNTIF, IF & SUMIFS, SUBTOTAL
Continue Numbers PROPER DATEDIF AVERAGE AND, OR & NESTEDIF
Insert Cell/Row/Column/Sheet UPPER DAY PRODUCT LOOKUP (VLOOKUP, HLOOKUP)
Delete Cell/Row/Column/Sheet LOWER DAYS COUNT
Basic Calculation Problems LEN DAYS360 COUNTA Accounting/Business Related Functions
Basic with Fill Options CONCATENATE HOUR COUNTBLANK Due List Preparation (Educational Institutions)
LEFT MINUTE MINUMUM Loan EMI Calculations
Other Topics RIGHT MONTH MAXIMUN Cash Sheet/Day Balance Sheet Preparation
Sort MID NETWORK DAYS LCM Verification with Two Software Report in Excel
Filters REPLACE NOW POWER
Sub Totals CODE SECOND FACT Pivot Tables Basic & Advanced
Conditional Formatting TODAY CHAR Table-1
Charts TEXT SQRT Table-2
Data Validation WEEKDAY ROUND
Goal Seek YEAR RANK Problems
Format Cells Practical Related Problems (Accounting/Business)
M.S.N.Durga Prasad
1
An excel work sheet consists rows and columns.
Rows-----65536 (1, 2, 3, -----)
Columns----256 (A, B----Z, AA, AB-----AZ, ----IA, IB, -----IV) in 2003
Version
Rows ----- 1048576 (1, 2, 3, -----)
Columns --- 16384 (A, B, ----, XFD) in 2007 & 2010 Version
To Copy and Paste any Item Repeatedly
 Type any item
 Press Enter
 Press up arrow
 Move mouse on cell pointer (+) and drag it to any direction
To Resize Width of any Column/Row
 Move mouse in between the partition of column/Row
 Drag and resize the width
To Generate Continuous Numbers
 Type any number
 Press Enter
 Press up arrow
 Hold ctrl key and move mouse over the cell pointer and drag the numbers up to required value
Exc-1 Name Eng Mat Sci Tot Avg
Vignan 75 85 65
Pavan 38 40 40
Kiran 75 42 48
Chandra 68 85 68
Ravi 84 68 48
Siva 65 90 85
Abdul 75 78 42
Kanth 32 30 84
Pratap 75 49 72
Exc-2 Description Qty Rate Amount Dis.Amt Net Amt
Files 45 25
Pens 50 20
Cd's 50 25
Floppy 20 10
Books 20 20
Discount Rate 5 1/2%
M.S.N.Durga Prasad
2
Exc-3 Description Qty Rate Amount Dis.Rate Dis.Amt
Net
Amt
Files 45 25 3
Pens 50 20 2
Cd's 50 25 3
Floppy 20 10 1
Books 20 20 1
Exc-
4 Name
Joining
Date
Descharge
Date
No.of
Days Doc.Fees
Room
Rent Advance
Net
Amt
Vignan 20-Apr-17 25-Apr-17 250 100
Vignan 18-Apr-17 20-Apr-17 250 50
Kiran 2-Apr-17 15-Apr-17 250 75
Chandra 5-Apr-17 20-Apr-17 250 150
Ravi 20-Apr-17 23-Apr-17 250 50
Siva 19-Apr-17 21-Apr-17 250
Nageswara Rao 15-Mar-17 5-Apr-17 250 300
Abdul 1-Apr-17 10-Apr-17 250 250
Kanth 6-Apr-17 10-Apr-17 250 450
Uday 25-Apr-17 25-Apr-17 250
Room rent Per day 150
To Increase/Decrease Decimal Places
 Select all values
 Click on decrease/increase tool at Home tool bar
To Rename any Sheet
 Right click on sheet name at bottom of the window
 Select Rename
 Type any name and press enter
To Insert New Sheet
 Right click on sheet name at bottom of window
 Select Insert
 Click ok button
To Delete any Sheet
 Right click sheet name which you want to delete
 Select delete
 Click ok button
To Insert an Empty Cell
 Place cursor on required cell to insert an empty cell
 Home menu ---Insert---Insert cells
 Select shift cells down / shift cells right
 Click ok button
M.S.N.Durga Prasad
3
To Insert any Row
 Place cursor on required row
 Home menu ---Insert---Insert rows
To Insert any Column
 Place cursor on required column
 Home menu ---Insert---Insert columns
To Delete any Cells
 Place cursor on cell which you want to delete
 Home menu ---Delete ---Delete Cells
 Select shift cells up / shift cells left
 Click ok button
To Delete any Row / Column
 Place cursor on required row / column
 Home menu ---Delete ---Delete Cells
 Select entire row (or) entire column
 Click ok button
Sort
Arranging records in alphabetical or numerical order
To sort any data
 Place cursor on first cell
 Data menu ---- sort
 Sort by ------ select any column heading
 Select order A to Z or Z to A
 Click ok button
Filters
These are used to filter required portion from a large list of data
To filter any data
  Place cursor on first column heading
  Data menu ---- Filter
To Remove Filter any Data
 Place cursor on first column heading
 Data menu ---- Filter
Sub Totals
It is used to find the sub totals and grad totals for the required information
 While applying subtotals data must be in “SORTED ORDER”
 Data menu --- Subtotal
 At each change in ----- Select any required column heading
 Use function ---Select “SUM” function
 Add subtotal to ---Check “Subtotal Column”
 Click ok button
To remove subtotal
 Data menu --- Subtotal
 Click on remove all button
M.S.N.Durga Prasad
4
To freeze any portion on window
 Place cursor after row / column to freeze
 View menu ---- Freeze Panes --- Freeze Panes
To remove freeze panes
 View menu ---- Freeze Panes --- Unfreeze panes
SHORT CUT KEYS
Key Format Description
Ctrl+Shift+~ General Format
Ctrl+Shift+! Number Format
Ctrl+Shift+@ Value Convert to Date & Time format Showing Time
Ctrl+Shift+# Value Convert to Date & Time format Showing Date
Ctrl+Shift+$ Currency Format
Ctrl+Shift+% Percentage Format
Ctrl+Shift+^ Scientific Format
Ctrl+Shift+& Out line Border
Ctrl+Shift+* Select the Range of Text
Ctrl+Shift+: Disply System Current Time
Ctrl+Shift+" / ' Fill down Above Cell
Ctrl+; Disply System Current Date
Ctrl+~ Sheet Convert to VB format & Excel Format
Ctrl+F1 Show/Hide Task Pane
Ctrl+F2 Print Preview
Ctrl+F3 Name Manager
Ctrl+F4 Close the Current Doucment
Ctrl+F5 Restore Window
Ctrl+F6 Goto Next Work Book
Ctrl+F9 Minimise Window
Ctrl+F10 Restore Window/Maximise Window
Ctrl+F11 New Macro Sheet Create VB Format
Ctrl+F12 Open Window
Ctrl+Shift+F1 Show/Hide Full Screen
Ctrl+Shift+F4 Goto Previous Blank Cells
Ctrl+Shift+F6 Goto Previous Work Book
Ctrl+Shift+F12 Print Preview
Ctrl+1 Format Cell
Ctrl+2 Bold
Ctrl+3 Italic
Ctrl+4 Under line
Ctrl+5 Stick out
Ctrl+9 Hide of Row
Ctrl+0 Hide of Column
M.S.N.Durga Prasad
5
Key Format Description
Ctrl+- Delete Cells/Row/Column
Ctrl++ Insert Cells/Row/Column
Ctrl+↓ Goto Last Row
Ctrl+↑ Goto First Row
Ctrl+← Goto First Column
Ctrl+→ Goto Last Column
Ctrl+Shift+↓ Seelct Last Row
Ctrl+Shift+↑ Seelct First Row
Ctrl+Shift+← Seelct First Column
Ctrl+Shift+→ Seelct Last Column
Ctrl+Page Up Previous Sheet
Ctrl+Page Down Next Sheet
Ctrl+Tab Goto Next Work Book
Ctrl+Shift+Tab Goto Previous Work Book
Ctrl+Home Goto First Cell
Ctrl+End Goto End of Typing Cell Text
Ctrl+Shift+Home Selected Text from Cursor to Home Cell
Ctrl+Shift+End Selected Text from Cursor to End Cell
Alt +F11 Goto Visual Basics for Excel Work Book
Shift +F11 Insert Sheet
F11 Insert Chart Sheet
F1 Help
F2 Rename Sheet
F4 Repeate Last Action
F5 Goto Window
F12 Save As window
Text Functions
Functions Descriptions Formula Procedure
Trim Display of Name with Proper way format =TRIM(Cell number)
Proper Display of cell text in Title Case Format =PROPER(Cell number)
Upper Display of text in UPPER CASE FORMAT =UPPER(Cell number)
Lower Display of text in lower case format =LOWER(Cell number)
Len Count & Display of Number Later with spaces =LEN(Cell number)
Concatenate
Text Join two or more text strings into one
string. =CONCATENATE(Cell Number1,Cell Number2,----)
Left Display of Left Characters =LEFT(Cell Number,No.of Characters)
Right Display Right Character =RIGHT(Cell Number,No.of Characters)
Mid
Display of Middle character from our
required place
=MID(Cell Number,Starting number,No.of
Characters)
Replace Replace of text with some Specific characters
=REPLACE(A33,B33,C33,D33) or
=REPLACE(A42,8,1," ")
Code
Numeric code for the first character in a text
string (used by the computer) =CODE(Cell Number)
M.S.N.Durga Prasad
6
Exc-1 Input Text Trim Upper Lower Proper Len
First001 Prasad MSND First001 Prasad MSND FIRST001 PRASAD MSND first001 prasad msnd First001 Prasad Msnd 20
First002 Mehraj MD First002 Mehraj MD FIRST002 MEHRAJ MD first002 mehraj md First002 Mehraj Md 18
First003 Amareswari M First003 Amareswari M FIRST003 AMARESWARI M first003 amareswari m First003 Amareswari M 21
First004 Zeenath MD First004 Zeenath MD FIRST004 ZEENATH MD first004 zeenath md First004 Zeenath Md 19
First005 Siva First005 Siva FIRST005 SIVA first005 siva First005 Siva 13
First006 Saida First006 Saida FIRST006 SAIDA first006 saida First006 Saida 14
First007 Nani First007 Nani FIRST007 NANI first007 nani First007 Nani 13
First008 Ammulu First008 Ammulu FIRST008 AMMULU first008 ammulu First008 Ammulu 15
First009 Prasanthi First009 Prasanthi FIRST009 PRASANTHI first009 prasanthi First009 Prasanthi 18
First010 Krupa First010 Krupa FIRST010 KRUPA first010 krupa First010 Krupa 14
Answers =TRIM(B2) =UPPER(C2) =LOWER(D2) =PROPER(E2) =LEN(F2)
Exc-2 Original Text
Start
Position
Characters
To Replace
New
Character
Modified
Text
ABCDEFGH 2 1 x AxCDEFGH =REPLACE(B47,C47,D47,E47)
ABCDEFGH 2 5 x AxGH
ABCDEFGH 2 1 hello AhelloCDEFGH
ABCDEFGH 2 5 hello AhelloGH
M.S.N.Durga Prasad
7
Exc-3 TEXT M S N Durga Prasad
Answers
Left Durga =LEFT(D2,5)
Right Prasad =RIGHT(D2,6)
Mid rga Pras =MID(D2,3,8)
Concatenate M S N Durga Prasad =CONCATENATE(C2," ",D2)
Exc-4 Input Text Formula
A 97 =CODE(B2)
2 50 =CODE(B3)
Exc-5 Text Formula Result
Genpact@Novartis Genpact Novartis =REPLACE(B53,8,1," ")
Genpact@Symantec Genpact Symantec
Genpact~Nissan Genpact Nissan
Genpact#Delphi Genpact Delphi
Genpact*Pfizer Genpact Pfizer
Genpact%Novartis Genpact Novartis
Genpact@Symantec Genpact Symantec
Genpact~Nissan Genpact Nissan
Eg: Genpact@Novartis Genpact Novartis
M.S.N.Durga Prasad
8
Exc-6 Network days, Network days.intl 52 weeks 365
104 sat & sun 104
261
Start date 01-01-2016 Holidays
End date 31-12-2016 15-08-2016 Independence day of India
02-10-2016 Gandhi Jayanthi
Network days 261 =NETWORKDAYS(C44,C45)
Network days 260 =NETWORKDAYS(C44,C45,E45:E46)
Network days.intl 260 =NETWORKDAYS.INTL(C44,C45,4,E45:E46)
Exc-7 adding days, months, years to today's date
Add/Subtract days Add/Subtract Months Add/Subtract Years
Date 25-05-2017 Date 25-05-2017 Date 25-05-2017
Date +5days 30-05-2017 =C34+5 Date +5 Months 25-10-2017 =EDATE(F34,5) Date +15 Years 25-05-2032 =EDATE(I34,(12*15))
Date -5days 25-05-2017 =C35-5 Date -5 Months 25-05-2017 =EDATE(F35,-5) Date -15 Years 25-05-2002 =EDATE(I34,-(12*15))
M.S.N.Durga Prasad
9
General Functions (Starting address : Ending address we called as Range, Reference)
Text
Functions Descriptions Formula Procedure
Sum It's calculate the total of value in a specified range =SUM(Start. Address : End. Address)
Average It's find the average values of a given range.
=Average(Start. Address : End.
Address)
Product It's multiply a group of values in given range.
=Product(Start. Address : End.
Address)
Count
It's Used to count the number of value cell in the given
range =Count(Start. Address : End. Address)
Counta
It's Used to count the number of fill cell (Text & Value)
in the given range.
=Counta(Start. Address : End.
Address)
Countblank
It is used to count the number of blank cell in the given
range.
=Countblank(Start. Address : End.
Address)
Minimum It's find the smallest number in the given range. =Min(Start. Address : End. Address)
Maximum It's find the biggest number in the given range. =Max(Start. Address : End. Address)
LCM =Lcm(Start. Address : End. Address)
Power It’s Calculate the Power of Value in the given Number =POWER(Number, Power)
Fact It’s Multiply the numbers from 1 to up to req. number =FACT(Cell Number)
Char =CHAR(Cell Number)
Sqrt =SQRT(Cell Number)
Round =ROUND(Cell Number,digits)
Rank It’s Calculate highest number is given to 1st rank =RANK(number,Referance)
Exc-1 The following table was used by a builders merchant to calculate the number of sales
for various products in each month.
Item Jan Feb Mar
Bricks £1,000
Wood £5,000
Glass £2,000 £1,000
Metal £1,000
Count 3 2 0
=COUNT(C37:C40) =COUNT(D37:D40) =COUNT(E37:E40)
Exc-2 Numbers FACT
5 120 =FACT(A72)
7 5040 =FACT(A73)
10 3628800 =FACT(A74)
12 479001600 =FACT(A75)
14 87178291200 =FACT(A76)
M.S.N.Durga Prasad
10
Exc-3 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().
Mon Tue Wed Thu Fri Sat Sun Average
Temp 30 No 32 29 26 28 27 24.57143 =SUM(B49:H49)/COUNTA(B49:H49)
Rain 0 Reading 0 4 6 3 1 2 =SUM(B50:H50)/COUNTA(B50:H50)
Mon Tue Wed Thu Fri Sat Sun Average
Temp 30 32 29 26 28 27 28.66667 =SUM(B53:H53)/COUNTA(B53:H53)
Rain 0 0 4 6 3 1 2.333333 =SUM(B54:H54)/COUNTA(B54:H54)
Exc-4 In the following example the =MAX() function has been used to find the highest value for each
region, month and overall.
Sales Jan Feb Mar
Region
Max
North £5,000 £6,000 £4,500 £6,000 =MAX(B21:D21)
South £5,800 £7,000 £3,000 £7,000 =MAX(B22:D22)
East £3,500 £2,000 £10,000 £10,000 =MAX(B23:D23)
West £12,000 £4,000 £6,000 £12,000 =MAX(B24:D24)
Month Max £12,000 £7,000 £10,000
=MAX(B21:B24) =MAX(C21:C24) =MAX(D21:D24)
Overall Max £12,000 =MAX(B21:D24)
M.S.N.Durga Prasad
11
Round off the avg.
Exc-5 Name Eng Mat Sci Tot Avg Product Min Max Count Counta
Count
blank Round LCM
Vignan 75 85 65 225 75.00 414375 65 85 3 4 0 75.00 16575
Pavan 38 40 40 118 39.33 60800 38 40 3 4 0 39.00 760
Kiran A 42 48 90 45.00 2016 42 48 2 4 0 45.00 #VALUE!
Chandra 68 85 68 221 73.67 393040 68 85 3 4 0 74.00 340
Ravi 84 48 132 66.00 4032 48 84 2 3 1 66.00 0
Siva 65 90 85 240 80.00 497250 65 90 3 4 0 80.00 19890
Abdul 75 78 A 153 76.50 5850 75 78 2 4 0 77.00 #VALUE!
Kanth 32 30 84 146 48.67 80640 30 84 3 4 0 49.00 3360
Pratap 75 49 72 196 65.33 264600 49 75 3 4 0 65.00 88200
Tot =SUM(C92:E92)
Avg =AVERAGE(C92:E92)
Product =PRODUCT(C92:E92)
Min =MIN(C92:E92)
Max =MAX(C92:E92)
Count =COUNT(B92:E92)
Counta =COUNTA(B92:E92)
Count blank =COUNTBLANK(B92:E92)
Round =ROUND(G107,0)
LCM =LCM(C92:E92)
Exc-6 Number 1 Number 2 Number 3 Number 4 LCM
2 3 4 5 60 =LCM(A90:D90)
2 3 2 4 12 =LCM(A91:D91)
5 10 5 3 30 =LCM(A92:D92)
M.S.N.Durga Prasad
12
Exc-7 Numbers Power Result - Power Result - Sqrt
2 0 1 1.414213562
5 1
7 3
9 5
11 10
=POWER(A81,B81) =SQRT(A81)
Advance Functions
Text Functions Descriptions Formula
SUMIF
It is used to total of
repetition of a particular
item in the given range.
=SUMIF(range,criteria,sumrange)
COUNTIF
It is used to count the
repetitions of a particular
item in the given range.
=COUNTIF(range,criteria)
IF
It is used to check the given
condition and print a result.
If the given condition is true,
then executes true part
otherwise it executes false
part.
=IF(Logical_test,[Value _if_True],[Value_if_false])
=IF(Condition,"True","False")
Comparative Operator Logical_test Condition
= Equal [Value _if_True] True Part
<> Not Equal [Value_if_false] False Part
>
Grater
than
>= Grater than or Equal to
< Less Than
<= Less Than or Equal to
Exc-1 Sales1 Sales2
50 45
Ans as Formula
True, False TRUE =B17>C17
1,0 1 =IF(B17>C17,1,0)
Pass,Fail Pass =IF(B17>C17,"Pass","Fail")
Yes,No YES =IF(B17>C17,"YES","NO")
B17+C17,0 95 =IF(B17>C17,B17+C17,0)
today(),today()+10 28-09-2018 =IF(B17>C17,TODAY(),TODAY()+10)
M.S.N.Durga Prasad
13
Exc-2 Name Course Fees
Vignan Ms-Office 1000
Pavan SAP 10000
Kiran Tally 2500
Chandra Tally 2500
Ravi Ms-Office 1000
Siva SAP 10000
Nageswara Rao SAP 10000
Abdul Ms-Office 1000
Kanth Tally 2500
Uday Ms-Office 1000
Manusha Ms-Office 1000
Madhavi SAP 10000
Vasundara Tally 2500
Murali Tally 2500
Gopal Ms-Office 1000
Gowtham Ms-Office 1000
Prasanna SAP 10000
Mounika SAP 10000
Swaroop Tally 2500
Raghu Tally 2500
Totals of Ms-Office 7000 =SUMIF($C$30:$C$49,G34,$D$30:$D$49)
SAP 60000 =SUMIF($C$30:$C$49,G35,$D$30:$D$49)
Tally 17500 =SUMIF($C$30:$C$49,G36,$D$30:$D$49)
Above 5000 60000 =SUMIF(D30:D49,">=5000")
Below 5000 24500 =SUMIF(D30:D49,"<=5000")
Count of Ms-Office 7 =COUNTIF($C$30:$C$49,G42)
SAP 6 =COUNTIF($C$30:$C$49,G43)
Tally 7 =COUNTIF($C$30:$C$49,G44)
Above 5000 6 =COUNTIF(D30:D49,">=5000")
Below 5000 14 =COUNTIF(D30:D49,"<=5000")
Exc-3 If the Sales are greater than or equal to the Target the result of Achieved is shown.
If the Sales do not reach the target the result of Not Achieved is shown.
Name Sales Target Result
Alan 1000 5000 Not Achieved
Bob 6000 5000 Achieved
Carol 2000 4000 Not Achieved
=IF(C55>=D55,"Achived","Not Achieved")
M.S.N.Durga Prasad
14
Party Name SR Name Amount
ADITYA AGENCIES K.Raju 45124
ANDHRA STATIONERY SYNDICATE. K.Raju 45541
BHAVANI BOOKS & PAPERS. D.C.S.Reddy 17113
CHAITANYA TRADERS K.Raju 10723
GROWELL ENTERPRISES Lok 110520
GUPTA AGENCIES Lok 241621
JBD EDUCATIONALS PVT LTD K.Raju 94140
KOTA DURGA AGENCIES K.Raju 7787
KOTHURI TRADERS D.C.S.Reddy 85391
SRI SAI PEN CORNER D.C.S.Reddy 178977
PRASAD PEN WORKS, D.C.S.Reddy 48524
PRASAD PEN WORKS, D.C.S.Reddy 46437
SATYA SRINIVASA TRADERS Ramana 143959
CHAITANYA TRADERS K.Raju 355928
SRI ANNAPURNA VISWESWARA AGENC Ramana 52105
SRI BHAGAVATHI AGENCIES K.Raju 51449
BHAVANI BOOKS & PAPERS. D.C.S.Reddy 83836
SRI KRISHNA ENTERPRISES D.C.S.Reddy 363214
SRI PHANI DURGA AGENCIES, Ramana 15976
SRI SAI PEN CORNER D.C.S.Reddy 35275
SRI VENKATA PADMA AGENCIES Ramana 10269
ADITYA AGENCIES K.Raju 11192
SRI ANNAPURNA VISWESWARA AGENC Ramana 29986
VEERANJANEYA ENTERPRISES Ramana 99264
JBD EDUCATIONALS PVT LTD K.Raju 83650
SATYA SRINIVASA TRADERS Ramana 19453
SRI VENKATA PADMA AGENCIES Ramana 29495
Totals of K.Raju 705534 =SUMIF($C$61:$C$87,G66,$D$61:$D$87)
D.C.S.Reddy 858767 =SUMIF($C$61:$C$87,G67,$D$61:$D$87)
Lok 352141 =SUMIF($C$61:$C$87,G68,$D$61:$D$87)
Ramana 400507 =SUMIF($C$61:$C$87,G69,$D$61:$D$87)
Exc-4 Use IF condition to Calculate the Amount of ESI on Gross Amount is Less than 10000
Name
Gross
Amount ESI 1.75%
Vignan 11300 0 =IF(C123>=10000,C123*0%,C123*1.75%)
Pavan 9200 161
Kiran 10560 0
Chandra 7800 136.5
Uday 10800 0
M.S.N.Durga Prasad
15
Exc-5
Using =Sumif () function calculate total cost as per the
given requirements
Item Date Cost
Brakes 01-Jan-98 80
Tyres 10-May-98 25
Brakes 01-Feb-98 80
Service 01-Mar-98 150
Service 05-Jan-98 300
Window 01-Jun-98 50
Tyres 01-Apr-98 200
Tyres 01-Mar-98 100
Clutch 01-May-98 250
Total cost of all Brakes bought. 160 =SUMIF(B137:B145,"Brakes",D137:D145)
Total cost of all Tyres bought. 325 =SUMIF(B137:B145,"Tyres",D137:D145)
Total of items costing £100 or above. 1000 =SUMIF(D137:D145,">=100")
Total of item typed in
following cell. service 450 =SUMIF(B137:B145,C151,D137:D145)
Exc-6
Use IF condition to find out Duplicate
Employee Code in the give table
Employee Code
123477 Duplicate =IF(COUNTIF($B$156:$B$177,B156)>1,"Duplicate","")
123457
123460
123474 Duplicate
123470 Duplicate
123464 Duplicate
123465
123466
123464 Duplicate
123469 Duplicate
123470 Duplicate
123471
123469 Duplicate
123473
123474 Duplicate
123475
123477 Duplicate
M.S.N.Durga Prasad
16
Exc-7
Use IF condition to find out divide below 50000 & Above 50000 in
the give table
Party Name Amount
Below
50000
Above
50000
ADITYA AGENCIES 45124 45124
BHAVANI BOOKS 17113 17113
CHAITANYA TRADERS 10723 10723 Below =IF(C110<=50000,C110,"")
GROWELL ENTERPRISES 110520 110520 Above =IF(C110<=50000,"",C110)
JBD EDUCATIONALS PVT LTD 94140 94140
KOTA DURGA AGENCIES 50000 50000
KOTHURI TRADERS 85391 85391
L.N. ENTERPRISES 178977 178977
Exc-8
Using =Countif () function calculate total count as per the given
requirements
Item Date Cost
Brakes 01-Jan-98 80
Tyres 10-May-98 25
Brakes 01-Feb-98 80
Service 01-Mar-98 150
Service 05-Jan-98 300
Window 01-Jun-98 50
Tyres 01-Apr-98 200
Tyres 01-Mar-98 100
Clutch 01-May-98 250
How many Brake Shoes Have been bought. 2 =COUNTIF(B91:B99,"Brakes")
How many Tyres have been bought. 3 =COUNTIF(B91:B99,"Tyres")
How many items cost £100 or above. 5 =COUNTIF(D91:D99,">=100")
Type the name of the item to count. service 2 =COUNTIF(B91:B99,E105)
M.S.N.Durga Prasad
17
Advance Functions
Text
Functions Descriptions Formula
AND
It is used to check the multiple
conditions “IF FUNCTION” =IF(AND(CONDITION1,CONDITION2,---),”TRUE”,”FALSE”)
OR
It is used to check the multiple
conditions “IF FUNCTION” =IF(OR(CONDITION1,CONDITION2,---),”TRUE”,”FALSE”)
NESTED IF
If function within the if function is
known as nested if. =IF(CONDITION,IF(CONDITION,”TRUE”,”FALSE”),”FAIL”)
VLOOKUP
Vlookup (short for 'vertical' lookup)
is a built-in Excel function that is
designed to work with data that is
organised into columns. For a
specified value, the function finds
(or 'looks up') the value in one
column of data, and returns the
corresponding value from another
column
=VLOOKUP(LookupValue,lookupTable,Columnnumber,TRUE/FALSE)
Exc-1 Name Eng Mat Sci Result- AND Result- OR
Vignan 75 85 65 Pass Pass
Pavan 38 40 40
Kiran 75 42 48
Chandra 68 85 68
Ravi 84 68 48
Siva 65 90 85
Nageswara Rao 68 67 62
Abdul 75 78 42
Kanth 32 30 84
Uday 75 49 72
Find the result if the student has got above 35 in all subjects then PASS otherwise FAIL
=IF(AND(C12>=35,D12>=35,E12>=35),"Pass","Fail")
=IF(OR(C12<35,D12<35,E12<35),"Fail","Pass")
M.S.N.Durga Prasad
18
Exc-2 The following example shows a list of examination results.
The teacher wants to find the pupils who scored above average in all three exams.
The =AND() function has been used to test that each score is above the average.
The result of TRUE is shown for pupils who have scored above average in all three
exams.
Name Maths English Physics Passed
Alan 80 75 85 TRUE
Bob 50 30 40 FALSE
Carol 60 70 50 FALSE
David 90 85 95 TRUE
Eric 20 30 Absent FALSE
Fred 40 60 80 FALSE
Harry 80 70 60 TRUE
Ian 30 10 20 FALSE
Janice 10 20 30 FALSE
Averages 47 54 60
=AND(C36>=AVERAGE($C$36:$C$45),D36>=AVERAGE($D$36:$D$45),E36>=AVERAGE($E$36:$E$45))
Exe-3
Opening Balance 6500
Date Particulars Receipt Payment Balance
27-05-2017 Sales 56000 62500
27-05-2017 Purchase 20000 42500
27-05-2017 Exps 2500 40000
27-05-2017 Exps 3600 36400
=IF(OR(C54>=0,D54>=0),E52+SUM(C54:C54)-SUM(D54:D54),"")
Exe-4 NAME Target Achive Incentive
VIGNAN 30000 36000 180 Achive
Incentive
%
PAVAN 30000 34000 120 Below 30000 0
KIRAN 30000 45000 600 30000-40000 3
CHANDRA 30000 40000 400 above 40000 4
RAVI 30000 30000 0
SIVA 30000 25000 0
NAGESWARA RAO 30000 35000 150
ABDUL 30000 48000 720
KANTH 30000 32000 60
UDAY 30000 30500 15
=IF(D65<=30000,(D65-C65)*0%,IF(AND(D65>30000,D65<40000),(D65-C65)*3%,IF(D65>=40000,(D65-
C65)*4%)))
M.S.N.Durga Prasad
19
Exe-5
Name Eng Mat Sci Total Average Result Grade-1 Grade-2 Grade-3
Vignan 75 85 65 225 75 Pass A A A
Pavan 38 40 40 118 39 Pass B C C
Kiran 75 42 48 165 55 Pass B B B
Chandra 68 85 68 221 74 Pass A A A
Ravi 84 68 48 200 67 Pass A A A
Siva 65 90 85 240 80 Pass A A A
Nageswara Rao 68 67 62 197 66 Pass A A A
Abdul 75 78 42 195 65 Pass A A A
Kanth 32 30 84 146 49 Fail --- --- ---
Uday 75 49 72 196 65 Pass A A A
Result Find the result if the student has got above 35 in all subjects then PASS otherwise FAIL
Grade Calculation
Conditions
Condition1
Result Pass =IF(H80="pass",IF(F80>=180,"A","B"),"---")
Total Above 180 , First or Second
Condition2
Result Pass =IF(H80="Pass",IF(F80<120,"C",IF(F80>=180,"A","B")),"---")
Total Above 180 , First or Second
Below 120 Third
Condition3
Result Pass
Total Above 180 - First =IF(H80="Pass",IF(F80>=180,"A",IF(AND(F80>120,F80<180),"B",IF(F80<=120,"C"))),"---")
between 120 & 180 - Second
Below 120 - Third
M.S.N.Durga Prasad
20
Exe-6 This example shows how the =VLOOKUP() is used to pick the cost of a spare part for
different makes of cars.
The =VLOOKUP() scans down row headings in column F for the spare part entered in column C.
When the make is found, the =VLOOKUP() then scans across to find the price, using the
result of the =MATCH() function to find the position of the make of car.
Maker Spare Cost Lookup Table
Vauxhall Ignition £50 =VLOOKUP(C101,$H$101:$K$106,2,0) Vauxhall Ford VW
VW GearBox £600 =VLOOKUP(C102,$H$101:$K$106,4,0) GearBox 500 450 600
Ford Engine £1,200 =VLOOKUP(C103,$H$101:$K$106,3,0) Engine 1000 1200 800
VW Steering £275 =VLOOKUP(C104,$H$101:$K$106,4,0) Steering 250 350 275
Ford Ignition £70 =VLOOKUP(C105,$H$101:$K$106,3,0) Ignition 50 70 45
Ford CYHead £290 =VLOOKUP(C106,$H$101:$K$106,3,0) CYHead 300 290 310
Vauxhall GearBox £500 =VLOOKUP(C107,$H$101:$K$106,2,0)
Ford Engine £1,200 =VLOOKUP(C108,$H$101:$K$106,3,0)
Problems
Exe-1 Number 1 Number 2 Number 3 Number 4 Number 5
253 456 123 258 336
452 524 A 635 458
325 369 253 425 A
458 369 325 215
236 756 452 325 285
569 254 357 452 248
M.S.N.Durga Prasad
21
Calculate Ans.
Total
Average
Minimum
Maximum
Count of Number cells
Count of Blank Cells
Count of fill cells
Count of "458" number cell
Count of "458" Not number cell
Sum of "325" number cell
Sum of "325" Not number cell
Exe-2
S.No Name Eng Mat Sci Total Average Result Grade Rank
1 Vignan 75 85 65
2 Pavan 38 40 40
3 Kiran 75 42 48
4 Chandra 68 85 68
5 Ravi 84 68 48
6 Siva 65 90 85
7 Nageswara Rao 68 67 62
8 Abdul 75 78 42
9 Kanth 32 30 84
10 Uday 75 49 72
M.S.N.Durga Prasad
22
Total
Average
Result Find the result if the student has got above 35 in all subjects then PASS otherwise FAIL
Grade Calculation Conditions
Condition
Result Pass
Total Above 180 - First
between 120 & 180 - Second
Below 120 - Third
Rank
Condition
Result Pass
Total Highest Number 1St Rank
Exe-3
Description Qty Rate Amount Dis.Amt Net Amt
Hard Disk 15 1500
Keyboard 20 500
Mouse 45 300
Keyboard 35 500
Hard Disk 25 1500
Keyboard 45 500
Mouse 15 300
Hard Disk 35 1500
Mouse 30 300
Conditions
Qty Dis.Rate
Mouse Below 20 0%
20-35 3%
Above 35 5%
Hard Disk Below 20 2%
20-30 4%
Above 30 6%
Keyboard Below 25 2%
25-40 5%
Above 40 7%
M.S.N.Durga Prasad
23
Exe-4
Name
Basic
Salary
HRA TA/DA
Gross
Salary
PF ESI 1.75% PT Tot Dedu. Net Salary
Vignan 6500 4000 800
Pavan 5000 3500 700
Kiran 6000 3800 760
Chandra 4800 2500 500
Ravi 5500 2500 500
Siva 5750 3750 750
Nageswara Rao 6500 4000 800
Abdul 5000 3750 750
Kanth 5500 4000 800
Uday 6000 4000 800
Conditions
Gross Total of Basic, HRA, TA/DA
PF 12% on Basic
ESI
Gross below 10000 ESI 1.75%,
Above 10000 ESI 0%
PT Gross Below 10000 Amount 0, Between 10000-15000 Amount 50 Above 15000 Amount 100
Tot Dedu. Total of PF, ESI
Net Salary Deduction of Gross salary, Tot deductions
M.S.N.Durga Prasad
24
Exe-5 Sheet 1 (Student Admit Details)
Student ID Name Course Ph.No Fees
STU-0001 Siva Tally 9177648745 3500
STU-0002 Prasad FI-CO 25000
STU-0003 Kiran MS-Office 2000
STU-0004 Chandra Java 5000
STU-0005 Ravi Oracle 10000
Sheet 2 (Receipt Details of Students)
Rec. No Stu. ID Name Course Amount
RC-1 STU-0001 1500
RC-2 STU-0004 2000
RC-3 STU-0002 5000
RC-4 STU-0003 2000
RC-5 STU-0002 10000
Sheet-2 Name Column
Copy of "Name" from Student admit details with "Stu.ID" (Receipt
Details Sheet)
Course Column
Copy of "Course" from Student admit details with "Stu.ID" (Receipt
Details Sheet)
Sheet 3 (Students Dues List)
Stu. ID Name Course Total Fees Receipt Balance
STU-0001
STU-0002
STU-0003
STU-0004
STU-0005
STU-0006
Sheet-3 Name Column Copy of "Name" from Student admit details with "Stu.ID" (Student Due List)
Course
Column Copy of "Course" from Student admit details with "Stu.ID" (Student Due List)
Total Fees
Column Copy of "Fees" from Student admit details with "Stu.ID" (Student Due List)
Receipt
Column
Copy of Totals from Student Receipt Details with "Name" or "Stu.ID" (Student
Due List)
M.S.N.Durga Prasad
25
Exe-6 Sheet 1 (Data Sheet)
Date T.Type Voucher Name Amount
01-04-2017 Cash Receipt
01-04-2017 Cash Payment
01-04-2017 Cash Deposit
01-04-2017 Cash Sale
01-04-2017 Cash Purchase
02-04-2017 Credit Sale
02-04-2017 Cash Receipt
02-04-2017 Cash Payment
Sheet 2 (Cash Sheet Day wise)
Opening Balance
Date Receipt Payment Balance
01-04-2017
02-04-2017
03-04-2017
04-04-2017
05-04-2017
Sheet 2 Conditions of Receipt & Payment
Total of Receipt, Sale in "Voucher" Column with "T.Type" of Cash only and "date" wise
Total of Payment, Purchase, Deposit in "Voucher" Column with "T.Type" of Cash only and
"date" wise
M.S.N.Durga Prasad
26
Exe-7 Using Pivot Table Calculate the Customer Outstanding Balance
Party Name Amount Receipt
PRASAD PEN WORKS, 17,742 17,742
SATYA SRINIVASA TRADERS 1,01,668 51,668
PRASAD PEN WORKS, 7,514
SRI SAI PEN CORNER 34,539 34,539
GUPTA AGENCIES 31,814 31,814
SWATHI AGENCIES 3,596
KOTHURI TRADERS 10,155 10,155
PRASAD PEN WORKS, 9,365
GUPTA AGENCIES 21,584 21,584
PRASAD PEN WORKS, 19,188 19,188
SHREE PARSHAVNATH ENTERPRISES 62,983
KOTHURI TRADERS 3,040 3,040
VEERANJANEYA ENTERPRISES 39,761 39,761
KOTHURI TRADERS 14,345 14,345
GUPTA AGENCIES 30,139 30,139
KOTHURI TRADERS 21,593
GROWELL ENTERPRISES 20,165 20,165
SHREE PARSHAVNATH ENTERPRISES 38,424 38,424
KOTHURI TRADERS 12,032
SRI DATHA SAI AGENCYS 2,471 2,471
SATYA SRINIVASA TRADERS 40,622 40,622
GROWELL ENTERPRISES 5,136 5,136
SRI SAI PEN CORNER 45,385
Ans Format
Party Name Amount Receipt Balance

More Related Content

Similar to Excel material

DDL,DML,SQL Functions and Joins
DDL,DML,SQL Functions and JoinsDDL,DML,SQL Functions and Joins
DDL,DML,SQL Functions and Joins
Ashwin Dinoriya
 
Sql intro
Sql introSql intro
Sql intro
glubox
 
Most useful queries
Most useful queriesMost useful queries
Most useful queries
Sam Depp
 

Similar to Excel material (20)

Les03 Single Row Function
Les03 Single Row FunctionLes03 Single Row Function
Les03 Single Row Function
 
Less08 Schema
Less08 SchemaLess08 Schema
Less08 Schema
 
DDL,DML,SQL Functions and Joins
DDL,DML,SQL Functions and JoinsDDL,DML,SQL Functions and Joins
DDL,DML,SQL Functions and Joins
 
Chapter 16-spreadsheet1 questions and answer
Chapter 16-spreadsheet1  questions and answerChapter 16-spreadsheet1  questions and answer
Chapter 16-spreadsheet1 questions and answer
 
Sql
SqlSql
Sql
 
Sql 2006
Sql 2006Sql 2006
Sql 2006
 
To excel or not?
To excel or not?To excel or not?
To excel or not?
 
Select To Order By
Select  To  Order BySelect  To  Order By
Select To Order By
 
MySQL Indexing Crash Course
MySQL Indexing Crash CourseMySQL Indexing Crash Course
MySQL Indexing Crash Course
 
Structured Query Language
Structured Query LanguageStructured Query Language
Structured Query Language
 
Data Manipulation Language.pptx
Data Manipulation Language.pptxData Manipulation Language.pptx
Data Manipulation Language.pptx
 
Extreme querying with_analytics
Extreme querying with_analyticsExtreme querying with_analytics
Extreme querying with_analytics
 
Sql intro
Sql introSql intro
Sql intro
 
Most useful queries
Most useful queriesMost useful queries
Most useful queries
 
Writeable CTEs: The Next Big Thing
Writeable CTEs: The Next Big ThingWriteable CTEs: The Next Big Thing
Writeable CTEs: The Next Big Thing
 
SQL Server Learning Drive
SQL Server Learning Drive SQL Server Learning Drive
SQL Server Learning Drive
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
SQL techniques for faster applications
SQL techniques for faster applicationsSQL techniques for faster applications
SQL techniques for faster applications
 
SQL (Basic to Intermediate Customized 8 Hours)
SQL (Basic to Intermediate Customized 8 Hours)SQL (Basic to Intermediate Customized 8 Hours)
SQL (Basic to Intermediate Customized 8 Hours)
 
SQL Fundamentals
SQL FundamentalsSQL Fundamentals
SQL Fundamentals
 

More from MSND Prasad (7)

Tally Material with GST
Tally Material with GSTTally Material with GST
Tally Material with GST
 
SAP CONTROLLING
SAP CONTROLLINGSAP CONTROLLING
SAP CONTROLLING
 
SAP Asset Accounting
SAP Asset Accounting SAP Asset Accounting
SAP Asset Accounting
 
SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE
SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE
SAP ACCOUNTS RECEIVABLE & ACCOUNTS PAYABLE
 
SAP FINANCE GENERAL LEDGER ACCOUNTING
SAP FINANCE GENERAL LEDGER ACCOUNTINGSAP FINANCE GENERAL LEDGER ACCOUNTING
SAP FINANCE GENERAL LEDGER ACCOUNTING
 
Tally Material
Tally MaterialTally Material
Tally Material
 
MS-OFFICE
MS-OFFICEMS-OFFICE
MS-OFFICE
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Recently uploaded (20)

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

Excel material

  • 2. MS-Excel Topics Trainer by Online Search M.S.N.Durga Prasad 9177648745 Google, Youtube MSNDURGAPRASAD msndurgaprasad@gmail.com Slideshare.net MSNDURGAPRASAD Basics & Shortcut keys Functions Copy & Paste Repeated Text Text Function Date & Time Functions General Functions Advanced Functions With of Column & Rows TRIM DATE SUM SUMIF, COUNTIF, IF & SUMIFS, SUBTOTAL Continue Numbers PROPER DATEDIF AVERAGE AND, OR & NESTEDIF Insert Cell/Row/Column/Sheet UPPER DAY PRODUCT LOOKUP (VLOOKUP, HLOOKUP) Delete Cell/Row/Column/Sheet LOWER DAYS COUNT Basic Calculation Problems LEN DAYS360 COUNTA Accounting/Business Related Functions Basic with Fill Options CONCATENATE HOUR COUNTBLANK Due List Preparation (Educational Institutions) LEFT MINUTE MINUMUM Loan EMI Calculations Other Topics RIGHT MONTH MAXIMUN Cash Sheet/Day Balance Sheet Preparation Sort MID NETWORK DAYS LCM Verification with Two Software Report in Excel Filters REPLACE NOW POWER Sub Totals CODE SECOND FACT Pivot Tables Basic & Advanced Conditional Formatting TODAY CHAR Table-1 Charts TEXT SQRT Table-2 Data Validation WEEKDAY ROUND Goal Seek YEAR RANK Problems Format Cells Practical Related Problems (Accounting/Business)
  • 3. M.S.N.Durga Prasad 1 An excel work sheet consists rows and columns. Rows-----65536 (1, 2, 3, -----) Columns----256 (A, B----Z, AA, AB-----AZ, ----IA, IB, -----IV) in 2003 Version Rows ----- 1048576 (1, 2, 3, -----) Columns --- 16384 (A, B, ----, XFD) in 2007 & 2010 Version To Copy and Paste any Item Repeatedly  Type any item  Press Enter  Press up arrow  Move mouse on cell pointer (+) and drag it to any direction To Resize Width of any Column/Row  Move mouse in between the partition of column/Row  Drag and resize the width To Generate Continuous Numbers  Type any number  Press Enter  Press up arrow  Hold ctrl key and move mouse over the cell pointer and drag the numbers up to required value Exc-1 Name Eng Mat Sci Tot Avg Vignan 75 85 65 Pavan 38 40 40 Kiran 75 42 48 Chandra 68 85 68 Ravi 84 68 48 Siva 65 90 85 Abdul 75 78 42 Kanth 32 30 84 Pratap 75 49 72 Exc-2 Description Qty Rate Amount Dis.Amt Net Amt Files 45 25 Pens 50 20 Cd's 50 25 Floppy 20 10 Books 20 20 Discount Rate 5 1/2%
  • 4. M.S.N.Durga Prasad 2 Exc-3 Description Qty Rate Amount Dis.Rate Dis.Amt Net Amt Files 45 25 3 Pens 50 20 2 Cd's 50 25 3 Floppy 20 10 1 Books 20 20 1 Exc- 4 Name Joining Date Descharge Date No.of Days Doc.Fees Room Rent Advance Net Amt Vignan 20-Apr-17 25-Apr-17 250 100 Vignan 18-Apr-17 20-Apr-17 250 50 Kiran 2-Apr-17 15-Apr-17 250 75 Chandra 5-Apr-17 20-Apr-17 250 150 Ravi 20-Apr-17 23-Apr-17 250 50 Siva 19-Apr-17 21-Apr-17 250 Nageswara Rao 15-Mar-17 5-Apr-17 250 300 Abdul 1-Apr-17 10-Apr-17 250 250 Kanth 6-Apr-17 10-Apr-17 250 450 Uday 25-Apr-17 25-Apr-17 250 Room rent Per day 150 To Increase/Decrease Decimal Places  Select all values  Click on decrease/increase tool at Home tool bar To Rename any Sheet  Right click on sheet name at bottom of the window  Select Rename  Type any name and press enter To Insert New Sheet  Right click on sheet name at bottom of window  Select Insert  Click ok button To Delete any Sheet  Right click sheet name which you want to delete  Select delete  Click ok button To Insert an Empty Cell  Place cursor on required cell to insert an empty cell  Home menu ---Insert---Insert cells  Select shift cells down / shift cells right  Click ok button
  • 5. M.S.N.Durga Prasad 3 To Insert any Row  Place cursor on required row  Home menu ---Insert---Insert rows To Insert any Column  Place cursor on required column  Home menu ---Insert---Insert columns To Delete any Cells  Place cursor on cell which you want to delete  Home menu ---Delete ---Delete Cells  Select shift cells up / shift cells left  Click ok button To Delete any Row / Column  Place cursor on required row / column  Home menu ---Delete ---Delete Cells  Select entire row (or) entire column  Click ok button Sort Arranging records in alphabetical or numerical order To sort any data  Place cursor on first cell  Data menu ---- sort  Sort by ------ select any column heading  Select order A to Z or Z to A  Click ok button Filters These are used to filter required portion from a large list of data To filter any data   Place cursor on first column heading   Data menu ---- Filter To Remove Filter any Data  Place cursor on first column heading  Data menu ---- Filter Sub Totals It is used to find the sub totals and grad totals for the required information  While applying subtotals data must be in “SORTED ORDER”  Data menu --- Subtotal  At each change in ----- Select any required column heading  Use function ---Select “SUM” function  Add subtotal to ---Check “Subtotal Column”  Click ok button To remove subtotal  Data menu --- Subtotal  Click on remove all button
  • 6. M.S.N.Durga Prasad 4 To freeze any portion on window  Place cursor after row / column to freeze  View menu ---- Freeze Panes --- Freeze Panes To remove freeze panes  View menu ---- Freeze Panes --- Unfreeze panes SHORT CUT KEYS Key Format Description Ctrl+Shift+~ General Format Ctrl+Shift+! Number Format Ctrl+Shift+@ Value Convert to Date & Time format Showing Time Ctrl+Shift+# Value Convert to Date & Time format Showing Date Ctrl+Shift+$ Currency Format Ctrl+Shift+% Percentage Format Ctrl+Shift+^ Scientific Format Ctrl+Shift+& Out line Border Ctrl+Shift+* Select the Range of Text Ctrl+Shift+: Disply System Current Time Ctrl+Shift+" / ' Fill down Above Cell Ctrl+; Disply System Current Date Ctrl+~ Sheet Convert to VB format & Excel Format Ctrl+F1 Show/Hide Task Pane Ctrl+F2 Print Preview Ctrl+F3 Name Manager Ctrl+F4 Close the Current Doucment Ctrl+F5 Restore Window Ctrl+F6 Goto Next Work Book Ctrl+F9 Minimise Window Ctrl+F10 Restore Window/Maximise Window Ctrl+F11 New Macro Sheet Create VB Format Ctrl+F12 Open Window Ctrl+Shift+F1 Show/Hide Full Screen Ctrl+Shift+F4 Goto Previous Blank Cells Ctrl+Shift+F6 Goto Previous Work Book Ctrl+Shift+F12 Print Preview Ctrl+1 Format Cell Ctrl+2 Bold Ctrl+3 Italic Ctrl+4 Under line Ctrl+5 Stick out Ctrl+9 Hide of Row Ctrl+0 Hide of Column
  • 7. M.S.N.Durga Prasad 5 Key Format Description Ctrl+- Delete Cells/Row/Column Ctrl++ Insert Cells/Row/Column Ctrl+↓ Goto Last Row Ctrl+↑ Goto First Row Ctrl+← Goto First Column Ctrl+→ Goto Last Column Ctrl+Shift+↓ Seelct Last Row Ctrl+Shift+↑ Seelct First Row Ctrl+Shift+← Seelct First Column Ctrl+Shift+→ Seelct Last Column Ctrl+Page Up Previous Sheet Ctrl+Page Down Next Sheet Ctrl+Tab Goto Next Work Book Ctrl+Shift+Tab Goto Previous Work Book Ctrl+Home Goto First Cell Ctrl+End Goto End of Typing Cell Text Ctrl+Shift+Home Selected Text from Cursor to Home Cell Ctrl+Shift+End Selected Text from Cursor to End Cell Alt +F11 Goto Visual Basics for Excel Work Book Shift +F11 Insert Sheet F11 Insert Chart Sheet F1 Help F2 Rename Sheet F4 Repeate Last Action F5 Goto Window F12 Save As window Text Functions Functions Descriptions Formula Procedure Trim Display of Name with Proper way format =TRIM(Cell number) Proper Display of cell text in Title Case Format =PROPER(Cell number) Upper Display of text in UPPER CASE FORMAT =UPPER(Cell number) Lower Display of text in lower case format =LOWER(Cell number) Len Count & Display of Number Later with spaces =LEN(Cell number) Concatenate Text Join two or more text strings into one string. =CONCATENATE(Cell Number1,Cell Number2,----) Left Display of Left Characters =LEFT(Cell Number,No.of Characters) Right Display Right Character =RIGHT(Cell Number,No.of Characters) Mid Display of Middle character from our required place =MID(Cell Number,Starting number,No.of Characters) Replace Replace of text with some Specific characters =REPLACE(A33,B33,C33,D33) or =REPLACE(A42,8,1," ") Code Numeric code for the first character in a text string (used by the computer) =CODE(Cell Number)
  • 8. M.S.N.Durga Prasad 6 Exc-1 Input Text Trim Upper Lower Proper Len First001 Prasad MSND First001 Prasad MSND FIRST001 PRASAD MSND first001 prasad msnd First001 Prasad Msnd 20 First002 Mehraj MD First002 Mehraj MD FIRST002 MEHRAJ MD first002 mehraj md First002 Mehraj Md 18 First003 Amareswari M First003 Amareswari M FIRST003 AMARESWARI M first003 amareswari m First003 Amareswari M 21 First004 Zeenath MD First004 Zeenath MD FIRST004 ZEENATH MD first004 zeenath md First004 Zeenath Md 19 First005 Siva First005 Siva FIRST005 SIVA first005 siva First005 Siva 13 First006 Saida First006 Saida FIRST006 SAIDA first006 saida First006 Saida 14 First007 Nani First007 Nani FIRST007 NANI first007 nani First007 Nani 13 First008 Ammulu First008 Ammulu FIRST008 AMMULU first008 ammulu First008 Ammulu 15 First009 Prasanthi First009 Prasanthi FIRST009 PRASANTHI first009 prasanthi First009 Prasanthi 18 First010 Krupa First010 Krupa FIRST010 KRUPA first010 krupa First010 Krupa 14 Answers =TRIM(B2) =UPPER(C2) =LOWER(D2) =PROPER(E2) =LEN(F2) Exc-2 Original Text Start Position Characters To Replace New Character Modified Text ABCDEFGH 2 1 x AxCDEFGH =REPLACE(B47,C47,D47,E47) ABCDEFGH 2 5 x AxGH ABCDEFGH 2 1 hello AhelloCDEFGH ABCDEFGH 2 5 hello AhelloGH
  • 9. M.S.N.Durga Prasad 7 Exc-3 TEXT M S N Durga Prasad Answers Left Durga =LEFT(D2,5) Right Prasad =RIGHT(D2,6) Mid rga Pras =MID(D2,3,8) Concatenate M S N Durga Prasad =CONCATENATE(C2," ",D2) Exc-4 Input Text Formula A 97 =CODE(B2) 2 50 =CODE(B3) Exc-5 Text Formula Result Genpact@Novartis Genpact Novartis =REPLACE(B53,8,1," ") Genpact@Symantec Genpact Symantec Genpact~Nissan Genpact Nissan Genpact#Delphi Genpact Delphi Genpact*Pfizer Genpact Pfizer Genpact%Novartis Genpact Novartis Genpact@Symantec Genpact Symantec Genpact~Nissan Genpact Nissan Eg: Genpact@Novartis Genpact Novartis
  • 10. M.S.N.Durga Prasad 8 Exc-6 Network days, Network days.intl 52 weeks 365 104 sat & sun 104 261 Start date 01-01-2016 Holidays End date 31-12-2016 15-08-2016 Independence day of India 02-10-2016 Gandhi Jayanthi Network days 261 =NETWORKDAYS(C44,C45) Network days 260 =NETWORKDAYS(C44,C45,E45:E46) Network days.intl 260 =NETWORKDAYS.INTL(C44,C45,4,E45:E46) Exc-7 adding days, months, years to today's date Add/Subtract days Add/Subtract Months Add/Subtract Years Date 25-05-2017 Date 25-05-2017 Date 25-05-2017 Date +5days 30-05-2017 =C34+5 Date +5 Months 25-10-2017 =EDATE(F34,5) Date +15 Years 25-05-2032 =EDATE(I34,(12*15)) Date -5days 25-05-2017 =C35-5 Date -5 Months 25-05-2017 =EDATE(F35,-5) Date -15 Years 25-05-2002 =EDATE(I34,-(12*15))
  • 11. M.S.N.Durga Prasad 9 General Functions (Starting address : Ending address we called as Range, Reference) Text Functions Descriptions Formula Procedure Sum It's calculate the total of value in a specified range =SUM(Start. Address : End. Address) Average It's find the average values of a given range. =Average(Start. Address : End. Address) Product It's multiply a group of values in given range. =Product(Start. Address : End. Address) Count It's Used to count the number of value cell in the given range =Count(Start. Address : End. Address) Counta It's Used to count the number of fill cell (Text & Value) in the given range. =Counta(Start. Address : End. Address) Countblank It is used to count the number of blank cell in the given range. =Countblank(Start. Address : End. Address) Minimum It's find the smallest number in the given range. =Min(Start. Address : End. Address) Maximum It's find the biggest number in the given range. =Max(Start. Address : End. Address) LCM =Lcm(Start. Address : End. Address) Power It’s Calculate the Power of Value in the given Number =POWER(Number, Power) Fact It’s Multiply the numbers from 1 to up to req. number =FACT(Cell Number) Char =CHAR(Cell Number) Sqrt =SQRT(Cell Number) Round =ROUND(Cell Number,digits) Rank It’s Calculate highest number is given to 1st rank =RANK(number,Referance) Exc-1 The following table was used by a builders merchant to calculate the number of sales for various products in each month. Item Jan Feb Mar Bricks £1,000 Wood £5,000 Glass £2,000 £1,000 Metal £1,000 Count 3 2 0 =COUNT(C37:C40) =COUNT(D37:D40) =COUNT(E37:E40) Exc-2 Numbers FACT 5 120 =FACT(A72) 7 5040 =FACT(A73) 10 3628800 =FACT(A74) 12 479001600 =FACT(A75) 14 87178291200 =FACT(A76)
  • 12. M.S.N.Durga Prasad 10 Exc-3 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(). Mon Tue Wed Thu Fri Sat Sun Average Temp 30 No 32 29 26 28 27 24.57143 =SUM(B49:H49)/COUNTA(B49:H49) Rain 0 Reading 0 4 6 3 1 2 =SUM(B50:H50)/COUNTA(B50:H50) Mon Tue Wed Thu Fri Sat Sun Average Temp 30 32 29 26 28 27 28.66667 =SUM(B53:H53)/COUNTA(B53:H53) Rain 0 0 4 6 3 1 2.333333 =SUM(B54:H54)/COUNTA(B54:H54) Exc-4 In the following example the =MAX() function has been used to find the highest value for each region, month and overall. Sales Jan Feb Mar Region Max North £5,000 £6,000 £4,500 £6,000 =MAX(B21:D21) South £5,800 £7,000 £3,000 £7,000 =MAX(B22:D22) East £3,500 £2,000 £10,000 £10,000 =MAX(B23:D23) West £12,000 £4,000 £6,000 £12,000 =MAX(B24:D24) Month Max £12,000 £7,000 £10,000 =MAX(B21:B24) =MAX(C21:C24) =MAX(D21:D24) Overall Max £12,000 =MAX(B21:D24)
  • 13. M.S.N.Durga Prasad 11 Round off the avg. Exc-5 Name Eng Mat Sci Tot Avg Product Min Max Count Counta Count blank Round LCM Vignan 75 85 65 225 75.00 414375 65 85 3 4 0 75.00 16575 Pavan 38 40 40 118 39.33 60800 38 40 3 4 0 39.00 760 Kiran A 42 48 90 45.00 2016 42 48 2 4 0 45.00 #VALUE! Chandra 68 85 68 221 73.67 393040 68 85 3 4 0 74.00 340 Ravi 84 48 132 66.00 4032 48 84 2 3 1 66.00 0 Siva 65 90 85 240 80.00 497250 65 90 3 4 0 80.00 19890 Abdul 75 78 A 153 76.50 5850 75 78 2 4 0 77.00 #VALUE! Kanth 32 30 84 146 48.67 80640 30 84 3 4 0 49.00 3360 Pratap 75 49 72 196 65.33 264600 49 75 3 4 0 65.00 88200 Tot =SUM(C92:E92) Avg =AVERAGE(C92:E92) Product =PRODUCT(C92:E92) Min =MIN(C92:E92) Max =MAX(C92:E92) Count =COUNT(B92:E92) Counta =COUNTA(B92:E92) Count blank =COUNTBLANK(B92:E92) Round =ROUND(G107,0) LCM =LCM(C92:E92) Exc-6 Number 1 Number 2 Number 3 Number 4 LCM 2 3 4 5 60 =LCM(A90:D90) 2 3 2 4 12 =LCM(A91:D91) 5 10 5 3 30 =LCM(A92:D92)
  • 14. M.S.N.Durga Prasad 12 Exc-7 Numbers Power Result - Power Result - Sqrt 2 0 1 1.414213562 5 1 7 3 9 5 11 10 =POWER(A81,B81) =SQRT(A81) Advance Functions Text Functions Descriptions Formula SUMIF It is used to total of repetition of a particular item in the given range. =SUMIF(range,criteria,sumrange) COUNTIF It is used to count the repetitions of a particular item in the given range. =COUNTIF(range,criteria) IF It is used to check the given condition and print a result. If the given condition is true, then executes true part otherwise it executes false part. =IF(Logical_test,[Value _if_True],[Value_if_false]) =IF(Condition,"True","False") Comparative Operator Logical_test Condition = Equal [Value _if_True] True Part <> Not Equal [Value_if_false] False Part > Grater than >= Grater than or Equal to < Less Than <= Less Than or Equal to Exc-1 Sales1 Sales2 50 45 Ans as Formula True, False TRUE =B17>C17 1,0 1 =IF(B17>C17,1,0) Pass,Fail Pass =IF(B17>C17,"Pass","Fail") Yes,No YES =IF(B17>C17,"YES","NO") B17+C17,0 95 =IF(B17>C17,B17+C17,0) today(),today()+10 28-09-2018 =IF(B17>C17,TODAY(),TODAY()+10)
  • 15. M.S.N.Durga Prasad 13 Exc-2 Name Course Fees Vignan Ms-Office 1000 Pavan SAP 10000 Kiran Tally 2500 Chandra Tally 2500 Ravi Ms-Office 1000 Siva SAP 10000 Nageswara Rao SAP 10000 Abdul Ms-Office 1000 Kanth Tally 2500 Uday Ms-Office 1000 Manusha Ms-Office 1000 Madhavi SAP 10000 Vasundara Tally 2500 Murali Tally 2500 Gopal Ms-Office 1000 Gowtham Ms-Office 1000 Prasanna SAP 10000 Mounika SAP 10000 Swaroop Tally 2500 Raghu Tally 2500 Totals of Ms-Office 7000 =SUMIF($C$30:$C$49,G34,$D$30:$D$49) SAP 60000 =SUMIF($C$30:$C$49,G35,$D$30:$D$49) Tally 17500 =SUMIF($C$30:$C$49,G36,$D$30:$D$49) Above 5000 60000 =SUMIF(D30:D49,">=5000") Below 5000 24500 =SUMIF(D30:D49,"<=5000") Count of Ms-Office 7 =COUNTIF($C$30:$C$49,G42) SAP 6 =COUNTIF($C$30:$C$49,G43) Tally 7 =COUNTIF($C$30:$C$49,G44) Above 5000 6 =COUNTIF(D30:D49,">=5000") Below 5000 14 =COUNTIF(D30:D49,"<=5000") Exc-3 If the Sales are greater than or equal to the Target the result of Achieved is shown. If the Sales do not reach the target the result of Not Achieved is shown. Name Sales Target Result Alan 1000 5000 Not Achieved Bob 6000 5000 Achieved Carol 2000 4000 Not Achieved =IF(C55>=D55,"Achived","Not Achieved")
  • 16. M.S.N.Durga Prasad 14 Party Name SR Name Amount ADITYA AGENCIES K.Raju 45124 ANDHRA STATIONERY SYNDICATE. K.Raju 45541 BHAVANI BOOKS & PAPERS. D.C.S.Reddy 17113 CHAITANYA TRADERS K.Raju 10723 GROWELL ENTERPRISES Lok 110520 GUPTA AGENCIES Lok 241621 JBD EDUCATIONALS PVT LTD K.Raju 94140 KOTA DURGA AGENCIES K.Raju 7787 KOTHURI TRADERS D.C.S.Reddy 85391 SRI SAI PEN CORNER D.C.S.Reddy 178977 PRASAD PEN WORKS, D.C.S.Reddy 48524 PRASAD PEN WORKS, D.C.S.Reddy 46437 SATYA SRINIVASA TRADERS Ramana 143959 CHAITANYA TRADERS K.Raju 355928 SRI ANNAPURNA VISWESWARA AGENC Ramana 52105 SRI BHAGAVATHI AGENCIES K.Raju 51449 BHAVANI BOOKS & PAPERS. D.C.S.Reddy 83836 SRI KRISHNA ENTERPRISES D.C.S.Reddy 363214 SRI PHANI DURGA AGENCIES, Ramana 15976 SRI SAI PEN CORNER D.C.S.Reddy 35275 SRI VENKATA PADMA AGENCIES Ramana 10269 ADITYA AGENCIES K.Raju 11192 SRI ANNAPURNA VISWESWARA AGENC Ramana 29986 VEERANJANEYA ENTERPRISES Ramana 99264 JBD EDUCATIONALS PVT LTD K.Raju 83650 SATYA SRINIVASA TRADERS Ramana 19453 SRI VENKATA PADMA AGENCIES Ramana 29495 Totals of K.Raju 705534 =SUMIF($C$61:$C$87,G66,$D$61:$D$87) D.C.S.Reddy 858767 =SUMIF($C$61:$C$87,G67,$D$61:$D$87) Lok 352141 =SUMIF($C$61:$C$87,G68,$D$61:$D$87) Ramana 400507 =SUMIF($C$61:$C$87,G69,$D$61:$D$87) Exc-4 Use IF condition to Calculate the Amount of ESI on Gross Amount is Less than 10000 Name Gross Amount ESI 1.75% Vignan 11300 0 =IF(C123>=10000,C123*0%,C123*1.75%) Pavan 9200 161 Kiran 10560 0 Chandra 7800 136.5 Uday 10800 0
  • 17. M.S.N.Durga Prasad 15 Exc-5 Using =Sumif () function calculate total cost as per the given requirements Item Date Cost Brakes 01-Jan-98 80 Tyres 10-May-98 25 Brakes 01-Feb-98 80 Service 01-Mar-98 150 Service 05-Jan-98 300 Window 01-Jun-98 50 Tyres 01-Apr-98 200 Tyres 01-Mar-98 100 Clutch 01-May-98 250 Total cost of all Brakes bought. 160 =SUMIF(B137:B145,"Brakes",D137:D145) Total cost of all Tyres bought. 325 =SUMIF(B137:B145,"Tyres",D137:D145) Total of items costing £100 or above. 1000 =SUMIF(D137:D145,">=100") Total of item typed in following cell. service 450 =SUMIF(B137:B145,C151,D137:D145) Exc-6 Use IF condition to find out Duplicate Employee Code in the give table Employee Code 123477 Duplicate =IF(COUNTIF($B$156:$B$177,B156)>1,"Duplicate","") 123457 123460 123474 Duplicate 123470 Duplicate 123464 Duplicate 123465 123466 123464 Duplicate 123469 Duplicate 123470 Duplicate 123471 123469 Duplicate 123473 123474 Duplicate 123475 123477 Duplicate
  • 18. M.S.N.Durga Prasad 16 Exc-7 Use IF condition to find out divide below 50000 & Above 50000 in the give table Party Name Amount Below 50000 Above 50000 ADITYA AGENCIES 45124 45124 BHAVANI BOOKS 17113 17113 CHAITANYA TRADERS 10723 10723 Below =IF(C110<=50000,C110,"") GROWELL ENTERPRISES 110520 110520 Above =IF(C110<=50000,"",C110) JBD EDUCATIONALS PVT LTD 94140 94140 KOTA DURGA AGENCIES 50000 50000 KOTHURI TRADERS 85391 85391 L.N. ENTERPRISES 178977 178977 Exc-8 Using =Countif () function calculate total count as per the given requirements Item Date Cost Brakes 01-Jan-98 80 Tyres 10-May-98 25 Brakes 01-Feb-98 80 Service 01-Mar-98 150 Service 05-Jan-98 300 Window 01-Jun-98 50 Tyres 01-Apr-98 200 Tyres 01-Mar-98 100 Clutch 01-May-98 250 How many Brake Shoes Have been bought. 2 =COUNTIF(B91:B99,"Brakes") How many Tyres have been bought. 3 =COUNTIF(B91:B99,"Tyres") How many items cost £100 or above. 5 =COUNTIF(D91:D99,">=100") Type the name of the item to count. service 2 =COUNTIF(B91:B99,E105)
  • 19. M.S.N.Durga Prasad 17 Advance Functions Text Functions Descriptions Formula AND It is used to check the multiple conditions “IF FUNCTION” =IF(AND(CONDITION1,CONDITION2,---),”TRUE”,”FALSE”) OR It is used to check the multiple conditions “IF FUNCTION” =IF(OR(CONDITION1,CONDITION2,---),”TRUE”,”FALSE”) NESTED IF If function within the if function is known as nested if. =IF(CONDITION,IF(CONDITION,”TRUE”,”FALSE”),”FAIL”) VLOOKUP Vlookup (short for 'vertical' lookup) is a built-in Excel function that is designed to work with data that is organised into columns. For a specified value, the function finds (or 'looks up') the value in one column of data, and returns the corresponding value from another column =VLOOKUP(LookupValue,lookupTable,Columnnumber,TRUE/FALSE) Exc-1 Name Eng Mat Sci Result- AND Result- OR Vignan 75 85 65 Pass Pass Pavan 38 40 40 Kiran 75 42 48 Chandra 68 85 68 Ravi 84 68 48 Siva 65 90 85 Nageswara Rao 68 67 62 Abdul 75 78 42 Kanth 32 30 84 Uday 75 49 72 Find the result if the student has got above 35 in all subjects then PASS otherwise FAIL =IF(AND(C12>=35,D12>=35,E12>=35),"Pass","Fail") =IF(OR(C12<35,D12<35,E12<35),"Fail","Pass")
  • 20. M.S.N.Durga Prasad 18 Exc-2 The following example shows a list of examination results. The teacher wants to find the pupils who scored above average in all three exams. The =AND() function has been used to test that each score is above the average. The result of TRUE is shown for pupils who have scored above average in all three exams. Name Maths English Physics Passed Alan 80 75 85 TRUE Bob 50 30 40 FALSE Carol 60 70 50 FALSE David 90 85 95 TRUE Eric 20 30 Absent FALSE Fred 40 60 80 FALSE Harry 80 70 60 TRUE Ian 30 10 20 FALSE Janice 10 20 30 FALSE Averages 47 54 60 =AND(C36>=AVERAGE($C$36:$C$45),D36>=AVERAGE($D$36:$D$45),E36>=AVERAGE($E$36:$E$45)) Exe-3 Opening Balance 6500 Date Particulars Receipt Payment Balance 27-05-2017 Sales 56000 62500 27-05-2017 Purchase 20000 42500 27-05-2017 Exps 2500 40000 27-05-2017 Exps 3600 36400 =IF(OR(C54>=0,D54>=0),E52+SUM(C54:C54)-SUM(D54:D54),"") Exe-4 NAME Target Achive Incentive VIGNAN 30000 36000 180 Achive Incentive % PAVAN 30000 34000 120 Below 30000 0 KIRAN 30000 45000 600 30000-40000 3 CHANDRA 30000 40000 400 above 40000 4 RAVI 30000 30000 0 SIVA 30000 25000 0 NAGESWARA RAO 30000 35000 150 ABDUL 30000 48000 720 KANTH 30000 32000 60 UDAY 30000 30500 15 =IF(D65<=30000,(D65-C65)*0%,IF(AND(D65>30000,D65<40000),(D65-C65)*3%,IF(D65>=40000,(D65- C65)*4%)))
  • 21. M.S.N.Durga Prasad 19 Exe-5 Name Eng Mat Sci Total Average Result Grade-1 Grade-2 Grade-3 Vignan 75 85 65 225 75 Pass A A A Pavan 38 40 40 118 39 Pass B C C Kiran 75 42 48 165 55 Pass B B B Chandra 68 85 68 221 74 Pass A A A Ravi 84 68 48 200 67 Pass A A A Siva 65 90 85 240 80 Pass A A A Nageswara Rao 68 67 62 197 66 Pass A A A Abdul 75 78 42 195 65 Pass A A A Kanth 32 30 84 146 49 Fail --- --- --- Uday 75 49 72 196 65 Pass A A A Result Find the result if the student has got above 35 in all subjects then PASS otherwise FAIL Grade Calculation Conditions Condition1 Result Pass =IF(H80="pass",IF(F80>=180,"A","B"),"---") Total Above 180 , First or Second Condition2 Result Pass =IF(H80="Pass",IF(F80<120,"C",IF(F80>=180,"A","B")),"---") Total Above 180 , First or Second Below 120 Third Condition3 Result Pass Total Above 180 - First =IF(H80="Pass",IF(F80>=180,"A",IF(AND(F80>120,F80<180),"B",IF(F80<=120,"C"))),"---") between 120 & 180 - Second Below 120 - Third
  • 22. M.S.N.Durga Prasad 20 Exe-6 This example shows how the =VLOOKUP() is used to pick the cost of a spare part for different makes of cars. The =VLOOKUP() scans down row headings in column F for the spare part entered in column C. When the make is found, the =VLOOKUP() then scans across to find the price, using the result of the =MATCH() function to find the position of the make of car. Maker Spare Cost Lookup Table Vauxhall Ignition £50 =VLOOKUP(C101,$H$101:$K$106,2,0) Vauxhall Ford VW VW GearBox £600 =VLOOKUP(C102,$H$101:$K$106,4,0) GearBox 500 450 600 Ford Engine £1,200 =VLOOKUP(C103,$H$101:$K$106,3,0) Engine 1000 1200 800 VW Steering £275 =VLOOKUP(C104,$H$101:$K$106,4,0) Steering 250 350 275 Ford Ignition £70 =VLOOKUP(C105,$H$101:$K$106,3,0) Ignition 50 70 45 Ford CYHead £290 =VLOOKUP(C106,$H$101:$K$106,3,0) CYHead 300 290 310 Vauxhall GearBox £500 =VLOOKUP(C107,$H$101:$K$106,2,0) Ford Engine £1,200 =VLOOKUP(C108,$H$101:$K$106,3,0) Problems Exe-1 Number 1 Number 2 Number 3 Number 4 Number 5 253 456 123 258 336 452 524 A 635 458 325 369 253 425 A 458 369 325 215 236 756 452 325 285 569 254 357 452 248
  • 23. M.S.N.Durga Prasad 21 Calculate Ans. Total Average Minimum Maximum Count of Number cells Count of Blank Cells Count of fill cells Count of "458" number cell Count of "458" Not number cell Sum of "325" number cell Sum of "325" Not number cell Exe-2 S.No Name Eng Mat Sci Total Average Result Grade Rank 1 Vignan 75 85 65 2 Pavan 38 40 40 3 Kiran 75 42 48 4 Chandra 68 85 68 5 Ravi 84 68 48 6 Siva 65 90 85 7 Nageswara Rao 68 67 62 8 Abdul 75 78 42 9 Kanth 32 30 84 10 Uday 75 49 72
  • 24. M.S.N.Durga Prasad 22 Total Average Result Find the result if the student has got above 35 in all subjects then PASS otherwise FAIL Grade Calculation Conditions Condition Result Pass Total Above 180 - First between 120 & 180 - Second Below 120 - Third Rank Condition Result Pass Total Highest Number 1St Rank Exe-3 Description Qty Rate Amount Dis.Amt Net Amt Hard Disk 15 1500 Keyboard 20 500 Mouse 45 300 Keyboard 35 500 Hard Disk 25 1500 Keyboard 45 500 Mouse 15 300 Hard Disk 35 1500 Mouse 30 300 Conditions Qty Dis.Rate Mouse Below 20 0% 20-35 3% Above 35 5% Hard Disk Below 20 2% 20-30 4% Above 30 6% Keyboard Below 25 2% 25-40 5% Above 40 7%
  • 25. M.S.N.Durga Prasad 23 Exe-4 Name Basic Salary HRA TA/DA Gross Salary PF ESI 1.75% PT Tot Dedu. Net Salary Vignan 6500 4000 800 Pavan 5000 3500 700 Kiran 6000 3800 760 Chandra 4800 2500 500 Ravi 5500 2500 500 Siva 5750 3750 750 Nageswara Rao 6500 4000 800 Abdul 5000 3750 750 Kanth 5500 4000 800 Uday 6000 4000 800 Conditions Gross Total of Basic, HRA, TA/DA PF 12% on Basic ESI Gross below 10000 ESI 1.75%, Above 10000 ESI 0% PT Gross Below 10000 Amount 0, Between 10000-15000 Amount 50 Above 15000 Amount 100 Tot Dedu. Total of PF, ESI Net Salary Deduction of Gross salary, Tot deductions
  • 26. M.S.N.Durga Prasad 24 Exe-5 Sheet 1 (Student Admit Details) Student ID Name Course Ph.No Fees STU-0001 Siva Tally 9177648745 3500 STU-0002 Prasad FI-CO 25000 STU-0003 Kiran MS-Office 2000 STU-0004 Chandra Java 5000 STU-0005 Ravi Oracle 10000 Sheet 2 (Receipt Details of Students) Rec. No Stu. ID Name Course Amount RC-1 STU-0001 1500 RC-2 STU-0004 2000 RC-3 STU-0002 5000 RC-4 STU-0003 2000 RC-5 STU-0002 10000 Sheet-2 Name Column Copy of "Name" from Student admit details with "Stu.ID" (Receipt Details Sheet) Course Column Copy of "Course" from Student admit details with "Stu.ID" (Receipt Details Sheet) Sheet 3 (Students Dues List) Stu. ID Name Course Total Fees Receipt Balance STU-0001 STU-0002 STU-0003 STU-0004 STU-0005 STU-0006 Sheet-3 Name Column Copy of "Name" from Student admit details with "Stu.ID" (Student Due List) Course Column Copy of "Course" from Student admit details with "Stu.ID" (Student Due List) Total Fees Column Copy of "Fees" from Student admit details with "Stu.ID" (Student Due List) Receipt Column Copy of Totals from Student Receipt Details with "Name" or "Stu.ID" (Student Due List)
  • 27. M.S.N.Durga Prasad 25 Exe-6 Sheet 1 (Data Sheet) Date T.Type Voucher Name Amount 01-04-2017 Cash Receipt 01-04-2017 Cash Payment 01-04-2017 Cash Deposit 01-04-2017 Cash Sale 01-04-2017 Cash Purchase 02-04-2017 Credit Sale 02-04-2017 Cash Receipt 02-04-2017 Cash Payment Sheet 2 (Cash Sheet Day wise) Opening Balance Date Receipt Payment Balance 01-04-2017 02-04-2017 03-04-2017 04-04-2017 05-04-2017 Sheet 2 Conditions of Receipt & Payment Total of Receipt, Sale in "Voucher" Column with "T.Type" of Cash only and "date" wise Total of Payment, Purchase, Deposit in "Voucher" Column with "T.Type" of Cash only and "date" wise
  • 28. M.S.N.Durga Prasad 26 Exe-7 Using Pivot Table Calculate the Customer Outstanding Balance Party Name Amount Receipt PRASAD PEN WORKS, 17,742 17,742 SATYA SRINIVASA TRADERS 1,01,668 51,668 PRASAD PEN WORKS, 7,514 SRI SAI PEN CORNER 34,539 34,539 GUPTA AGENCIES 31,814 31,814 SWATHI AGENCIES 3,596 KOTHURI TRADERS 10,155 10,155 PRASAD PEN WORKS, 9,365 GUPTA AGENCIES 21,584 21,584 PRASAD PEN WORKS, 19,188 19,188 SHREE PARSHAVNATH ENTERPRISES 62,983 KOTHURI TRADERS 3,040 3,040 VEERANJANEYA ENTERPRISES 39,761 39,761 KOTHURI TRADERS 14,345 14,345 GUPTA AGENCIES 30,139 30,139 KOTHURI TRADERS 21,593 GROWELL ENTERPRISES 20,165 20,165 SHREE PARSHAVNATH ENTERPRISES 38,424 38,424 KOTHURI TRADERS 12,032 SRI DATHA SAI AGENCYS 2,471 2,471 SATYA SRINIVASA TRADERS 40,622 40,622 GROWELL ENTERPRISES 5,136 5,136 SRI SAI PEN CORNER 45,385 Ans Format Party Name Amount Receipt Balance