Tutorial 1
Tutorial 1
Concatenate Upper,Proper,Lower,Trim
Tutorial 1
nk ShortCuts in Excel
Trim Working
Intoduction to MS Excel
About Excel
What is workbook?
A workbook is a spreadsheet file. By default, each workbook in Excel contains three pages or worksheets.
An Excel worksheet is a single spreadsheet that contains cells organized by rows and columns. A worksheet begins with row nu
A. Each cell can contain a number, text or formula. A cell can also reference another cell in the same worksheet, the same wor
workbook.
What is Row?
What is Column?
What is Cell?
The intersection point between a row and a column is called a cell.
g/
rR
W
p
Elicato
sxA
C
e
kh
b
n
Home
excel 2007,2010,2013,2016.
gh to Column XFD.
Home
Around Excel Sheet
Insertion Point
Formula Bar
Active Cell
Rows
Sheet Tabs
Sheet Tabs
Home
Title Bar
Ribbon
Columns
mula Bar
ows Cell
ibbon
Ribbon
Column Header
Bar
Status Bar
Zoom In /Out
Bar
Status Bar
Zoom In /Out
Age Calculation : Datedif Function
Datedif Function
The DATEDIF function computes the difference between two dates in a variety of different intervals, such as the number of ye
Parameters:-
1 Date of Joining, Date of Birth or Start Date
2 End Date or Today's Date
3 Interval
YM Months Excluding Years Complete calendar months between the dates as if they were of the sam
YD Days Excluding Years Complete calendar days between the dates as if they were of the same ye
Complete calendar days between the dates as if they were of the same m
MD Days Excluding Years And Months same year.
Examples:-
Start Date End Date
3/16/2001 9/5/2015
Years =DATEDIF(B26,C26,"Y") 14
Num/Text
Data Type in Excel Identify Text and Numbers
123 123 FALSE
123 3242234 FALSE
1 2sdfs TRUE
>234 FALSE
12 FALSE
TRUE
2,323.00 TRUE
232 FALSE
rent intervals, such as the number of years, months, or days between the dates
Home
dates.
Output
173
MD M D YD
Days Months Days Year Between Days
18
4279
2/17/2025
one of the text functions, to join two or more text strings into one string.
Examples:
2/23/2000 2/23/2020
Working:- ;
Manisha Agarwal
Manisha Agarwal
Manisha Agarwal
TODAY()
2/17/2025
today()
2/17/2025
Count
To count the number of cells that contain numbers, use the COUNT function
Examples:
12 12
9 43
1 1
2 2
3 3
=COUNT(A9,A10,A11,A12,A13) =COUNT(C11:C15)
Ouput Ouput
5 5
Working Count:-
8 6 6
Sum
The Microsoft Excel SUM function adds all numbers in a range of cells and returns the result.
Syntax:
Parameters:
Example:-
66 66 25
91 91 29
20 20 78
25 25 48
14 14 73
47 47 51
39 39 54
Note:- Shortcut for Sum is ALT + = , but its limitation is that if there is any blank cell then the data will be selected upto bla
Working:-
66 66 66
91 91 91
20 20 20
25 25 1
14 14
47 47 47
39 39 39
302 302 264
COUNT function
1
2
3
@
AA
=COUNT(F11:F15)
Ouput
Data4
3
3
3
3
2 1
3
3
f there is any blank cell then the data will be selected upto blank cell only, then we have to manually select the range.
12
198 23
23
2
s
232
323
Home
Counta and Countblank
The COUNTA function counts the number of cells that are not empty in a range i.e. it counts everything except blank cells
Syntax: COUNTBLANK(RANGE)
Examples:
A AQW 1
V 123 #DIV/0!
1 2 3
@
3 3 AA
5 5 2
Working:-
Home
Example 4
24
23
=COUNTBLANK(I16:I20)
Ouput
2
Countif
Count if function count the number of cells that meet a particular criteria; i.e. it counts as per the criteria and only single c
Examples:
Count the item named as "Brakes" Count the item sale after April 2002 Count the item cost 100 and above
Conditional Operators
> Greater than
< Less than
>= Greater than equal to
<= Less than equal to
= Equal to
<> Not Equal to
Working:-
Tyres 4
Window 1
100 or Above 6
>Apr-2002 3
Tyres
Vendor Code Duplicates
2E536 1
2E537 1
2E551 1
2E515 1
2E563 2
2E563 2
2E533 1
2E571 2
2E546 2
2E502 1
2E509 1
2E545 3
2E545 3
2E558 1
2E579 2
2E504 1
2E500 1
2E542 1
2E576 1
2E512 1
2E560 1
2E592 1
2E532 1
2E582 1
2E598 2
2E527 1
2E541 1
2E579 2
2E510 1
2E505 1
2E526 1
2E564 1
2E598 2
2E577 2
2E550 1
2E571 2
2E545 3
2E565 1
2E577 2
2E583 1
2E528 2
2E528 2
2E507 1
2E546 2
2E549 1
2E508 1
Sumif
The Microsoft Excel SUMIF function adds all numbers in a range of cells, based on a given criteria.
Syntax:
Parameters:
range:- The range of cells that you want to apply the criteria against.
criteria:- The criteria used to determine which cells to add.
sum_range:- Optional. It is the cells to sum. If this parameter is omitted, it uses range as the sum_range.
Example:-
Working:-
Countifs
The Microsoft Excel COUNTIFS function counts the number of cells in a range, that meets a single or multiple criteria.
Syntax:
Parameters:
criteria_range1:- The range of cells that you want to apply criteria1 against.
criteria1:- It is used to determine which cells to add. criteria1 is applied against criteria_range1.
criteria_range2, ... criteria_range_n:- Optional. It is the range of cells that you want to apply criteria2, ... criteria_n against
criteria2, ... criteria_n:- Optional. It is used to determine which cells to add. criteria2 is applied against criteria_range2, crit
Example:-
Country
Salesperson Order Date OrderID Order AmoUSA
UK Suyama 11-Jul-07 10249 1,863 2
USA Fuller 11-Jul-07 10252 3,598
USA Lee 26-Feb-06 10250 1,553 Country
USA Leverling 21-Jun-05 10251 654 USA
USA Fuller 1-Dec-07 10255 2,491 Wher Year is 2007
USA Leverling 11-Feb-07 10253 1,445
UK Buchanan 8-Dec-07 10248 440
Sumifs
The Microsoft Excel SUMIFS function adds all numbers in a range of cells, based on a single or multiple criteria.
Syntax:
Parameters:
Example:-
Country
Country Salesperson Order Date OrderID Order AmoUSA
UK Suyama 11-Jul-07 10249 1,863 0
USA Fuller 11-Jul-07 10252 3,598
USA Lee 26-Feb-06 10250 1,553 Country
USA Leverling 21-Jun-05 10251 654 USA
USA Fuller 1-Dec-08 10255 2,491 Wher Year is 2007
USA Fuller 11-Feb-07 10253 1,445
UK Buchanan 8-Dec-07 10248 440
:C19,">100")
USA =SUMIF($A$18:$A$24,"USA",$E$18:$E$24) 0
UK =SUMIF($A$18:$A$24,"UK",$E$18:$E$24) 0
>1-Jul-07 =SUMIF($C$18:$C$24,">1-Jul-07",$E$18:$E$24) 0
>2000 =SUMIF($E$18:$E$24,">2000",$E$18:$E$24) 0
Sumif
USA 5,697
dodsworth 2,491
>31-May-07 9504.4
5697
le or multiple criteria.
Salesperson =COUNTIFS($A$21:$A$27,"USA",$B$21:$B$27,"Fuller", 0
$C$21:$C$27,">31-Dec-06",$C$21:$C$27,"<1-Jan-08")
Fuller
er Year is 2007
2
multiple criteria.
teria2, ... criteria_n against. There can be up to 127 ranges.
against criteria_range2, criteria3 is applied against criteria_range3, and so on. There can be up to 127 criteria.
USA 19 166355.2
>1500
USA 9 79155.52
2008
>5000 19
<10000
Home
:A132,A126,B126,B124:D126)
UPPER, Proper, lower & Trim
The LOWER function will convert all letters in a text string to lowercase
Syntax: Lower(Text)
The UPPER function will convert all letters in a text string to uppercase.
Syntax: Upper(Text)
The PROPER function will convert a text string to proper case. That is, the first letter in each word in uppercase, and all other l
Syntax: Proper(Text)
The TRIM function returns a string with extra spaces, starting spaces and ending spaces removed. The CLEAN function remove
Syntax: Trim(Text)
Examples:
Working:-
Hi how r U doing?
Lower hi how r u doing?
Upper HI HOW R U DOING?
Proper Hi How R U Doing? 2121
121
Len Trim
Rohit 8 Rohit 5
Rohit 8 Rohit 5
Rohit Gupta 14 Rohit Gupta 11
R G A 7RGA 5
Home
Hi how r U doing?
=Trim(G19)
Output
Hi how r U doing?
Abhay
Isnumber, Istext, Isblank & Iserror
Syntax: ISBLANK(value)
ISERROR: Return True if Value refers to any error value (#N/A, #VALUE!, #REF!, #DIV/0!, #NUM!, #NAME?, or #NULL!).
Syntax: ISERROR(value)
Syntax: ISNUMBER(value)
Syntax: ISTEXT(value)
Examples:
4 330.92 #N/A
Working:-
ME?, or #NULL!).
SILVER
=ISBLANK(G19) =ISTEXT(I22)
Output
TRUE TRUE
ShortCuts in Excel
1 Ctrl+PgDn
2 Ctrl+PgUp
3 Ctrl+Shift+&
4 Ctrl+Shift_
5 Ctrl+Shift+~
6 Ctrl+Shift+$
7 Ctrl+Shift+%
8 Ctrl+Shift+^
9 Ctrl+Shift+#
10 Ctrl+Shift+@
11 Ctrl+Shift+!
12 Ctrl+1
13 Ctrl+2
14 Ctrl+3
15 Ctrl+4
16 Ctrl+5
17 Ctrl+6
18 Ctrl+8
19 Ctrl+9
20 Ctrl+0
21 Ctrl+A
22 Ctrl+B
23 Ctrl+C
24 Ctrl+D
25 Ctrl+E
26 Ctrl+F
27 Ctrl+G
28 Ctrl+H
29 Ctrl+I
30 Ctrl+K
31 Ctrl+L
32 Ctrl+N
33 Ctrl+O
34 Ctrl+P
35 Ctrl+Q
36 Ctrl+R
37 Ctrl+S
38 Ctrl+T
39 Ctrl+U
40 Ctrl+V
41 Ctrl+W
42 Ctrl+X
43 Ctrl+Y
44 Ctrl+Z
Font Color
Rohit
Border
Cell Merge Wrap Hi how r u?
ddddddd
ddddddd
ddd
Option Window and Format Painter
Step 1:
Step 2:
Format Painter
Format Painter is used to quickly copy formatting from one thing in a document to another. Select
Painter, and then click the thing you want to change to look the same. If you want to copy the form
instead of single-clicking Format Painter. To exit the Format Painter, press Esc.
Format Painter
ROHIT
rerohi
weerr
r
Home
ument to another. Select the thing you like the look of, click Format
you want to copy the formatting to more than one thing, double-click
s Esc.
rere
re
Home
Date Time Currency % Number Date ~
40498 40498 40498 40498 40498 40498
39898 39898 39898 39898 39898 39898 Home
39598 39598 39598 39598 39598 39598
39298 39298 39298 39298 39298
38998 38998 38998 38998 38998 38998
38398 38398 38398 38398 38398 38398
38098 38098 38098 38098 38098 38098
37798 37798 37798 37798 37798 37798
37498 37498 37498 37498 37498 37498
37198 37198 37198 37198 37198 37198
36898 36898 36898 36898 36898 36898
36598 36598 36598 36598 36598 36598
36298 36298 36298 36298 36298 36298
35998 35998 35998 35998 35998 35998
35698 35698 35698 35698 35698 35698
35398 35398 35398 35398 35398 35398
35098 35098 35098 35098 35098 35098
34798 34798 34798 34798 34798 34798
34498 34498 34498 34498 34498 34498
34198 34198 34198 34198 34198 34198
33898 33898 33898 33898 33898 33898
33598 33598 33598 33598 33598 33598
33298 33298 33298 33298 33298 33298
32998 32998 32998 32998 32998 32998
32698 32698 32698 32698 32698 32698
32398 32398 32398 32398 32398 32398
32098 32098 32098 32098 32098 32098
31798 31798 31798 31798 31798 31798
31498 31498 31498 31498 31498 31498
31198 31198 31198 31198 31198 31198
30898 30898 30898 30898 30898 30898
30598 30598 30598 30598 30598 30598
30298 30298 30298 30298 30298 30298
29998 29998 29998 29998 29998 29998
29698 29698 29698 29698 29698 29698
29398 29398 29398 29398 29398 29398
29098 29098 29098 29098 29098 29098
28798 28798 28798 28798 28798 28798
Home