Excel Basic
Excel Basic
TEXT FUNCTIONS
Text Function Description Example
Upper Converts a text into uppercase
Lower Converts a text into lowercase
Proper Converts a text into First character as capital
Left Extracts characters from left
Right Extracts characters from right
Mid Extracts caracters from middle
Concatenate Join text
Len Find the length of string
Exact Checks for two text are same or not
Text Changes value to text format
Marksheet of ABC Juniour College
Final Exam
Subjects ( Marks out of 100)
SrNo Name Physics Chemistry Biology Total Mark Average
1 Sachin 55 55 67 177 59.00
2 Vinod 78 65 75 218 72.67
3 Sameer 39 52 59 150 50.00
4 Rahul 45 25 36 106 35.33
5 Imran 45 28 53 126 42.00
6 Vishal 89 75 61 225 75.00
7 Sushil 71 64 73 208 69.33
8 Vimal 45 45 45 135 45.00
9 Zenia 45 65 30 140 46.67
10 Arvind 75 65 55 195 65.00
Grand Total 587 539 554 1680
Number of Student 10 Number of Subject 3
REPORT
Maximum Marks 89 75 75
Minimum Marks 39 25 30
No.of Student >70 4 1 2
No.of Student Failed 1 2 2
<40
if(and(c1,c2,c3…),t,f)
Result Grade
Pass C >=40 - pass/ Fail
Pass B >=75-A, >=60<75, B >=40 <60 C, <40 Fail
Fail Fail
Fail Fail 0 Fail 0 Fail
Fail Fail 40 Pass 40 C
Pass A 60 B
Pass B 75 A
Pass C
Fail Fail
Pass B
SHORT CUT FOR EXCEL
Select cells, columns, rows, or objects in worksheets and workbooks by using shortcut keys
Select the current region around the active cell (the current region is an
area enclosed by blank rows and blank columns) CTRL+SHIFT+* (ASTERISK)
Extend the selection by one cell SHIFT+ arrow key
Extend the selection to the last nonblank cell in the same column or
row as the active cell CTRL+SHIFT+ arrow key
Extend the selection to the beginning of the row SHIFT+HOME
Extend the selection to the beginning of the worksheet CTRL+SHIFT+HOME
Extend the selection to the last cell used on the worksheet (lower-right
corner) CTRL+SHIFT+END
Select the entire column CTRL+SPACEBAR
Select the entire row SHIFT+SPACEBAR
Select the entire worksheet CTRL+A
If multiple cells are selected, select only the active cell SHIFT+BACKSPACE
Extend the selection down one screen SHIFT+PAGE DOWN
Extend the selection up one screen SHIFT+PAGE UP
With an object selected, select all objects on a sheet CTRL+SHIFT+SPACEBAR
Alternate between hiding objects, displaying objects, and displaying
placeholders for objects CTRL+6
Show or hide the Standard toolbar CTRL+7
In End mode, to Press
Turn End mode on or off END
Extend the selection to the last nonblank cell in the same column or
row as the active cell END, SHIFT+ arrow key
Extend the selection to the last cell used on the worksheet (lower-right
corner) END, SHIFT+HOME
Extend the selection to the last cell in the current row; this keystroke is
unavailable if you selected the Transition navigation keys check box on
the Transition tab (Tools menu, Options command) END, SHIFT+ENTER
With SCROLL LOCK on, to Press
Turn SCROLL LOCK on or off SCROLL LOCK
Scroll the screen up or down one row UP/DOWN ARROW
Scroll the screen left or right one column LEFT.RIGHT ARROW
Extend the selection to the cell in the upper-left corner of the window SHIFT+HOME
Extend the selection to the cell in the lower-right corner of the window SHIFT+END
Select the current region around the active cell (the current region is an
area enclosed
Select by blank
the current array,rows and
which blank
is the columns)
array that the active cell belongs CTRL+SHIFT+* (ASTERISK)
to CTRL+/
Select all cells with comments CTRL+SHIFT+O (the letter O)
Page 5 of 42
Select cells whose contents are different from the comparison cell in
each row (for each row, the comparison cell is in the same column as
the active cell) CTRL+\
Select cells whose contents are different from the comparison cell in
each column (for each column, the comparison cell is in the same row
as the active cell) CTRL+SHIFT+|
Select only cells that are directly referred to by formulas in the selection CTRL+[
Select all cells that are directly or indirectly referred to by formulas in
the selection CTRL+SHIFT+{
only
Select all cells
cells with
with formulas
formulas that
that refer
refer directly
directly orto the active
indirectly cell active
to the CTRL+]
cell CTRL+SHIFT+}
Select only visible cells in the current selection ALT+SEMICOLON
Page 6 of 42
Apply the Currency format with two decimal places (negative numbers
appear in parentheses) CTRL+SHIFT+$
Apply the Percentage format with no decimal places CTRL+SHIFT+%
Apply the Exponential number format with two decimal places CTRL+SHIFT+^
Date format
Apply the Time format with
with the
the day,
hour month, and year
and minute, and indicate A.M. or CTRL+SHIFT+#
P.M. CTRL+SHIFT+@
Apply the Number format with two decimal places, 1000 separator, and
– for negative values CTRL+SHIFT+!
Apply the outline border CTRL+SHIFT+&
Remove all borders CTRL+SHIFT+_
Apply or remove bold formatting CTRL+B
Apply or remove italic formatting CTRL+I
Apply or remove an underline CTRL+U
Apply or remove strikethrough formatting CTRL+5
Hide rows CTRL+9
Unhide rows CTRL+SHIFT+(
Hide columns CTRL+0 (ZERO)
Unhide columns CTRL+SHIFT+)
Page 7 of 42
Display the Formula Palette after you type a valid function name in a
formula CTRL+A
Insert the argument names and parentheses for a function, after you
type a valid function name in a formula CTRL+SHIFT+A
Move from top to bottom within the selection (down), or in the direction
that
Moveis from
selected
bottomon to
thetop
Edit tab (Tools
within menu, Options
the selection command)
(up), or opposite to the ENTER
direction that is selected on the Edit tab (Tools menu, Options
command) SHIFT+ENTER
Move from left to right within the selection, or move down one cell if
only one column is selected TAB
Move from right to left within the selection, or move up one cell if only
one column is selected SHIFT+TAB
Move clockwise to the next corner of the selection CTRL+PERIOD
Move to the right between nonadjacent selections CTRL+ALT+RIGHT ARROW
Move to the left between nonadjacent selections CTRL+ALT+LEFT ARROW
Page 8 of 42
A B C D E F G H I J K
1 Product East West North South Total
2 Sales % Sales % Sales % Sales % Sales %
3 Thums Up 2.66 1.34% 1.24 0.90% 1.12 0.52% 1.69 0.99% 6.71 0.93%
4 Uncle Chipps 13.11 6.63% 9.74 7.06% 13.28 6.20% 19.23 11.25% 55.36 7.68%
5 Maggi 10.4 5.26% 11.13 8.07% 12.44 5.81% 14.92 8.73% 48.89 6.78%
6 Amul Choc. 171.68 86.77% 115.89 83.98% 187.29 87.47% 135.05 79.03% 609.91 84.61%
7 Total 197.85 100% 138 100% 214.13 100% 170.89 100% 720.87 100%
8
9 Cell Col Row
10 Relative A1 B1 $A$1 $A$1 $a1 $a1 A$1 B$1
11 A2 $A$1 $a2 A$1
12 Absolute $
13
14
15
16
17
18
19
20
21 `
Highest Score:
Lowest Score
Invoice
Product Price/Qty Qty Total Amount
Floppys 20 5
CD's 35 10
Hard Disks 4500 10
SD-RAM 2000 4
Printer 6000 2
SalaryDatabase
Empcode First Name Last Name Dept Region Deptcode Hiredate Salary
3 Beena Mavadia Mktg east 20 11/24/1979 7000
9 Sujay Madhrani Finance east 40 12/21/1985 8500
12 Sheetal Desai Director east 80 12/12/1984 15000
16 Aakash Dixit CCD east 70 3/1/1983 9000
20 Suchita Panchal Mktg east 20 6/7/1999 4500
25 Rishi Malik Sales east 10 7/2/1992 7500
29 Giriraj Gupta R&D east 30 10/1/1982 9000
30 Ankur Joshi CCD east 50 10/1/1982 9000
40 Pooja Gokhale R&D east 10 9/29/1991 7600
41 Piyush Surti Personal east 60 10/19/1988 9000
43 Deepak Jain Personal east 60 8/17/1990 7900
53 Vishal Virsinghani CCD east 50 3/3/1995 9000
54 Lalita Rao CCD east 50 11/1/1986 9000
64 Timsi Desai CCD east 50 10/26/1988 10000
69 Reeta Naik Mktg east 20 3/4/1995 8000
73 Nita Pandhya Sales east 10 10/24/1988 10000
74 Suraj Saksena Admin east 70 10/25/1988 10000
81 Kalpana Shirishkar R&D east 30 11/1/1988 10000
84 Pinky Robert R&D east 30 3/3/1999 4000
91 Niki Digaria Sales east 10 11/13/1979 13000
92 Payal Singhani Mktg east 20 4/5/1989 9900
1 Raja Raymondekar Sales north 10 1/1/1977 12500
4 Seema Ranganathan R&D north 30 9/4/1989 12000
6 Neena Mukherjee R&D north 30 9/4/1989 7100
7 Pankaj Sutradhar Sales north 10 12/12/1999 8500
8 Andre Fernendes Mktg north 20 7/20/1977 9000
11 Meera Lalwani Finance north 40 12/11/1984 11000
14 Priya Shirodkar Personal north 60 12/14/1984 8500
15 Aalok Trivedi Admin north 70 3/1/1983 2500
18 Farhan Sadiq Mktg north 20 6/5/1999 4500
19 Satinder Kaur Sasan Mktg north 20 6/6/1999 4500
28 Aalam Qureshi Personal north 60 10/19/1988 8100
32 Zarina Vora CCD north 50 9/29/1991 5000
33 Arun Joshi Mktg north 20 5/5/1992 5300
37 Sheetal Dodhia Finance north 40 10/1/1982 14000
38 Richa Raje Sales north 10 9/29/1991 6000
44 Kinnari Mehta R&D north 30 7/7/1997 6500
45 Jeena Baig Sales north 10 9/29/1991 9000
46 Vicky Joshi Admin north 70 2/7/1988 9000
50 Mario Fernandes Sales north 10 10/20/1988 9000
51 Heena Godbole CCD north 50 10/21/1988 11000
57 Maya Panchal Mktg north 20 11/5/1990 10000
60 Anuradha Zha Admin north 70 11/25/1987 11000
61 Asha Trivedi Sales north 10 11/26/1987 11000
62 Waheda Sheikh R&D north 30 10/24/1988 10000
65 Parul Shah Personal north 60 10/27/1988 10000
66 Uday Naik Personal north 60 10/28/1988 11500
67 Mandakini Desai Sales north 10 12/1/1995 8000
68 Pravin Joshi Personal north 60 3/3/1995 8000
Page 18
SalaryDatabase
Page 19
SalaryDatabase
Page 20
Employee Information System Vlookup( ) function
Searches for a value in the leftmost colu
Employee Code 1 in the same row from a column you spec
Syntax:
Name Raja Raymondekar VLOOKUP(lookup_value,table_array,co
Example:
Region north Product No.
101
Department Sales 102
103
Salary 12500 104
105
Enter Product No
VLOOKUP($j$14,$I$7:$L$12,2,FALSE)
kup( ) function
ches for a value in the leftmost column of a table, and then returns a value
e same row from a column you specify in the table.
OKUP(lookup_value,table_array,col_index_num,range_lookup)
102
OKUP($j$14,$I$7:$L$12,2,FALSE) =HDD
Product Price
A1 10
A2 14
A3 20
Customer Type
Octopus Wholesaler
Encarta Retailer
DBT Wholesaler
Silver Line Retailer
Darmilla Wholesaler
Brooks Retailer
Gravity Wholesaler
ATPL Retailer
Nitco Wholesaler
BTK Wholesaler
Novalty Retailer
Oscar Direct
Invoicedate Invoice No. Customer Type Product Qty Retail Price Sales Price
2-Jun-04 1001 Octopus Wholesaler A1 150 10 1500.00
2-Jun-04 1001 Octopus Wholesaler A2 200 14 2800.00
2-Jun-04 1002 Encarta Retailer A1 100 10 1000.00
3-Jun-04 1003 DBT Wholesaler A3 200 20 4000.00
3-Jun-04 1003 DBT Wholesaler A3 140 20 2800.00
3-Jun-04 1004 Silver Line Retailer A2 210 14 2940.00
3-Jun-04 1005 Darmilla Wholesaler A2 230 14 3220.00
4-Jun-04 1005 Darmilla Wholesaler A2 45 14 630.00
4-Jun-04 1006 Brooks Retailer A3 75 20 1500.00
16-Jun-04 1006 Brooks Retailer A3 180 20 3600.00
16-Jun-04 1007 Gravity Wholesaler A1 250 10 2500.00
21-Jun-04 1007 Gravity Wholesaler A2 100 14 1400.00
21-Jun-04 1008 ATPL Retailer A2 235 14 3290.00
24-Jun-04 1008 ATPL Retailer A3 125 20 2500.00
24-Jun-04 1009 Nitco Wholesaler A3 90 20 1800.00
27-Jun-04 1009 Nitco Wholesaler A2 60 14 840.00
27-Jun-04 1010 Silver Line Retailer A1 340 10 3400.00
4-Jul-04 1011 BTK Wholesaler A2 200 14 2800.00
4-Jul-04 1011 BTK Wholesaler A3 300 20 6000.00
6-Jul-04 1011 BTK Wholesaler A3 280 20 5600.00
6-Jul-04 1012 Novalty Retailer A2 140 14 1960.00
8-Jul-04 1012 Novalty Retailer A3 160 20 3200.00
8-Jul-04 1013 Encarta Retailer A3 110 20 2200.00
10-Jul-04 1014 Oscar Direct A2 80 14 1120.00
14-Jul-04 1014 Oscar Direct A1 35 10 350.00
Invoicedate Invoice No. Customer Type Product Qty Retail Price Sales Price
2-Jun-04 1002 Encarta Retailer A1 100 10 1000.00
3-Jun-04 1004 Silver Line Retailer A2 210 14 2940.00
4-Jun-04 1006 Brooks Retailer A3 75 20 1500.00
16-Jun-04 1006 Brooks Retailer A3 180 20 3600.00
21-Jun-04 1008 ATPL Retailer A2 235 14 3290.00
24-Jun-04 1008 ATPL Retailer A3 125 20 2500.00
27-Jun-04 1010 Silver Line Retailer A1 340 10 3400.00
6-Jul-04 1012 Novalty Retailer A2 140 14 1960.00
8-Jul-04 1012 Novalty Retailer A3 160 20 3200.00
8-Jul-04 1013 Encarta Retailer A3 110 20 2200.00
10-Jul-04 1014 Oscar Direct A2 80 14 1120.00
14-Jul-04 1014 Oscar Direct A1 35 10 350.00
2-Jun-04 1001 Octopus Wholesaler A1 150 10 1500.00
2-Jun-04 1001 Octopus Wholesaler A2 200 14 2800.00
3-Jun-04 1003 DBT Wholesaler A3 200 20 4000.00
3-Jun-04 1003 DBT Wholesaler A3 140 20 2800.00
3-Jun-04 1005 Darmilla Wholesaler A2 230 14 3220.00
4-Jun-04 1005 Darmilla Wholesaler A2 45 14 630.00
16-Jun-04 1007 Gravity Wholesaler A1 250 10 2500.00
21-Jun-04 1007 Gravity Wholesaler A2 100 14 1400.00
24-Jun-04 1009 Nitco Wholesaler A3 90 20 1800.00
27-Jun-04 1009 Nitco Wholesaler A2 60 14 840.00
4-Jul-04 1011 BTK Wholesaler A2 200 14 2800.00
4-Jul-04 1011 BTK Wholesaler A3 300 20 6000.00
6-Jul-04 1011 BTK Wholesaler A3 280 20 5600.00
Steps :
1. Data Sort : Type … order … custom list ..
Invoicedate Invoice No. Customer Type Product Qty Retail Price Sales Price
3-Jun-04 1003 DBT Wholesaler A3 200 20 4000.00
3-Jun-04 1005 Darmilla Wholesaler A2 230 14 3220.00
16-Jun-04 1006 Brooks Retailer A3 180 20 3600.00
21-Jun-04 1008 ATPL Retailer A2 235 14 3290.00
27-Jun-04 1010 Silver Line Retailer A1 340 10 3400.00
Type Qty Qty
Retailer >=100 <=150 Steps
Retailer >=250 <=500 1. Create Critera range as given..
Wholesaler >=100 <=150 2. Place cursor inside the data.. Data Advance Filter
Wholesaler >=250 <=500 List Range : entire data with Heading
Criteria Range : Select the condtion what is created with heading..
Same Row- and Codntion/ Different Row Or condtion OK
Invoicedate Invoice No. Customer Type Product Qty Retail Price Sales Price
2-Jun-04 1001 Octopus Wholesaler A1 150 10 1500.00
2-Jun-04 1002 Encarta Retailer A1 100 10 1000.00
3-Jun-04 1003 DBT Wholesaler A3 140 20 2800.00
16-Jun-04 1007 Gravity Wholesaler A1 250 10 2500.00
21-Jun-04 1007 Gravity Wholesaler A2 100 14 1400.00
24-Jun-04 1008 ATPL Retailer A3 125 20 2500.00
27-Jun-04 1010 Silver Line Retailer A1 340 10 3400.00
4-Jul-04 1011 BTK Wholesaler A3 300 20 6000.00
6-Jul-04 1011 BTK Wholesaler A3 280 20 5600.00
6-Jul-04 1012 Novalty Retailer A2 140 14 1960.00
8-Jul-04 1013 Encarta Retailer A3 110 20 2200.00
created with heading..
Invoicedate Invoice No. Customer Type Product Qty Retail Price
10-Jul-04 1014 Oscar Direct A2 80 14
14-Jul-04 1014 Oscar Direct A1 35 10
Oscar Total 115
Direct Total 115
21-Jun-04 1008 ATPL Retailer A2 235 14
24-Jun-04 1008 ATPL Retailer A3 125 20
ATPL Total 360
4-Jun-04 1006 Brooks Retailer A3 75 20
16-Jun-04 1006 Brooks Retailer A3 180 20
Brooks Total 255
2-Jun-04 1002 Encarta Retailer A1 100 10
8-Jul-04 1013 Encarta Retailer A3 110 20
Encarta Total 210
6-Jul-04 1012 Novalty Retailer A2 140 14
8-Jul-04 1012 Novalty Retailer A3 160 20
Novalty Total 300
3-Jun-04 1004 Silver Line Retailer A2 210 14
27-Jun-04 1010 Silver Line Retailer A1 340 10
Silver Line Total 550
Retailer Total 1675
4-Jul-04 1011 BTK Wholesaler A2 200 14
4-Jul-04 1011 BTK Wholesaler A3 300 20
6-Jul-04 1011 BTK Wholesaler A3 280 20
BTK Total 780
3-Jun-04 1005 Darmilla Wholesaler A2 230 14
4-Jun-04 1005 Darmilla Wholesaler A2 45 14
Darmilla Total 275
3-Jun-04 1003 DBT Wholesaler A3 200 20
3-Jun-04 1003 DBT Wholesaler A3 140 20
DBT Total 340
16-Jun-04 1007 Gravity Wholesaler A1 250 10
21-Jun-04 1007 Gravity Wholesaler A2 100 14
Gravity Total 350
24-Jun-04 1009 Nitco Wholesaler A3 90 20
27-Jun-04 1009 Nitco Wholesaler A2 60 14
Nitco Total 150
2-Jun-04 1001 Octopus Wholesaler A1 150 10
2-Jun-04 1001 Octopus Wholesaler A2 200 14
Octopus Total 350
Wholesaler Total 2245
Grand Total 4035
Sales Price
1120.00
350.00
1470.00
1470.00
3290.00 Steps :
2500.00 1. Sort : Type and Customer …
5790.00
1500.00 2. Data : Subtotal : Type .. Sum.. Check for Qty and Sales Amount
3600.00 3. Data : Subtotal : Customer .. Sum.. Check for Qty and Sales Amount.. Uncheck Replace current su
5100.00
1000.00
2200.00
3200.00
1960.00
3200.00
5160.00
2940.00
3400.00
6340.00
25590.00
2800.00
6000.00
5600.00
14400.00
3220.00
630.00
3850.00
4000.00
2800.00
6800.00
2500.00
1400.00
3900.00
1800.00
840.00
2640.00
1500.00
2800.00
4300.00
35890.00
62950.00
nt.. Uncheck Replace current subtotal
Data
Invoicedate Customer Total Qty Total Amount % of Month-parenttotal Total Amount
Jun 2730 39720.00 41.93% 39720.00
ATPL 360 5790.00 6.11% 5790.00
Brooks 255 5100.00 5.38% 5100.00
Darmilla 275 3850.00 4.06% 3850.00
DBT 340 6800.00 7.18% 6800.00
Encarta 100 1000.00 1.06% 1000.00
Gravity 350 3900.00 4.12% 3900.00
Nitco 150 2640.00 2.79% 2640.00
Octopus 350 4300.00 4.54% 4300.00
Silver Line 550 6340.00 6.69% 6340.00
Jul 1305 23230.00 24.52% 23230.00
BTK 780 14400.00 15.20% 14400.00
Encarta 110 2200.00 2.32% 2200.00
Novalty 300 5160.00 5.45% 5160.00
Oscar 115 1470.00 1.55% 1470.00
Aug 1920 31770.00 33.54% 31770.00
ATPL 125 2500.00 2.64% 2500.00
BTK 780 14400.00 15.20% 14400.00
Encarta 110 2200.00 2.32% 2200.00
Nitco 150 2640.00 2.79% 2640.00
Novalty 300 5160.00 5.45% 5160.00
Oscar 115 1470.00 1.55% 1470.00
Silver Line 340 3400.00 3.59% 3400.00
Total Result 5955 94720.00 100.00% 94720.00
This shape represents a
slicer. Slicers are
supported in Excel 2010
or later.