You are on page 1of 25

Course Code & Name: DAC 542: Digital Applications in Project Management (Advance Excel)

Notes & Exercises (10 sessions)

1. Session 1: Excel Formulas and Functions, cell references.


2. Session 2: Logical, text & condition functions
3. Session 4 & 5: Conditional formatting
4. Session 6: Advanced VLOOKUP: multiple, HLOOKUP
5. Session 7 & 8: Data Analysis using pivot table and pivot charts, slicer
6. Session 9: What if Analysis using Solver
7. Session 10: Macros and Power Query

Session 1: Excel Formulas and Functions, cell references.

Excel Formulas and Functions (logical functions & text functions, financial functions,
VLookup and reference functions)
A formula is an expression that operates on values in a cell or range of cells. Another term
that is very familiar to Excel formulas, and that is "function". They are different in the way
they are used. A formula begins with an equal sign. Whereas functions are used to perform
complex calculations and have names that reflect their intended use.
Example of a multiplication problem.
10 X 15 = 150
Assume 10 and 15 are entered in cell A2 and B2 respectively of excel sheet. We can solve
this problem using formula and function as follows. We display the formula result in cell C2
and display function result in D2. Where A2, B2, C2, D2 are cell called as cell address.
Type the formula in cell C2
= A2 * B2
Type following function in cell D2
= PRODUCT (A2:B2)
The result of both the expressions; formula and function is 150.
Know more Formulas and Functions of Excel: https://exceljet.net/formulas
Relative, Absolute and Mixed (raw locked and column locked) cell reference
1. Relative references change when a formula is copied to another cell. Example: If the
formula =A1+B1 is copied from row 1 to row 2, the formula will become =A2+B2.
2. Absolute references, remain constant no matter where they are copied. Row and
Column is prefixed by $ ($A$1). Example: If the formula = $A$1+$B$1 is copied
from row 1 to row 2, the formula will remain =$A$1+$B$1.
3. In Mixed cell reference either column is locked or row is locked. Example: If $A1 is
copied in B2, it will become A2. If A$1 is copied in B2, it will become B1

More tools of excel:


To merge the cell: Select the cells to be merged, Home→Click on Merge & Center (of
Alignment tool)
To create serial number: enter first number, say 1 in a cell. Select the cell, press control key
on key board, point at the dot at the right bottom corner of cell the and drag down.
To copy the formula or function in multiple cell: Create formula or function in one cell.
Double click on the dot at right bottom corner of the cell

1 Developed by Dr. Vijaya Desai


To apply border to cell/table: Select the cells with dada. Click on Home→Border →All
border (of Font tool)
To create consecutive month: enter first date. Select the date and drag it on other cells
Formula to calculate percentage: part/total
Format cell to percentage: select cell (or cell range), right click→Format Cell
→Number→percentage
Plot S-curve: Select the data in column with heading. Click Insert menu → Insert line or
Chart → Line with marker
Exercise1: Structural works of thermal power plant. Use of multiplication formula,
PRODUCT() and SUM() function
Create following table. Calculate total amount using formula and function. Use PRODUCT()
and SUM() function.
Details of Major Civil Works
Sr. Total Total Amount
No. Activity Description UOM Quantity Rate Using Using
Formula Function
1 Concrete work CUM 171996.86 200
2 Fixing of reinforcement MT 3350 2200
Fabrication & Erection
3 of MS Bolt MT 290 11000
Structural steel
4 fabrication MT 23448 5700
5 Structural steel erection MT 25198 3800
Stainless steel
6 fabrication & erection MT 82.83 80000
7 Clearing & grubbing SQM 500000 2
Fabrication & Erection
8 of embedded parts MT 368 4000
9 Fibre board joint filler SQM 2110 25
10 Deck Sheeting SQM 13100 77
11 Roof Sheeting SQM 21700 147.11
Flooring with vitrified
12 ceramic tile SQM 15900 150
Lump
13 False ceiling & Fencing Sum 1 2000000
Use Sum () Use Sum ()
Total amount for structural work function function

Exercise 2: UNIT III Structure – Work Progress. Use of relative and absolute cell
reference, Calculate Achieve as on (in %), Achieve Cumulative (in %), Achieve Cumulative
(in MT) (running total, use SUM function e.g. =SUM($B$4:B4)), Percentage = Total Scope
of work in MT divided by Achieve as on (in MT). Use absolute cell reference for Total Scope
of work in MT (prefix $ to row and column both). Format Achieve as on (in %) and Achieve
Cumulative (in %) to percentage. Plot a S-curve of Achieve as on (in %) and Achieve
Cumulative (in %). Use VLookup to find Achieve as on, Achieve Cumulative, Achieve as on (in
%) and Achieve Cumulative (in %)
UNIT III Structure - Progress
Total Scope of work in MT 3205.028
Achieve as on (in Achieve Cumulative Achieve as on
Month MT) (in MT) (in %) Achieve Cumulative (in %)
2 Developed by Dr. Vijaya Desai
Feb-10 195.622
Mar-10 135.13
Apr-10 27.783
May-10 528.244
Jun-10 540.362
Jul-10 712.119
Aug-10 190.48
Sep-10 90.779
Oct-10 54.317
Nov-10 45.233
Dec-10 104.612
Jan-11 65.487
Feb-11 84.683
Mar-11 56.333
Apr-11 77.936
May-11 111.326
Jun-11 36.298

UNIT III Progress of Structure Work


120.00%
100.00%
80.00%
60.00%
40.00%
20.00%
0.00%
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

Achieve as on (in %) Achieve Cummulative (in %)

Assignment: 1
Create following table in Excel and calculate amount of work completed of each activity
and total cost of work completed for project. Use formulas or Functions appropriately.
Programme for month of Nov 2011
UOM Quantity Rate Amount
Aerocon Block Masonry Sqmt 690 2,346
Block works 200mm thk Cum 240 5,941
Block works 150mm thk Sqmt 500.00 967
Internal Plastering Sqmt 2,500.00 229
External Plastering Sqmt 1,800.00 369
MS Frame Works for shops Sqmt 800.00 4,303
White Wash Sqm 500.00 37

3 Developed by Dr. Vijaya Desai


