You are on page 1of 48

Business Analytics Lab

Practical File

NAME: HIMMAT SAI


ROLL NO: 2021UBA9027
Table Of Contents

1. EXPERIMENT 1 WRITE THE STEPS FOR DATA


VALIDATION

2. EXPERIMENT 2 WRITE THE STEPS TO CREATE


CONDITIONAL FORMATTING

3. EXPERIMENT 3 WRITE THE STEPS TO CREATE


THE FOLLOWING

4. EXPERIMENT 4 WRITE THE STEPS TO CREATE


WHAT IF ANALYSIS

5. EXPERIMENT 5 WRITE THE STEPS TO RUN


ISERROR FUNCTION

6. EXPERIMENT 6 WRITE THE STEPS TO SHOW


CIRCULAR CELL REFERENCING,
TABLE AND NAME RANGE FILE

7. EXPERIMENT 7 WRITE TO SHOW DIFFERENT


TYPES OF CHART AND
GRAPHS

8. EXPERIMENT 8 WRITE THE STEPS TO SHOW


CREATING MACROS
Experiment-1

Aim: To write the steps for data validation

a) Whole numbers greater than or equal to 200

 Select cell “B1”, navigate to “Data” option and select “Data Validation”

 Upon clicking, a new window appears. Select “Whole number”from the


“Allow”drop-down menu.

 Select “Greater than or equal to” from the “Data” drop-down menu.
 Mention the minimum value as required. Given value : 200

 The value in cell only takes values greater than or equal to 200,
otherwise it shows an error.
b) Text length upto 7 characters

• Select “B2” cell, navigate to “Data” option and select “Data


Validation”.
• Upon clicking, a new window appears. Select “Text Length” from the
“Allow”drop-down menu.
• Select “Less than or equal to” from the “Data” drop-down menu
• Mention the maximum value as required. Given value : 7

 The value in cell only takes text length less than or equal to 7, otherwise
it shows an error.
c) Date not between 25-12-2021 and 31-12-2021 as its Christmas and
New year period

• Select “B3” cell, navigate to “Data” option and select “Data Validation”
• Upon clicking, a new window appears. Select “Date” from the
“Allow”drop-down menu.
• Select “Not between” from the “Data” drop-down menu
• Mention the start date and end date as required. Given value : 25-12-
2021 and 31-12-2021 respectively.

 The value in cell only takes values which are not between 25-12-2021
and 31-12- 2021, otherwise it shows an error.
d) Drop down list for courses in your department

• Select “B4” cell, navigate to “Data” option and select “Data Validation”
• Upon clicking, a new window appears. Select “List” from the
“Allow”drop-down menu.
• Mention the required list of items separated by comma

• The values listed are available as drop-down.


• Select the required item from the drop-down menu and cell shall
reflect the same.

• Values other than available in drop-down shall show an error

e) Input message and error message for (c)

• Select “B5”cell, navigate to “Data”option and select “Data Validation


• Select the “Input Message” tab. Provide the input message to be shown
when the cell is selected by the user. Click OK.

• Input message is shown.

• For error message, select “B2” cell. Navigate to “Data Validation”. Select
“Error Alert” tab. Type the error message to be displayed when user enters
invalid value other than mentioned in data validation rule.

• Error message pops up when user enters invalid value in B3 cell


Experiment-2
Aim: To write the steps to create conditional formatting

a) Numbers less than 50

 select the numbers cell and click on conditional formating


and click on highlight cell rules and then click on less than.

 write down 50 on format cell and click ok


b) For months December, March and August

 Select the month column, click on conditional formatting and click on


highlight cell rule and select text that contain.

 Now write down the month which you want to highlight and click on ok.
c) Top 10% COVID-19 cases in India (statewise)

 select the covid case cell click on conditional formatting and click on top
bottom rule and select top 10%

 fill format cell with 10 and choose necessary color then click on ok.
d) Bars showing a company’s sales in different months

 select the company sales column click on conditional formatting and


select data bars.
e) Scales for different bakery products prepared at different
temperatures

 select the bakery temperature column click on conditional formatting


and select color scales.
f) Icon sets for share values of Reliance

 select the share value column click on conditional formatting and select
icon set.
g) Dates for the next month

 select the entire date column click on conditional formatting and select
Data occurring option

 Select from format cell next month and click on ok.


h) Clear rules

 select the whole table click on conditional formatting and go to clear


rules and select clear rules from entire cells.
Experiment-3
Aim: To Write the steps to create the following:

a) Calculate average salary of employees of XYZ Co.

 To show average salary write =average and select the whole salary
cell Press enter
b) Calculate sum of salary of all employees.

 write =sum and select the whole salary cell and click on ok.
Press enter
c) Highlight the employee having minimum and maximum
salary.

 select the salary cell and go to conditional formatting and


select manage rules.
 Now click on new rules and select format only top and bottom
ranked value

 select top rank value and choose color as your choice Click on ok
and now maximum salary is highlighted.
 For minimum salary click on bottom choose color as per your
choice click on ok.
Experiment 4
Aim: To write the steps to create what if analysis

a) Create Scenario Summary for price=45, 52, 55, 60 and 65.

 First click on Data and go to What-If-Analysis. After This, click on the


option of Scenario Manager.
 After this Click on ADD and write the Scenario that Has to be added.

 After this Click on OK and Enter the value of Price that is 45.

 After this click on OK, and a Scenario is Added in the list.


 The same Steps are to be repeated for the price value of 52,55,60 and
65.

 After adding All the Scenarios in the List, Click on Summary.

 After this click on ok to the scenario summary table of all the prices
b) Identify the number of Units to be Sold for a Profit of Rs. 25,000
(considering price as 50).

 click on What-If-Analysis, and select the option of Goal seek.

 After this Enter the Cells that has to be changed.


 After this press on ok to see the results.

c) Calculate the profit for the following table:


Price (Rs.) Quantity(units)
42 500
56 700
61 200
65 300
70 800
73 450
80 220

 Calculate total Profit by keeping the price as 42 and Quantity as 500.


After this type, (=) the total profit calculated and press Enter
PRACTICAL-5
AIM-: TO Write the Steps to run ISERROR Function.

Steps Involved -:
1. To Run the Function of ISERROR, type this Formula in the Cell that is –: =
(ISERROR and select the cell).

2. After this Press Enter and If there is a Error then it will show (TRUE) in
the Cell and if there is no Error then it will show (False) in the Cell.

3. Then Apply this Formula to all the Cells and the Results will be whether
it is (TRUE) or (False.)
AIM -: To Write the Steps to Run the Function of
IFERROR FUNCTION.
1. To run the Function of IFERROR, First Calculate the Total Cost by writing
the formula in the Cell.

2. After this press Enter, and apply the formula to all the Cells and the total
profit will be Calculated.
3. After the Total Cost is calculated type this Formula in the Cell that is :
=(IFERROR and select the value, “Error”).

4. After Typing this Formula press enter and Apply this Formula to all the
Cells.
5. If There is an Error in the Value then it will show ERROR and if the value
is Correct then the Value will be shown.
Experiment-6

1. We have to do circular cell


referencing.
.As neither rent is given nor net profit. So it will show problem if we try
to solve the question.

. Go to “File” option.
. Select “Excel option” given at the bottom.
.Now go to “Formulas”.
. Now click on “Enable interative calculation”.
2. We have to create a table for the
given data.
. Go to “Insert” option.
.Then go to the “Table” option.
3. We have to create, rename and delete
name range.
.To create a name range we have to select the particular column and
then go to “Name Box”. There we have to write the name that we want
to give.
. To rename it we have to go to “Formulas” option. Then we have to go
to “Name Manager”. There we have “Edit” option. This help you to
rename the name.
.Similarly to delete the name we can select the “Delete” option in the
name manager box.
4. Write steps for the following using
name range:
Sum
Maximum
Minimum
Average
Count
Counta
Countblank
Small
Large
.For finding the sum use =SUM(the range)
.For finding maximum use =MAX(the range)
.For finding Minimum use =MIN(the range)
.For finding the average use =AVR(the range)
.For finding the count use =count(the range)
.For finding the counta use =counta(the range)
.For finding the countblank =COUNTBLANK(the range)
.For finding the small use =small(the range)
.For finding the large use =large(the range)
Experiment-7

1. We have to show the pie chart for the


question given
. Now select the table given
. Go to “Insert” option. Select “pie” option.

2. We have to show column for the data


given.
. Select the whole table first. Then, Go to “Insert” option. Select the
“Column” option there.
3. We have to show a bar graph for data
given.
. Select the table given. Then go to the “Insert” option.
Select the “Bar” option there.

4. We have to show a line graph for the


data given.
. Select the table given. Then go to “Insert” option. Then select
the”line” option.

5. We have to show an Area graph for


the data given.
. Select the table given. Now go to the “Insert” option.
Then go to the “area” option.
EXPERIMENT-8
CREATING MACROS
AIM-: To write the Steps for Creating Macros.
STEPS INVOLVED-:
i. For Creating Macros, First go to File and click on Options.

ii. After clicking on Options, click On Customize Ribbon and tick on


Developer and press OK.

iii. After this Go to Developer, Click on Record Macro, then Name the
Macro, then Create a Shortcut and add Description and press OK.
iv. After this, Delete the Column of Date of Transaction.
v. Then Select the Data, Go to Home, Click on Format, then select Auto Fit
Column Width.

vi. Then Change the Amount Column value to Currency. To Change the
value to Currency, First select the Column and go to home and on
Numbers change it to Currency.
vii. Then Do the Total Sum of the Amount and Bold it.
viii. Then Select all the Headings and Highlight them with any colors and
make them Centrally Aligned.
ix. Then Select all the Data and Create All Borders.

i. Go to Developer and Stop Recording Macro.

ii. Then Go to File and the Save the File and the Format of Saving the Files
should be Macro Enabled XL.S WORKBOOK.
I. Then Open the Newly File, copy the Raw Data and

II. Then use the Shortcut Key to Run the Macro (OR) Go to Developer click
on Macro, then select the Created Macro and RUN.
THANKYOU

You might also like