spreadsheet_modeling (1)
spreadsheet_modeling (1)
Course File
MBA DEPARTMENT
Spreadsheet Modeling(BMBA0351)
28 Create Pivot Table by using Data given below add prepare Pivot
Chart?
1. Definition:
A spreadsheet is a general term for software that organizes data in rows and columns,
allowing calculations and analysis. Excel is a specific spreadsheet software developed
by Microsoft.
2. Examples:
Examples of spreadsheets include Google Sheets, Apple Numbers, and LibreOffice
Calc, while Excel is exclusive to Microsoft's product suite.
3. Platform:
Spreadsheets can be cloud-based or desktop-based, depending on the software. Excel is
primarily desktop-based but also has a cloud version, Excel Online.
4. Cost:
Spreadsheets like Google Sheets are often free, while Excel requires a paid license or
subscription.
5. Features:
Excel offers advanced tools like macros, VBA, and Power Pivot, whereas other
spreadsheets may have limited features or focus more on collaboration.
6. File Formats:
Generic spreadsheets support various formats, including CSV and ODS. Excel uses its
proprietary format, XLSX, but also supports other common formats.
7. Integration:
Spreadsheets like Google Sheets integrate with Google Workspace, while Excel
integrates seamlessly with the Microsoft Office ecosystem.
8. Collaboration:
Cloud-based spreadsheets often allow real-time collaboration, whereas Excel requires
OneDrive or Excel Online for similar features.
First, let's take a look at some general keyboard shortcuts for manipulating workbooks, getting
help, and a few other interface-related actions.
You can use keyboard shortcuts to easily navigate throughout your worksheet, within a cell, or
throughout your entire workbook.
You may have noticed from the previous section you use the arrow keys to move between cells,
and the Ctrl key to modify that movement. Using the Shift key to modify the arrow keys lets
you extend your selected cells. There are also a few other combos for speeding up selection, as
well.
Ctrl+B: Add or remove bold to the contents of a cell, selected data, or selected cell range
Ctrl+I: Add or remove italics to the contents of a cell, selected data, or selected cell range
Ctrl+U: Add or remove underline to the contents of a cell, selected data, or selected cell range
Alt+H+H: Select a fill color
Alt+H+B: Add a border
Ctrl+Shift+&: Apply outline border
Ctrl+Shift+_ (Underline): Remove outline border
Ctrl+9: Hide the selected rows
Ctrl+0: Hide the selected columns
Ctrl+1: Open the Format Cells dialog box
Ctrl+5: Apply or remove strikethrough
Ctrl+Shift+$: Apply currency format
Ctrl+Shift+%: Apply percent format
Experiment 1
Create a Worksheet to implement following Data Entry and Formatting
Solution:
Data Entry
Data Formatting
Solutions:
Step 1 – To begin, open the Excel workbook where you’d like to insert a new worksheet.
This could either be a fresh workbook or one you’ve been working on; upon opening, you’ll
notice a default worksheet named “Sheet1”.
Step 2 – Now, to insert a new worksheet in the workbook, simply click the “+” icon found to
the right of the last worksheet tab at the bottom of the Excel window.
Step 3 – This will insert a new blank worksheet into the workbook. By default, it will be
named as “Sheet2”. You have the option to rename it. Once the worksheet is inserted, you
can start inputting data into this new blank sheet as required.
Rename an Excel Worksheet
Step 2 – This action will bring up a context menu where you’ll locate the “rename” option.
Using this option, you can easily change the name of your worksheet.
Alternative way – You can also rename a worksheet by double-clicking on the tab of
the worksheet you wish to rename. This action will highlight the current name,
allowing you to edit it.
Step 1 – Choose the worksheet you want to delete by clicking on its tab located at the bottom
of the Excel workbook. This action will select the sheet you wish to remove.
Step 2 – After selecting the worksheet tab, simply right-click on it, and from the menu that
appears, select “Delete”. Following these steps will result in the deletion of the selected
worksheet along with all the data inside it.
Experiment 4
Create a Worksheet to implement following Autofill, Custom Lists, and Flash Fill.
AutoFill
Microsoft Excel has a special feature call Fill Handle which files the data
automatically with a specific pattern. Basically, The Fill Handle tool completes the
incomplete entries of data by recognizing the pattern. It is an inbuilt excel feature
that is enabled by default settings. You can extend a series of dates, times, numbers,
and text combinations to the desired number of cells by just writing the first two
entries.
Flash Fill
Flash Fill in Excel is a smart tool that identifies patterns in your data and fills in the rest of the
column automatically. To use it, first, ensure your data is in one column (e.g., full names in
Column A). In the adjacent column, type the desired result based on a pattern (e.g., extracting
first names). After entering the first example, press Ctrl + E (or go to the Data tab and select
Flash Fill) to let Excel detect and complete the rest of the column. This works well for tasks
like splitting, combining, or formatting data, saving time and effort.
Step 1
Step 2
Ctrl+E
Coustm list
In the Custom Lists dialog box, click inside the List Entries box.
Alternatively, if your list is already in a worksheet, click Import, select the range, and
import the list.
Save the Custom List:
Type the first item of your list in a cell, then drag the fill handle (bottom-right corner of
the cell) to autofill the rest of the list.
You can also sort data using this list in Sort & Filter (under the Data tab).
Experiment 5
Create a Worksheet to implement following Getting Data from External Sources.
Open a new workbook and go to Data tab > Get & Transform Data group > Get
Data > From File > From Text/CSV
Solution:
Experiment 6
Create a Worksheet to implement following freeze panes.
Solution:
Method 1
Method 2
Method 3
Experiment 7
Create a Worksheet to implement following grouping of worksheet.
Solution:
Solution:
Protecting Workbooks
Step 1: Select File > Info.
Step 2: Select the Protect Workbook box and choose Encrypt with Password.
Step 3: Enter a password in the Password box, and then select OK.
Step 4: Confirm the password in the Re-enter Password box and then select OK.
Protecting a worksheet
Step 1: Open the worksheet you want to protect.
Step 2: Head on to Review tab > Protect sheet.
Step 3: This opens a project sheet dialog and prompts you to enter a password for the sheet.
You can check the boxes you want the user to be able to edit after protection and uncheck the
rest.
Step 2: As you can see, the excel table has been converted to a 3-D column
chart.
Sorting
Filter
Step 1: Select any column from the table. Here we are going to select a Sales
column. After that go to the data tab on the top of the ribbon and then in the sort
and filters group select filter.
Step 2: The values in the sales column are then shown in a drop-down box.
Here we are going to select a number of filters and then greater than.
Step 3: Then a custom auto filler dialog box appears. Here we are going to apply
sales greater than 70 and then click OK.
Experiment 10
Create a Worksheet to implement following Conditional Formatting.
Solution:
Method 2
Method 3
Experiment 11
Create a Worksheet to implement following Logical formulas.
1.IF
=IF(D2>=20000,"Sales","Hr")
=IF(F13>150,"TRUE","FALSE")
=IF(F13>150,"Pass","Fail")
3. OR
=OR(B2="Male", C2="Sales",D2>25000)
4. AND
5 IF and OR
6. NOT
=NOT(D2<=20000)
7. Nested IF
=IF(D2>=20000,D2*30%,IF(D2>=10000,D2*20%,IF(D2<=10000,D2*10%)))
8. XOR
=IF(XOR(D2<=2000,C2="Sales"),"No Bonus","Bonus")
Experiment 12
Create a Worksheet to implement following Statistical formulas.
1.
COUNT()
=COUNT(D2:D10)
2. COUNTBLANK()
=COUNTBLANK(D2:D10)
3. AVERGAE()
=AVERAGE(E2:E10)
4. AVERAGEIF()
=AVERAGEIF(A2:A12,"Biology",E2:E12)
5. MEDIAN()
=MEDIAN(B2:B10)
6. MODE()
=MODE(C2:C10)
7. STANDARD DEVIATION
=STDEV.P(E2:E10)
8. VARIANCE
=VAR(E2:E10)
9. QUARTILES
Q1=QUARTILE(F2:F10,1)
Q2==QUARTILE(F2:F10,2)
Q3=QUARTILE(F2:F10,3)
10.RANK
=RANK(B16,$B$16:$B$24)
Experiment 13
Create a Worksheet to implement following Date &time formulas.
=DATE(A19,B19,C19)
3. Workday()
=WORKDAY(B32,C32)
4. workday.intl()
5. Weekday,year,month,…..etc function
6. EDATE()
=EDATE(A40,3)
Experiment 14
Create a Worksheet to implement following Lookup formulas.
=VLOOKUP(A2,$E$4:$G$7,3,FALSE)
Experiment 15
Create a Worksheet to implement following Hlookup formulas.
=HLOOKUP(A16,$E$16:$I$18,3,FALSE)
Experiment 16
Create a Worksheet to implement following Text formulas
Experiment 17
Create a Worksheet to implement following Lookup formulas using if
Function
Solution:
=IF(ISTEXT(E64),VLOOKUP(E64,$A$62:$C$70,3,0),VLOOKUP(E64,$B$62:$C$70,2,0))
Experiment 18
Create a Worksheet to implement following Lookup formulas using Sum
Function.
Solution:
Experiment 19
Create a Worksheet to implement following Math formulas.
Solutions:
ABS()
=ABS(B2)
PRODUCT()
=PRODUCT(C2:C6)
SQRT()
=SQRT(B2)
EVEN()
=EVEN(A2)
ODD()
=ODD(A2)
FACT()
=FACT(A2)
FACTDBOUBLE()
=FACTDOUBLE(A2)
LCM
=LCM(2,4,5)
GCD(HCF)
=GCD(4,12,16,32)
=A2*PI()/180
‘
=Sin()
=SIN(A2*PI()/180)
COS()
=COS(A2*PI()/180)
TAN()
=TAN(A2*PI()/180)
COT()
=COT(A2*PI()/180)
COSEC()
=CSC(A2*PI()/180)
SEC()
=SEC(A2*PI()/180)
=QUOTIENT(B16,C16)
=MOD(B16,C16)
=DEGREES(A27)
=RADIANS(A27)
Experiment 20
Create a Worksheet to implement following Lookup formulas using Row &
Column function.
Solution:
ROW
=VLOOKUP($C$107,$A$94:$E$104,ROW(B2),0)
ROWS
=VLOOKUP($C$107,$A$94:$E$104,ROWS($G$107:$G$108),0)
Column
=VLOOKUP($A$109,$A$94:$E$104,COLUMN(B2),0)
Columns
=VLOOKUP($A$109,$A$94:$E$104,COLUMNS($D$106:$E$106),0)
Experiment 21
Create a Worksheet to implement following Data Validation function
Solutions:
Whole Number
Text Length
Date
Drop down
Coustom
Experiment 22
Create a Worksheet to implement following Data Validation using List
function
Solution
Experiment 23
Create a Worksheet to implement following Data Validation using
Conditional formatting
Solution
Bold
Italic
Underline
All Border
No Border
Fill Color
Font Color
Experiment 24
Create a Worksheet to implement following Sorting and Filtering.
Solution:
Filter
Sorting
Experiment 25
Create a Worksheet to implement following macro function.
Solution:
How to Create a Macro in Excel
Here are the steps from which you can come to know how to build a macro in Excel.
Step 1: Open MS Excel
Open Excel. Then go to File tab and select options bar.
Step 2: Select Customize Ribbon
Select customize ribbon option and make sure developer checkbox is selected.
Solution:
Experiment 27
Create Pivot Table by using Data given below add prepare Pivot Chart?
Solution:
Experiment 28
Create Pivot Table by using Data given below add prepare Grouping by
date?
Solution:
Experiment 29
Create a MS-Excel worksheet and find data by using INDEX?
Solution:
INDEX =INDEX (A2:B8, H12, H13)
Experiment 30
Create a MS-Excel worksheet and find data by using CHOOSE?
Solution:
CHOOSE: - =CHOOSE(B2,"blue","yellow","Green","black")