Terrace W/P Sqmt 2,500.00 2,386
Terrazo tile Sqmt 250.00 1,456
Railing Rmt 80.00 2,356
Tiolet W/P Sqmt 990.00 774
Flooring Sqmt 2,500.00 632
False Ceiling works Sqmt 2,000.00 658
For Internal walls Rmt 6,181
For External walls Rmt 4,997
For slabs (internal with stainless steel coiver plate Rmt 5,392
Fro slabs (External) Rmt 18,410
IPS Flooring Sqmt 320.00 463
Total

Session 2: Logical, text & condition functions

Logical operators are used in formulas to compare two values. These operators include Equal
to (=), Not equal to (<>), Greaten than (>) and Less than (<).
Logical functions are used to carry out multiple comparison in the formula. These include
AND (satisfy all criteria/arguments), OR (satisfy either of the criteria/arguments), and NOT.

The following table provides a short summary of what each logical function does to help you
choose the right formula for a specific task.

Formula
Function Description Formula Description
Example
The formula returns TRUE if a
Returns TRUE if all
=AND(A2>=10, value in cell A2 is greater than or
AND of the arguments
B2<5) equal to 10, and a value in B2 is
evaluate to TRUE.
less than 5, FALSE otherwise.
The formula returns TRUE if A2 is
Returns TRUE if greater than or equal to 10 or B2 is
=OR(A2>=10,
OR any argument less than 5, or both conditions are
B2<5)
evaluates to TRUE. met. If neither of the conditions it
met, the formula returns FALSE.
Returns the
reversed logical
value of its
The formula returns FALSE if a
argument. I.e. If the
NOT =NOT(A2>=10) value in cell A1 is greater than or
argument is
equal to 10; TRUE otherwise.
FALSE, then
TRUE is returned
and vice versa.

4 Developed by Dr. Vijaya Desai


Text Functions
Text functions are used in formulas to work on string of text. They can be used to change a
text, change the case, find a string, count length of the string, read the letter in the string etc.
Some of the commonly used text functions are LEN, FIND, SEARCH, LEFT, RIGHT,
MID, LOWER, PROPER, UPPER, REPT etc.
Condition Functions
Conditional functions perform calculations on a cell or range of cells only if those cells
meet a certain condition. There are 3 basic functions that can be used to create conditional
formulas.
The IF function can return a value based on whether a certain condition is True or False.
The IFS function can return a value based on multiple conditions.
The SWITCH function can return a value based on a list of exact matches.
They can be used with logical operator; greater than (>), less than (<) and equal to (=).
Example
Single condition: =IF(B2>50,”more than 50”,”less than 50)”. IF function may not require
both the Ture and False expression
IFS fnction is used to define multiple conditions
e.g. =IFS(D24<C28,"Behind Schedule",D24=C28,"On Schedule",D24>C28,"Ahead of
Schedule")
SWITCH function is used to define multiple conditions to match the first expression without
using logical operators.
e.g. =SWITCH(H3,5,"Pass",8,"Distinction",9,"Outstanding",4,"Fail",6,"First Class")
Exercise 3: Use of functions: RIGHT, LEFT, LEN, FIND, SEARCH, MID, Text To
Column
Extract Title, Full name without Title, First name, Middle name and Last name from the full
name of the list provided in the following table.
Title Full name without title First name Middle name Last name
use RIGHT,
Full name with use Use use, RIGHT, LEN and use LEFT use MID and LEN and
title LEFT SEARCH FIND and FIND SEARCH SEARCH
MR NITIN
MACHHINDRA NITIN MACHHINDRA
THORAVE THORAVE
MR SHAILESH
GAHUL SHAILESH GAHUL
GOKHALE GOKHALE
MR U RAMESH
BHARGAV U RAMESH BHARGAV
MS RUCHITA RUCHITA SATICH
SATICH BONDE BONDE
MS SAKSHI SAKSHI KRISHNA
KRISHNA RAUT RAUT
MR ADITYA
KIRAN ADITYA KIRAN
NAGULWAR NAGULWAR
MR RAHUL RAHUL SATISH
SATISH KUMAR KUMAR
MR VENKATA VENKATA SHIV
SHIV ALAVALA ALAVALA

5 Developed by Dr. Vijaya Desai


Split Full Name, First Name, and Last Name using Text To Column Command. (Steps:
Select Full name column. Click on Data Menu. Click on Text To Column tool. Select
Delimited. Click Next. Select Space under Delimiters list (since each name is separated
by a space). Click Next. Select Test under Column Data Format. Select three columns
under Destination.

Create email ID using first letter of First name and first letter of last name with domain
@nimar.ac.in. Use LOWER and LEFT function. E.g. =LOWER(LEFT(E18)&G18)&"@nicmar.ac.in"
Combine First name, middle name and last name to display with first letter as upper letter. Use
PROPER, and concatenate (&) function.
Email Combine First name, middle name and last
Full name First middle last name to display with first letter as upper
name name name letter.
Use Use PROPER and concatenate (&)
Use Text to Column LOWER =PROPER(E18&" "&F18&" "&G18)
and LEFT
NITIN MACHHINDRA
THORAVE
SHAILESH GAHUL
GOKHALE
U RAMESH BHARGAV
RUCHITA SATICH BONDE
SAKSHI KRISHNA RAUT
ADITYA KIRAN
NAGULWAR
RAHUL SATISH KUMAR
VENKATA SHIV
ALAVALA

Exercise 4: Use of IF, IFS, SWITCH, AND, OR functions.


Refer exercise 2 and perform the following
Display message “Behind schedule” if “Achieve as on (in %)” is less than 5% in a selected month
else display message “On Schedule”. Use IF function
Display following messages using IFS function
1. Achieve as on (in %) for a selected month is <5% display “Behind Schedule”
2. Achieve as on (in %) for a selected month is =5% display “On Schedule”
3. Achieve as on (in %) for a selected month is >5% display “Ahead of Schedule”

Refer Exercise 3. Add Grade as given in the following table. Mark Performance using SWITCH
function
Grade Performance
5 Pass
8 Distinction
9 Outstanding
8 Distinction
4 Fail
6 First Class
6 First Class
9 Outstanding
e.g. =SWITCH(H3,5,"Pass",8,"Distinction",9,"Outstanding",4,"Fail",6,"First Class")

6 Developed by Dr. Vijaya Desai


Refer Exercise 3 and add following marks for subjects. And display students Cleared all
Subjects (display TRUE if Marks >=50 in all subjects, display else display FALSE), Use AND,
OR functions
e.g. =AND(J3>=50,K3>=50,L3>=50,M3>=50)
=OR(J3>=50,K3>=50,L3>=50,M3>=50)
Cleared all Use OR
Subject 1 Subject 2 Subject 3 Subject 4 subject (use AND)
50 25 39 60
55 65 45 68
31 56 38 60
80 78 69 59
75 77 76 78
30 56 66 49
50 30 58 69
58 36 69 75

Session 4 & 5: Conditional formatting


Conditional formatting
Conditional formatting can help make patterns and trends in your data more apparent. To use
it, you create rules that determine the format of cells based on their values. For example, you
can highlight rows, build Gantt charts
Exercise 7: Carry out conditional formatting on the following Inquiry table
S Mod Curre Mon
r. e of nt thly Inter
N Na inqu Occup Inco Proper ested Curren
o. Date me Address Mobile email iry ation me ty type in t Loan
01
January Rak Aundh, 654236 rakesh@gm Onli Servic 1500 First 2
1 2021 esh Pune 5894 ail.com ne e 00 home BHK No
01
January Bavdhan, 936589 ram@rediff Pho 3
2 2021 Ram Pune 4523 mail.com ne BHK
01
January Kothrud 954678 sita@rediff Onli Servic 9500 First 2
3 2021 Sita Pune 3456 mail.com ne e 0 home BHK No
01 Marine
January Drive 985632 john@gmai Onli Busine 2000 Second 3 Car
4 2021 John Mumbai 458 l.com ne ss 00 home BHK loan
01 2
January Rahi 763254 rah@gmail. Onli Servic 7500 First 1 wheeler
5 2021 m Warje, pune 1895 com ne e 0 home BHK loan
01
January Kara Pimpri, 785698 kar@rediff Onli Servic 1000 First 2
6 2021 n Pune 5462 mail.com ne e 00 home BHK No
02
January Shy Deccan 896523 shy@yahoo Pho 1
7 2021 am Pune 4789 .com ne BHK
02
January Jose Vasi 985625 Jos@gmail. Pho 2
8 2021 ph Mumbai 6987 com ne BHK
02
January Kari MG Road 985698 kar@rediff Site Busine 2000 First 2
9 2021 m Sangli 4256 mail.com visit ss 00 home BHK No
02
1 January Suh Aundh, 986532 suh@gmail. Pho
0 2021 as Pune 4789 com ne

7 Developed by Dr. Vijaya Desai


02
1 January Shivaji 963254 prit@gmail. Onli Servic 1100 First 2
1 2021 Priti Nagar Pune 8712 com ne e 00 home BHK No
02
1 January Meh Hinjewadi, 986589 meh@yaho Site Servic 8000 First 1
2 2021 er Pune 45 o.com visit e 0 home BHK No
02
1 January Kara Pimpri, 785698 kar@rediff Site Servic 1000 First 2
3 2021 n Pune 5462 mail.com visit e 00 home BHK No
03
1 January Rak Aundh, 654236 rakesh@gm Site Servic 1500 First 2
4 2021 esh Pune 5894 ail.com visit e 00 home BHK No
03
1 January Shivaji 963254 prit@gmail. Site Servic 1100 First 2
5 2021 Priti Nagar Pune 8712 com visit e 00 home BHK No
03
1 January Shy Deccan 896523 shy@yahoo Site Servic 1500 Second 2
6 2021 am Pune 4789 .com visit e 00 home BHK No
03
1 January Suh Aundh, 986532 suh@gmail. Site Servic 9000 First 2
7 2021 as Pune 4789 com visit e 0 home BHK No
04
2 January Adit Rasta Peth, 945623 aditya@yah Pho
1 2021 ya Pune 58965 oo.com ne
05
2 January Jose Vasi 985625 Jos@gmail. Site Busine 5000 Second 3 Car
2 2021 ph Mumbai 6987 com visit ss 00 home BHK loan
05
2 January Rak Aundh, 654236 rakesh@gm Pho
3 2021 esh Pune 5894 ail.com ne
05
2 January Ami Kothrud, 732569 amit@gmai Pho
4 2021 t Pune 85423 l.com ne
05
2 January Shy Deccan 896523 shy@yahoo Pho
5 2021 am Pune 4789 .com ne
05
2 January Suh Aundh, 986532 suh@gmail. Pho
6 2021 as Pune 4789 com ne
06
2 January Pras 965325 pra@yahoo Onli Servic 6000 First 1
7 2021 hant Baner Pune 6874 .com ne e 0 home BHK No
06
2 January Kara Pimpri, 785698 kar@rediff Pho
8 2021 n Pune 5462 mail.com ne
06
2 January Jose Borivali 985625 Jos@gmail. Pho
9 2021 ph Mumbai 6987 com ne
07
3 January San 963258 sand@gmai Onli Busine 1500 Second 2
0 2021 deep Warje, pune 7412 l.com ne ss 00 home BHK yes
08
3 January Pete Aundh, 756935 pet@gmail. Pho
1 2021 r Pune 6984 com ne
08
3 January Shivaji 963254 prit@gmail. Pho
2 2021 Priti Nagar Pune 8712 com ne
08
3 January Pras 965325 pra@yahoo Pho
3 2021 hant Baner Pune 6874 .com ne
08
3 January Shy Deccan 896523 shy@yahoo Pho
4 2021 am Pune 4789 .com ne
09
3 January San 963258 sand@gmai Site Busine 1500 Second 2
5 2021 deep Warje, pune 7412 l.com visit ss 00 home BHK yes
8 Developed by Dr. Vijaya Desai
10
3 January Shy Deccan 896523 shy@yahoo Site Servic 1500 Second 2
6 2021 am Pune 4789 .com visit e 00 home BHK No
10
3 January Shivaji 963254 prit@gmail. Site Servic 1100 First 2
7 2021 Priti Nagar Pune 8712 com visit e 00 home BHK No
10
3 January San 963258 sand@gmai Pho
8 2021 deep Warje, pune 7412 l.com ne
10
3 January Suh Aundh, 986532 suh@gmail. Pho
9 2021 as Pune 4789 com ne
10
4 January Rak Aundh, 654236 rakesh@gm Pho
0 2021 esh Pune 5894 ail.com ne
11
4 January Kari Wakad 985698 kar@rediff Pho
1 2021 m Sangli 4256 mail.com ne
12
4 January Ami Kothrud, 732569 amit@gmai Pho
2 2021 t Pune 85423 l.com ne
12
4 January Aks Balewadi, 789654 ak@yahoo. Pho
3 2021 hy Pune 2589 com ne
13
4 January Kara Pimpri, 785698 kar@rediff Pho
4 2021 n Pune 5462 mail.com ne
15
4 January San 963258 sand@gmai Pho
6 2021 deep Warje, pune 7412 l.com ne
15
4 January Pras 965325 pra@yahoo Pho
7 2021 hant Baner Pune 6874 .com ne
15
4 January Aks Balewadi, 789654 ak@yahoo. Site Servic 6500 First 1
8 2021 hy Pune 2589 com visit e 0 home BHK No

Apply conditional formatting on the following data.


Create table of your data: click anywhere in the table. Click Insert menu→Table. Make sure
My table has headers option is selected. Click ok.
Rename the table: Click on Design menu. Under Table option on tool bar, type table name to
InquiryTable.
Use Highlight Cells Rules (Select data without header. Home→Conditional
formatting→Highlight Cells Rules→Text That Contains. Type text. E.g., First home. Do the
same for 2 BHK and Business
1. Property type = First home
2. Interested in = 2 BHK
3. Current Occupation = Business

Use Data Bars


Monthly Income (Select Monthly Income column without header. Home→Conditional
Formatting→Data Bars

Exercise 8: Apply conditional formatting to create Gant Chart for the following activity
schedule
Task Name Duration Start Finish

- Layout footings 1 14 March 2019 14 March 2019


- Dig Footings & Install Reinforcing 2 15 March 2019 16 March 2019
9 Developed by Dr. Vijaya Desai
- Pour footings 1 18 March 2019 18 March 2019
- Pin Footings 1 19 March 2019 19 March 2019
- Stock Block, Mortar, Sand 1 20 March 2019 20 March 2019
- Build Block Foundation 15 21 March 2019 10 April 2019
- Fill Block Cores w/ Concrete 1 11 April 2019 13 April 2019
- Steel Delivery 3 12 April 2019 12 April 2019
- Set Lintels, Bolts, Cap Block 2 15 April 2019 16 April 2019
- Lumber Delivery 1 12 April 2019 12 April 2019
- Waterproofing and Drain Tile 1 15 April 2019 15 April 2019

Steps
Create dates from 14 March 2019 till 16 April 2019 in the header row.
Select cells under header of 14 March 2019 till 16 April 2019.
Click Home→Conditional formatting→New Rule. Select Use a formula to determine
which cells to format option from Select a Rule Type.
Use =AND formula to format the cells based on criteria.
E.g. =AND($C3<=E$2,$D3>=E$2). Where C3 and D3 are start and finish dates of activity
respectively. E2 is the date in row.
Exercise 9: Apply arrows to show negative or positive schedule variance in the following
data table. Use Icon Sets of conditional formatting.
Schedule variance
Month (in thousand Rs.)
Feb-10 195.622
Mar-10 -135.13
Apr-10 -27.783
May-10 528.244
Jun-10 540.362
Jul-10 712.119
Aug-10 190.48
Sep-10 90.779
Oct-10 -54.317
Nov-10 45.233
Dec-10 104.612
Jan-11 65.487
Feb-11 84.683
Mar-11 -56.333
Apr-11 77.936
May-11 111.326
Jun-11 36.298

Steps:
Select data under Schedule variance column. Click Home→Conditional formatting→Icon
Sets →More Rules.
Create conditional rule as follows. Green upward arrow for positive variance. Red downward
arrow for negative variance and horizontal arrow for zero variance.
Assignment 3
10 Developed by Dr. Vijaya Desai
Compare Scheduled work with Actual work. Use Wingdings 3 font, IF function and
conditional formatting
Progress Report

Scheduled Actual Status create the symbols using Wingdings 3 font, IF


Month work Work function and conditional formatting
January 120 120 
February 100 50 
March 90 100 
April 850 500 
May 500 600 
June 520 600 
July 500 500 
August 800 750 
September 250 230 
October 360 450 
November 420 420 
December 630 600 

Session 6: Advanced VLOOKUP: multiple, HLOOKUP


Advanced VLOOKUP: multiple, HLOOKUP
VLOOKUP function is used to look for a matching data point in a column, and fetch the
value to the right in that row from a cell which is a specified number of columns to the right.
Syntax

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Input Arguments
• lookup_value – this is the look-up value you are trying to find in the left-most
column of a table. It could be a value, a cell reference, or a text string.
• table_array – this is the table array in which you are looking for the value. This
could be a reference to a range of cells or a named range.
• col_index – this is the column index number from which you want to fetch the
matching value.
• [range_lookup] – here you specify whether you want an exact match (FALSE or 0 or
an approximate match (TRUE or 1). If omitted, it defaults to TRUE – approximate
match

To learn more on VLOOKUP explore: https://trumpexcel.com/excel-vlookup-function


HLOOKUP
Syntax

=HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])

Input Arguments
• lookup_value – this is the look-up value that you are looking for in the first row of
the table. It could be a value, a cell reference, or a text string.
11 Developed by Dr. Vijaya Desai
• table_array – this is the table in which you are looking for the value. This could be a
reference to a range of cells or a named range.
• row_index – this is the row number from which you want to fetch the matching
value. If row_index is 1, the function would return the lookup value (as it is in the 1st
row). If row_index is 2, the function would return the value from the row just below
the lookup value.
• [range_lookup] – (Optional) here you specify whether you want an exact match or an
approximate match. If omitted, it defaults to TRUE – approximate match

Exercise 10: VLOOKUP with multiple criteria using Helper column, HLOOKUP
Refer the data provided in the following table. Create a table with supplier in the column and
material, rate and UM in rows.
Material Supplier Rate in Rs. UOM
Steel 10 mm Om 75 KG
Steel 10 mm Mukesh 73.5 KG
Steel 10 mm Sai 74 KG
Crushed Sand Om 350 ton
Crushed Sand Mukesh 345 ton
Crushed Sand Sai 340 ton
Clay Red Bricks 9 in x 4 in x 3 in Om 5 each
Clay Red Bricks 9 in x 4 in x 3 in Mukesh 4.6 each
Clay Red Bricks 9 in x 4 in x 3 in Sai 4.5 each

Steps using Helper Column


1. Insert Helper column to the left of Rate.
2. Concatenate Material and Supplier with a vertical separator |. Example =B3&"|"&C3
3. Extract unique values of material in separate cells. Use Advanced Filter: Click in an
empty cell. Click on Data menu. Click on Advanced under Filter. Select Copy to
another location under Action. Select Material column including header in List
range. Select the empty cell in Copy to. Select Unique records only. Click OK
4. Repeat step 3 to separate values of supplier. Use Transpose to transfer supplier from
rows to columns. Select suppliers. Copy (use Ctrl key to copy). Click in a cell. Right
Click and paste special. Select Transpose. Click OK.
5. Use VLOOKUP function to transfer supplier from rows to columns. Example
=VLOOKUP($H4&"|"&I$3,$D$3:$E$11,2,0)
6. Display UOM using simple VLOOKUP function. Example
=VLOOKUP(H4,B3:F11,5,0)

Use HLOOKUP to find rate of Crushed sand offered by Mukesh. Example


=HLOOKUP($J$3,H3:L6,3,0)

12 Developed by Dr. Vijaya Desai


Session 7 & 8: Data Analysis using pivot table and pivot charts, slicer

Data Analysis: (data classification using charts, scatter plot, pivot table and charts)
To create Pivot table: click on any cell of your data sheet. Click on Insert
menu→PivotTable→New worksheet→OK
Name the Pivot table: Click any where in the table. Click on Analyse. Type “InquiryData”
under PivotTable Name.
Exercise 11: Data analysis using PivotTable and Pivot Chart
Carry out following analysis on the Data provided in Inquity Table given below.
1. Create PivotTable and name it as InquiryData
2. Number of inquiries received. (Drag Date field and drop in values)
3. Date wise number of inquiries received (Drag date field and drop in Rows & values
both. Make sure Date in values is set to count of Date)
4. Insert the Pivot chart to plot date wise inquiry received. (Click on Pivot table. Click
on Analyze→PivotChart)
5. Find out how many inquiries have received from locations. Format top 5 locations
using conditional formatting
6. Find out number of inquiries received from modes (Online, Phone, Site Visit). Apply
filter on Interested in (1 BHK, 2 BHK, 3 BHK)
7. Find out number of people in Business and in Service. Find how many have loan.
8. Carry out similar analysis on Monthly income and property type
9. Apply conditional formatting suitably.
10. Use activity schedule in Exercise 8. Create PivotTable. Insert Timeline (Select
Pivot table. Click Analyze→Insert→Timeline)

Inquiry Table
S Mod Curre Mon Cur
r. e of nt thly Intere rent
N Nam inqu Occup Inco Proper sted Loa
o. Date e Address Mobile email iry ation me ty type in n
01
January Rake Aundh, 654236 rakesh@gm Onli 1500 First 2
1 2021 sh Pune 5894 ail.com ne Service 00 home BHK No
01
January Bavdhan, 936589 ram@rediff Phon Busine 2500 Second 3
2 2021 Ram Pune 4523 mail.com e ss 00 home BHK No
01
January Kothrud 954678 sita@rediff Onli 9500 First 2
3 2021 Sita Pune 3456 mail.com ne Service 0 home BHK No
01
January 985632 john@gmail Onli Busine 2000 Second 3
4 2021 John Mumbai 458 .com ne ss 00 home BHK Yes
01
January Rahi Warje, 763254 rah@gmail. Onli 7500 First 1
5 2021 m pune 1895 com ne Service 0 home BHK Yes
01
January Kara Pimpri, 785698 kar@rediff Onli 1000 First 2
6 2021 n Pune 5462 mail.com ne Service 00 home BHK No
02
January Shya Deccan 896523 shy@yahoo. Phon Busine 2000 Second 1
7 2021 m Pune 4789 com e ss 00 home BHK Yes
02
January Jose 985625 Jos@gmail. Phon Busine 1500 Second 2
8 2021 ph Mumbai 6987 com e ss 00 home BHK Yes
13 Developed by Dr. Vijaya Desai
02
January Kari 985698 kar@rediff Site Busine 2000 First 2
9 2021 m Sangli 4256 mail.com visit ss 00 home BHK No
02
1 January Suha Aundh, 986532 suh@gmail. Phon 1100 Second 3
0 2021 s Pune 4789 com e Service 00 home BHK Yes
02
1 January Shivaji 963254 prit@gmail. Onli 1100 First 2
1 2021 Priti Nagar Pune 8712 com ne Service 00 home BHK No
02
1 January Meh Hinjewadi, 986589 meh@yahoo Site 8000 First 1
2 2021 er Pune 45 .com visit Service 0 home BHK No
02
1 January Kara Pimpri, 785698 kar@rediff Site 1000 First 2
3 2021 n Pune 5462 mail.com visit Service 00 home BHK No
03
1 January Rake Aundh, 654236 rakesh@gm Site 1500 First 2
4 2021 sh Pune 5894 ail.com visit Service 00 home BHK No
03
1 January Shivaji 963254 prit@gmail. Site 1100 First 2
5 2021 Priti Nagar Pune 8712 com visit Service 00 home BHK No
03
1 January Shya Deccan 896523 shy@yahoo. Site 1500 Second 2
6 2021 m Pune 4789 com visit Service 00 home BHK No
03
1 January Suha Aundh, 986532 suh@gmail. Site 9000 First 2
7 2021 s Pune 4789 com visit Service 0 home BHK No
04
2 January Adit Rasta Peth, 945623 aditya@yah Phon 8500 Second 1
1 2021 ya Pune 58965 oo.com e Service 0 home BHK No
05
2 January Jose 985625 Jos@gmail. Site Busine 5000 Second 3
2 2021 ph Mumbai 6987 com visit ss 00 home BHK Yes
05
2 January Rake Aundh, 654236 rakesh@gm Phon 5500 First 1
3 2021 sh Pune 5894 ail.com e Service 0 home BHK No
05
2 January Kothrud, 732569 amit@gmail Phon 7500 Second 3
4 2021 Amit Pune 85423 .com e Service 0 home BHK Yes
05
2 January Shya Deccan 896523 shy@yahoo. Phon 9600 First 3
5 2021 m Pune 4789 com e Service 0 home BHK No
05
2 January Suha Aundh, 986532 suh@gmail. Phon Busine 2100 Second 1
6 2021 s Pune 4789 com e ss 00 home BHK Yes
06
2 January Pras 965325 pra@yahoo. Onli 6000 First 1
7 2021 hant Baner Pune 6874 com ne Service 0 home BHK No
06
2 January Kara Pimpri, 785698 kar@rediff Phon Busine 1850 Second 1
8 2021 n Pune 5462 mail.com e ss 00 home BHK Yes
06
2 January Jose 985625 Jos@gmail. Phon Busine 1550 First 1
9 2021 ph Mumbai 6987 com e ss 00 home BHK Yes
07
3 January Sand Warje, 963258 sand@gmail Onli Busine 1500 Second 2
0 2021 eep pune 7412 .com ne ss 00 home BHK Yes
08
3 January Aundh, 756935 pet@gmail.c Phon 1500 Second 1
1 2021 Peter Pune 6984 om e Service 00 home BHK Yes
08
3 January Shivaji 963254 prit@gmail. Phon 9000 Second 3
2 2021 Priti Nagar Pune 8712 com e Service 0 home BHK Yes
08
3 January Pras 965325 pra@yahoo. Phon Busine 8500 First 3
3 2021 hant Baner Pune 6874 com e ss 0 home BHK No
14 Developed by Dr. Vijaya Desai
08
3 January Shya Deccan 896523 shy@yahoo. Phon Busine 5000 Second 1
4 2021 m Pune 4789 com e ss 00 home BHK No
09
3 January Sand Warje, 963258 sand@gmail Site Busine 1500 Second 2
5 2021 eep pune 7412 .com visit ss 00 home BHK Yes
10
3 January Shya Deccan 896523 shy@yahoo. Site 1500 Second 2
6 2021 m Pune 4789 com visit Service 00 home BHK No
10
3 January Shivaji 963254 prit@gmail. Site 1100 First 2
7 2021 Priti Nagar Pune 8712 com visit Service 00 home BHK No
10
3 January Sand Warje, 963258 sand@gmail Phon Busine 5000 Second 1
8 2021 eep pune 7412 .com e ss 00 home BHK No
10
3 January Suha Aundh, 986532 suh@gmail. Phon Busine 1500 First 1
9 2021 s Pune 4789 com e ss 00 home BHK Yes
10
4 January Rake Aundh, 654236 rakesh@gm Phon Busine 1500 Second 2
0 2021 sh Pune 5894 ail.com e ss 00 home BHK No
11
4 January Kari 985698 kar@rediff Phon 1100 Second 2
1 2021 m Sangli 4256 mail.com e Service 00 home BHK No
12
4 January Kothrud, 732569 amit@gmail Phon 8500 First 3
2 2021 Amit Pune 85423 .com e Service 0 home BHK No
12
4 January Aks Balewadi, 789654 ak@yahoo.c Phon Busine 3500 Second 1
3 2021 hy Pune 2589 om e ss 00 home BHK Yes
13
4 January Kara Pimpri, 785698 kar@rediff Phon Busine 4000 First 1
4 2021 n Pune 5462 mail.com e ss 00 home BHK No
15
4 January Sand Warje, 963258 sand@gmail Phon 1000 First 3
6 2021 eep pune 7412 .com e Service 00 home BHK No
15
4 January Pras 965325 pra@yahoo. Phon 9500 Second 3
7 2021 hant Baner Pune 6874 com e Service 0 home BHK No
15
4 January Aks Balewadi, 789654 ak@yahoo.c Site 6500 First 1
8 2021 hy Pune 2589 om visit Service 0 home BHK No

Exercise 12: PivotTable and Timeline


Timeline is created to display the different timings to be used for filtering the underlying
datasets in pivot tables by date.
Create Pivot Table and apply Timeline for the activity schedule in the following table.
Task Name Duration Start Finish
- Layout footings 1 day 14-Mar-19 14-Mar-19
- Dig Footings & Install
2 day 15-Mar-19 16-Mar-19
Reinforcing
- Pour footings 1 day 18-Mar-19 18-Mar-19
- Pin Footings 1 day 19-Mar-19 19-Mar-19
- Stock Block, Mortar, Sand 1 day 20-Mar-19 20-Mar-19
- Build Block Foundation 15 days 21-Mar-19 10-Apr-19
- Fill Block Cores w/ Concrete 1 day 11-Apr-19 13-Apr-19
- Steel Delivery 3 day 12-Apr-19 12-Apr-19
15 Developed by Dr. Vijaya Desai
- Set Lintels, Bolts, Cap Block 2 days 15-Apr-19 16-Apr-19
- Lumber Delivery 1 day 12-Apr-19 12-Apr-19
- Waterproofing and Drain Tile 1 day 15-Apr-19 15-Apr-19

Steps
1. Copy table in excel sheet.
2. Insert table: Click anywhere in the sheet. Insert→Table. Provide name as Schedule
3. Insert PivotTable in separate sheet. Click anywhere in the table. Insert→PivotTable.
4. Insert Timeline. Click anywhere on the PivotTable. Insert→Timeline. Select Start and
Finish fields

Exercise 13: PivotTable and Slicer


Copy following Labor work data. Calculate amount using formula = (500/8) * work done
Create Excel Table. Name it LaborWorkData (Click anywhere in the data sheet. Click on
Insert→Table. Click on Design menu and change the name of table to LaborWorkData)
Labor Name Date Skill Rate/ Work Amount
Trans. ID (8hrs) done in
No. in Rs. hours
1 L01 Ramesh 1-Jan-21 Mason 500 5
2 L02 Kumar 1-Jan-21 Helper 350 5
3 L03 Satish 1-Jan-21 Helper 350 5
4 S01 Prakash 1-Jan-21 Supervisor 800 5
5 L01 Ramesh 2-Jan-21 Mason 500 4
6 L02 Kumar 2-Jan-21 Helper 350 6
7 L03 Satish 2-Jan-21 Helper 350 8
S01 Prakash 3-Jan-21 Supervisor 800 6
8
9 L01 Ramesh 3-Jan-21 Mason 500 5
10 L02 Kumar 3-Jan-21 Helper 350 5
11 L03 Satish 4-Jan-21 Helper 350 5
S01 Prakash 5-Jan-21 Supervisor 800 5
12
13 L02 Kumar 5-Jan-21 Helper 350 4
14 L03 Satish 5-Jan-21 Helper 350 4
S01 Prakash 6-Jan-21 Supervisor 800 2
15
16 L02 Kumar 7-Jan-21 Mason 500 6
17 L03 Satish 8-Jan-21 Mason 500 6
18 L04 Prakash 8-Jan-21 Helper 350 4

Create Pivot table for LaborWorkData in separate sheet. (click on the data sheet. Click on
Insert→PivotTable.)
Do the following in the Pivot Table
1. Add Field in Filters.

16 Developed by Dr. Vijaya Desai


2. Add Date and Labor ID fields in Row.
3. Add Trans. No., Rate/ (8hrs) in Rs., Work done in hours, Amount under Values

Insert Slicer for Date, Skill and Name (Click anywhere in PivotTable. Click on
Insert→Slicer. Select fields from the list)
Insert Timeline for the PivotTable. (Click anywhere in PivotTable. Click on
Insert→TimeLine. Select Date field from the list). Format Timeline to , Month unit.
Add some transactions of Labor work in the month of February and March 2021 in the Data
Table Sheet (LaborWorkData)
Update the data in PivotTable. (Click on PivotTable. Click on Analyse→Refresh)
Insert PivotChart. Click on PivotTable. Click on Insert→PivotTable Chart

Assignment 3: Create Gant Chart using PivotTable, slicer, conditional formatting for
the following data.
Use TEXT and LEFT function to extract from the date.
Example, Text Function =TEXT(Value, format_text). Where: Value is the numerical value
that we need to convert to text, Format_text is the format we want to apply
Duration
Code Task Name Start Finish
WBS in days
Ground
Commencing breaking 1
1 the Project ceremony 01-05-2009 01-05-2009

Design Topographical
2
work survey of the
2 Project site 04-05-2009 05-05-2009

Design Architectural
3
work design of the
3 Project 06-05-2009 08-05-2009
Structural
Design
design of the 3
work
4 Project 11-05-2009 13-05-2009
Plumbing
Design
design of the 2
work
5 Project 11-05-2009 12-05-2009
Electrical
Design
design of the 4
work
6 Project 11-05-2009 14-05-2009
Estimating
Design
cost of the 2
work
7 Project 15-05-2009 18-05-2009
Preparation
Design
of Tender 2
work
8 documents 15-05-2009 18-05-2009
Awarding Invite
the Project Contractors 2
9 execution through 19-05-2009 20-05-2009

17 Developed by Dr. Vijaya Desai


Press/Internet
publication
Awarding Conduct
the Project Bidders 1
10 execution conference 10-06-2009 10-06-2009
Awarding Receive and
the Project Open the 1
11 execution tenders 16-06-2009 16-06-2009
Awarding Negotiate
the Project with the 1
12 execution contractors 17-06-2009 17-06-2009
Execute the
Awarding
Agreement with
the Project 1
the selected
execution
13 Contractor 18-06-2009 18-06-2009
Foundation Earthwork
4
14 work excavation 19-06-2009 24-06-2009
Foundation Anti termite
2
15 work treatment 25-06-2009 26-06-2009
Foundation Filling
3
16 work basement 20-11-2009 24-11-2009
Foundation Levelling
4
17 work course 29-06-2009 02-07-2009
Foundation Construction
95
18 work of RCC frame 02-07-2009 17-11-2009
Foundation Perform
1
19 work quality control 25-11-2009 25-11-2009
Foundation Scope
1
20 work verification 26-11-2009 26-11-2009
Construction
Superstructure 133
of RCC frame
21 work 06-08-2009 19-02-2010
Construction
Superstructure of Brick 103
22 work masonry 09-10-2009 09-03-2010
Perform
Superstructure 2
quality control
23 work 10-03-2010 11-03-2010
Scope
Superstructure 3
verification
24 work 12-03-2010 17-03-2010
Supply &
fixing of
Doors, Ground
29
Windows, floor
Ventilators,
25 Gate 15-10-2009 24-11-2009
Supply &
First floor 3
26 fixing of 10-03-2010 12-03-2010

18 Developed by Dr. Vijaya Desai


Doors,
Windows,
Ventilators,
Gate
Supply &
fixing of
Doors, Perform
2
Windows, quality control
Ventilators,
27 Gate 15-03-2010 16-03-2010
Supply &
fixing of
Doors, Scope
3
Windows, verification
Ventilators,
28 Gate 17-03-2010 19-03-2010
Finishing
Flooring 81
29 work 25-11-2009 24-03-2010
Finishing
Plastering 92
30 work 04-11-2009 18-03-2010
Finishing
Painting 82
31 work 24-11-2009 24-03-2010
Finishing Perform
2
32 work quality control 25-03-2010 26-03-2010
Finishing Scope
2
33 work verification 29-03-2010 30-03-2010
Electrical Materials
4
34 work procurement 10-09-2009 15-09-2009
Electrical Fixing and
126
35 work erection 25-09-2009 30-03-2010
Electrical Perform
2
36 work quality control 31-03-2010 01-04-2010
Electrical Scope
2
37 work verification 02-04-2010 05-04-2010
Water
supply and Providing
172
sanitation water facility
38 work 19-06-2009 26-02-2010
Water
Providing
supply and
Sanitation 110
sanitation
facility
39 work 19-06-2009 25-11-2009
Water
supply and Perform
1
sanitation quality control
40 work 01-03-2010 01-03-2010
Water Scope
2
41 supply and verification 02-03-2010 03-03-2010

19 Developed by Dr. Vijaya Desai


sanitation
work
Project
Administrative 2
completion
42 closure 06-04-2010 07-04-2010
Project Release
2
43 completion resources 08-04-2010 09-04-2010

Steps
1. Copy the above data in a sheet
2. Convert the Date into Date value. Use DATEVALUE function. Example,
=DATEVALUE([@Start])
3. Create Table: Click anywhere in the data sheet. Click in Insert→Table→OK.
4. Rename table to ScheduleData: Design→Table Name. Enter ScheduleData
5. Create PivotTable: Insert→PivotTable→OK
6. Drag and drop Task field in Rows and Start Date and Finish Date fields in Values.
7. Set field value of Start Date and Finish Date to Min. Use Value Field Settings in the
PivotTable
8. Create slicer on WBS: Click on PivotTable. Insert→PivotTable. Select WBS from the
list
9. Arrange WBS items in two columns. Right click on slicer. Click on Size and
Properties. Click on Position and Layout. Enter 2 in Number of Columns for
arranging WBS in 2 columns.
10. Remove Grand Total from the PivotTable: Right Click on Pivot Table. PivotTable
Options→Totals & Filters. Clear the option box Under Grand Totals.
11. Format Date values to date format in the PivotTable. Select Date fields. Right Click→
Format Cell format→Numbers→Date→OK
12. Apply Data Bar conditional formatting on duration.
13. Create two-layer time scale for Gantt Chart.
Example for top layer display month and year
=MIN(GETPIVOTDATA("Min of Start
Date",$A$9,"Code",$A10),GETPIVOTDATA("Min of Finish
Date",$A$9,"Code",$A10))
and =WORKDAY(G8,1)
Bottom layer display date value. Copy from top layer and format it to member. Select
cell. Right click→Format Cell→Custom. Type d in Type. Click OK.
14. Create Gantt Chart using conditional formatting. Home→Conditional
Formatting→New Rule. Select Use formula to determine which cells to format
option. Use following formula. =AND($E10<>"",(MEDIAN($E10,$F10,G$8)=G$8))
15. Use slicer to dynamically display the Gantt Chart as you select WBS from the slicer.

20 Developed by Dr. Vijaya Desai


Session 9: What if Analysis using Solver

What if Analysis using Solver


Solver is used to carry out What if Analysis mainly for simulation and optimization of
business models. It is used to solve linear programming problems. Solver can be used to carry
out analysis like return on investment, optimal budget, best work schedule etc.
Solver tool need to be added in the Excel through Add-Ins. To add Solver to your excel, do
the following. Click on File →Options→Add-ins. Select Excel Add-ins under Manage and
Click on GO. Select Solver Add-ins from Add-ins list and click on OK. Solver tool will be
added in Data menu.
How to use Solver.
Define Problem: example: You are owner of a guest house. You are planning to rent it to
customers. You have to put in place some services which will cost you Rs. 50 Lakhs which
should be paid in instalments within 12 months.
Define Goal: To calculate minimal amount to be added in the rent of guest house
accommodation that will let you pay 50 lakhs in 12 months.
Solver problem has three parameters.
1. Objective
2. Variable
3. Constraint

Solver will find the optimal value in terms of minimum, maximum or specified for the
formula in Objective cell, when the values in Variable cells are changed, subject to
limitations in the Constraint cells.
The earlier example: You are owner of a guest house. You are planning to rent it to
customers. You have to put in place some services which will cost you Rs. 50 Lakhs which
should be paid in instalments within 12 months.
The Objective is 12 months (to recover 50 lakhs). Objective 12 should be arrived by using
the formula.
Variable cells will contain variable data, which can be changed to achieve the Objective (here
12). Example Projected tenants per month and Cost towards service to be added in the rent,
are the variables.
Constraint cell will have a constant or fixed value. Example two constraints in the above
example are as follows.
1. Cost of new Service in the building = 5000000
2. Projected tenants per month <= 50

There can be multiple constraints.


Steps to Apply solver on the above problem
Arrange the data in excel sheet as follows.
Cost of new Service in the building 40000
Projected tenants per month 50

21 Developed by Dr. Vijaya Desai


Cost towards service to be added in the
rent 1

No. of months to pay for services 12

Create a formula calculate No. of months to pay for services. Example =C2/(C3*C4). Note:
Solver will be used to simulate the above problem to get value of the formula = 12.
Run Solver
1. To set Objective: Click on Data →Analyze→Solver. In Set Objective select the
formula cell. in To: select Value of and enter 12.
2. To set variable: In By changing variable cells, select two variable cells. Example:
Projected tenants per month = 50 and Cost towards service to be added in the rent = 1
3. To add constraints: Under Subject to constraints, click on Add. Select cell of Cost of
new Service in the building (5000000). Select =. Enter 5000000 in constraint.
4. Click on Add to add second constraint of Projected tenants per month <= 50 (Select
<= instead =)
5. Click OK after you finish entering all the constraints.
6. Click on Solve.
7. Click on Keep Solver Solution. Click on OK

Exercise 15: Create magic square using solver.


Hint. Keep objective empty. Set sum of horizontal, vertical and diagonal to 15 as constraints.
Values in the cells of square are AllDifferent. And all values are integers. Therefore, there
will be five constraints. Create formulas for sum of horizontal, vertical and diagonal cells.

Session 10: Macros and Power Query

Power query is an ETL (Extract transform and load) tool used to clean/format the data
suitable for analysis.
Exercise 16: Use of text functions in Power Query. (TRIM, PROPER, LOWER, UPPER,
CONCATENATE etc.)
1. Copy the following table in excel worksheet. Name it as PowerQueryData
2. Convert into table: Click on data. Insert→Table. Name the table as NameList:
Design→Table Name
3. Transform data in Power Query: click on data. Click Data→From Table/Range. Data will
be opened in Power Query Editor.
4. Remove blank spaces (TRIM): Select Last Name column. Click on
Transform→Format→Trim
5. Repeat step 4 for First Name and Middle Name
6. Combine Title, First Name, Middle Name and Last Name (CONCATENATE). Name the
column as Full Name. Select Title, First Name, Middle Name, Last Name (in this

22 Developed by Dr. Vijaya Desai


sequence). Click on Transform. Select space in separator. Type Full Name in New
column name. Click OK.
7. To covert Full Name in LOWER, UPPER or PROPER case. Select Full Name column.
Click on Transform→ Format→lowercase.
8. Repeat step 7 to apply UPPER and Capitalize each word (PROPER)
9. Load the cleaned data in excel: Home→Close &load→Close & Load
10. Cleaned data will be loaded in excel in new worksheet. Name the worksheet as CleanData
11. Edit or add data in original worksheet (PowerQueryData). Click on CleanData. Click on
data. Right Click and Refresh. This will update data in CleanData worksheet
12. To open Power Query again with data in CleanData: On the right hand side of screen
double click on DataList.

Title Last name First Name Middle Name


Mr. raut RIDDHIK vikas
Dr. KASAR PRANAV PAVAN
Mr. Ramnathkar PRANAV VIJAY
Mr. MISAL TANMAY
Dr. DHAWALE kaiwalya KAILASH
Mr. PATIL SOURABH SUNIL
Mr. JAIN AKSHAT
Mr. yadav AMBAR
Mr. PANSE Ruturaj NITEEN
Dr. Devlikar YASH DIGAMBAR
Prof. MEHTA MANAV PINAK
Dr. PATGAR RAVINDRA NARAYAN
Mr. VYSAKH H
Mr. DESAI Deepak HARIPRIYA
Mr. SINGH Abhijeet KUMAR
Dr. PATIL KHUSHBU subhash
Prof. SAINI mridul
Dr. CHOBE ADVAIT
Mr. DHOPTE AKLESH
Dr. umathe YASH
Mrs. PETA SRUJANA
Mr. mohapatra KRUSHNAKANTA
Dr. THOMAS SANJAY GEORGE
Prof. JIBHAKATE sagar RAMESH
Dr. THAKARE ROSHAN BHAGWAN
Mr. Patel Rachit dalpatbhai
Mr. GADI DHANESH SIVASRI
Mr. PANTAGOLUSULA RANADEEP
Dr. shubham
Prof. FATEHPURIA AKSHAT
Mr. kangale KARAN

23 Developed by Dr. Vijaya Desai


Dr. ALLU tejeswar
Prof. GULWADE GAURANG MADHUKAR
Mrs. MD KAMAL Kaifee
Mr. dhanawade SUMIT SAMPAT
Dr. G v VARUN
Prof. PHAPALE PRAJWAL YASHWANT
Mrs. diwan ADITI
Dr. GUPTA VINAY
Prof. KOLETTIWAR atharva santosh
Mrs. SINGH SHREYA PARIHAR
Dr. dabir OMKAR SATISH
Prof. KARKHANIS SAHIL MILIND
Mrs. SWAMY PAVAN KUMAR
Mr. BORDOLOI SANDIPON
Dr. SHETE CHINMAY
Prof. VISHWAKARMA AMIT
Prof. PATHAK PRANJUL KUMAR
Mrs. KAMBLE RIYA ARVIND
Prof. KUMAR SAURABH
Mr. NANDHU SANJEEV M
Mrs. PADWAL MEGHNA RAJENDRA
Mr. NAIR SHARUN P

Exercise 16: Use of Date functions in Power Query to find age.


1. Copy the following data table in new worksheet. Name it as DOB
2. Load the data in Power Query: Click on Data→ From Table/Range
3. Covert Date of Birth data type in Date: Click on Date of Birth heading. Select
Date→Replace Current. Age will be given in number of days.
4. Add age in new column. Click on Add column→Date→Age.
5. Remove time and decimal places from the date: Click on heading of Age column. Select
Whole Number.
6. To convert age in number of years: Click on heading of Age column. Click on Duration.
Select Age column and click on Duration→Total years. Click heading of Total Years and
select Whole numbers to remove decimal places.
7. Load the data in excel: Home→Close & Load

Full Name Date of Birth


Dr. Kasar Pranav Pavan 01-01-1970
Mr. Ramnathkar Pranav Vijay 02-02-1981
Mr. Misal Tanmay 03-05-1986
Dr. Dhawale Kaiwalya Kailash 04-01-1976
Mr. Patil Sourabh Sunil 05-09-1970
Mr. Jain Akshat 06-01-1989
Mr. Yadav Ambar 07-11-1990
24 Developed by Dr. Vijaya Desai
Mr. Panse Ruturaj Niteen 08-01-1991
Dr. Devlikar Yash Digambar 09-12-1993
Prof. Mehta Manav Pinak 10-11-2002
Dr. Shah Ravindra Narayan 11-01-1999
Mr. Vysakh H 12-01-2001

25 Developed by Dr. Vijaya Desai

You might also like