Upto Datefns
Upto Datefns
Workbook
A workbook is a separate file just like every other application has.
Each workbook contains one or more worksheets.
You can also say that a workbook is a collection of multiple worksheets or can be a single
You can add or delete worksheets, hide them within the workbook without deleting them
Worksheet
A worksheet is made up of individual cells which can contain a value, a formula, or text.
Cell
A cell is a smallest but most powerful part of a spreadsheet.
You can enter your data into a cell either by typing or by copy-paste.
Every cell is identified by its cell address, cell address contains its column number and row
Window Components
Title Bar The title bar will show the name of your workbook, fo
Quick Access Toolbar A toolbar to quickly access the options which you freq
File Tab It gives the Backstage view, where you come when yo
Ribbon tab
Ribbon contains commands organized in three components
Tabs − They appear across the top of the Ribbon and contain groups of related co
Groups − They organize related commands; each group name appears below the
Commands − Commands appear within each group as mentioned above.
Dialog Box Launcher
This appears as a very small arrow in the lower-right corner of many groups on th
Zoom Control
Zoom control lets you zoom in for a closer look at your text. The zoom control co
View Buttons
Normal Layout view − This displays the page in normal view.
Page Layout view − This displays pages exactly as they will appear when printed.
Page Break view − This shows a preview of where pages will break when printed.
Status Bar
This displays the sheet information as well as the insertion point location.
From left to right, this bar can contain the total number of pages and words in th
Row Bar
Rows are numbered from 1 onwards and keeps on increasing as you keep enterin
Column Bar
Columns are numbered from A onwards and keeps on increasing as you keep ent
Address Bar
It shows the address of the active cell
Formula Bar
Formula bar is an input bar, below the ribbon. It shows the content of the active
or can be a single worksheet.
hout deleting them, and change the order of your worksheets within the workbook.
formula, or text.
roups of related commands. Home, Insert, Page Layout are the examples of ribbon tabs.
appears below the group on the Ribbon. For example, group of commands related to fonts or group of comm
ned above.
many groups on the Ribbon. Clicking this button opens a dialog box or task pane that provides more options
he zoom control consists of a slider that you can slide left or right to zoom in or out. The + buttons can be clic
ear when printed. This gives a full screen look of the document.
eak when printed.
nt location.
ges and words in the document, language etc.
ng as you keep entering data. After Z, it will start the series of AA, AB and so on. Maximum limit is 16,384 co
ntent of the active cell and you can also use it enter a formula in a cell.
o quick access toolbar.
ther file-related operations.
Shortcut keys
Ctrl+C Copy
Ctrl+v Paste
Ctrl+x cut
ctrl+f1 Hide Ribbon Tab
ABC
hello introduction
ctrl+n newworkbook
ctrl+o open
It’s important to understand that when you create a formula with several ope
Symbol Operator Precedence
: Range 1
<Space> Intersection 2
, Union 3 45
- Negation 4 50
% Percentage 5 4
^ Exponential Operator 6 5
* Multiplication 7 65
/ Division 7 70
+ Addition 8 75
- Subtraction 8 80
& Concatenation 9
= Equal to 10
In the absence o
> Greater than 10 multiplication and div
left to right. We say
< Less than 10 and division are l
>= Greater than Equal to 10 8/4*5
8/4*5 ≠
<= Less than Equal to 10
<> Not Equal to 10
78 45 12 180
85 54 18
2 3 6
2 3 4 424.2667
106 81 36
113 90 42
42 54 48
127 108 54
es 5,2,65,106,81,113,90
xcel evaluates and performs the calculation in a specific order. For instance, Excel always per
=E5+F5+G5+H5 F7 2
E7 5
E5 50
=F8^E8*(E6/H7)+(F6+G9+F11-H12)+(G8^H8/G5*F7) H6 6
=F7^E7*(8.33)+(154)+(81/G4*F6) F5 85
=32*8.33+154+(1.8*F6) G8 81
=266.66+154+3.6 F10 42
=424.26 H11 54
G7 3
=((A1/B1*C2)+(E5+F5)+(D4+N4))*F1 H7 4
G4 45
1 F6 2
=E8:F9!F9:G10*50%/53 106
=106*50%/53
=106*0.5/53
=53/53
=1
ance, Excel always performs multiplication before addition. This order is called the order of o
Example:-
Absolute References place a $ symbol in front of the column letter and row number ($H$3
Below is a data set where you need to calculate the three tiers of commission based on the percentage value in cell E2, F2, an
Commision
10% 15% 20%
Item Price Quanity Total Tier1 Tier2 Tier3
Item A 15 15 225 22.5 33.75 45
Item B 20 20 400 40 60 80
Item C 12 18 216 21.6 32.4 43.2
Item D 18 8 144 14.4 21.6 28.8
Item E 8 10 80 8 12 16
Item F 10 20 200 20 30 40
12
13
22.5 33.75 45
40 60 80
21.6 32.4 43.2
14.4 21.6 28.8
8 12 16
20 30 40
64
64 64 48 40
24 18 15
dsheet. A cell reference can be used as a variable in a formula.
To enter a date use "/" or "-" . Time -use ":"
Excel stores Date and Times as positive integers.
1 12/31/1899
42736 1/1/2017
Times in Excel are stored as decimals, between 0 and 1, which represent a proportion of the day.
0 12:00:00 AM
0.25 06:00:00 AM
0.5 12:00:00 PM
0.75 06:00:00 PM
0.8 07:12:00 PM
0.9 09:36:00 PM
1 12:00:00 AM
How Excel stores date and time
1.5 12/31/1899 12:00
42736.25 1/1/2017 6:00
Since Excel stores date and Time as numbers, we can do all arithmetic operations.
/Now()
Now() - 1/29/2025 7:19
How to find the difference between two dates ?(number of days between two dates)
Date 1 9/23/2021
Date 2 9/24/2021
Difference 1
How to find the number of days that have passed since 17,May,2018
Days passed
17-May-18 2449
Days Function returns the number of days between two supplied dates.
Syntax DAYS( end_date, start_date )
18-Jul-21 31
18-Aug-21
31
12:00:00 PM 06:51:50 PM
06:00:00 AM
0.5
noon
12/31/1899 12:00
12/31/1899 12:00
1/29/2025 7:19
24-08-202014:03 1/29/2025 7:19
//displays current date and time 21-08-202010:06
9/24/2021 10:28
21-08-202011:28
9/23/2021 18:00
9/24/2021 19:00 1.04166666666424 25
01:59:59 AM
1/29/2025
1/29/2025
7/19/2019 10:30
7/19/2019 17:30
06:59:59 AM
ctrl+;
ctrl+shift+;
ompared against the value 1/24, which is the value of 1 hour in Excel. If the current tim
f the current time is less than 1 hour from the appointment time, the alert is displayed.
e alert is displayed. Otherwise, the text “Not yet due” is displayed.
WEEKDAY FUNCTION
The WEEKDAY function in Excel returns a number from 1 (Sunday) to 7 (Saturday) representin
Eg:-
9/27/2021 2
To display the day of the week, you can use TEXT function
27 Mon Monday
Networkdays function
The NETWORKDAYS function returns the number of weekdays (weekends excluded) between
9/24/2021 9/26/2021
. If you supply a list of holidays, the NETWORKDAYS function returns the number of workdays
9/21/2021 9/26/2021
3
weekend
Optional. It is the days of the week to include as weekend days. If this parameter is omitted, it will assume that wee
=NETWORKDAYS.INTL(B20,D20) 4
=NETWORKDAYS.INTL($B$20,$D$20,11) 5
=NETWORKDAYS.INTL(B20,D20,1,I19) 4
9/29/2021
8/23/2020 9/29/2021
=WORKDAY.INTL("24-09-2021",5,11)
9/30/2021
###
Time Function
Start time End Time Difference
6:00 AM 3:00 PM 9:00 change the time format without AM
7 (Saturday) representing the day of the week of a date
holiday 9/22/2021
only Sunday
holiday included
11/9/2020 11/19/2020
### ###
Note: AM is used for times in the night and morning. PM is used for times in the afternoon and evening. Change the Time form
me format without AM or PM
Value
1
2
3
4
5
6
7
11
12
13
14
15
16
17
and evening. Change the Time format to display a time with or without AM/PM.
Explanation
(days of week to include as weekend days)
Saturday and Sunday (default)
Sunday and Monday
Monday and Tuesday
Tuesday and Wednesday
Wednesday and Thursday
Thursday and Friday
Friday and Saturday
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday