Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2...

28
P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887) P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence of my data in a word document, these are figures I need. 1 | Page

Transcript of Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2...

Page 1: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

P2 – Develop a Complex Spreadsheet ModelImporting text file

Above you can see evidence of my data in a word document, these are figures I need.

I copied and pasted my data in to a text file and changed the colons to commas.

1 | P a g e

Page 2: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

I opened it in excel by searching for it.

I went through the import wizard selecting delimited to say that it has been already sorted using commas.

2 | P a g e

Page 3: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

I then imported all 120 figures in to excel. This is evidence of my sales spreadsheet at the beginning with no changes made to it.

3 | P a g e

Page 4: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

Formula view of each spreadsheetSales Spreadsheet

This is the formula view of the sales spreadsheet, this is evidence of a large data set where I imported 120 sales figures.

This is the formula view of the sales spreadsheet, this is evidence of a large data set where I imported 120 sales figures.

4 | P a g e

Page 5: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

Revenue Spreadsheet

This is the formula view of the Revenue Spreadsheet, this is evidence of cell linkage from the income spreadsheet to the sales spreadsheet. In cell B2, you can see the linkage to the sales spreadsheet.

This is the formula view of the Revenue Spreadsheet, this is evidence of cell linkage from the income spreadsheet to the sales spreadsheet. In cell B2, you can see the linkage to the sales spreadsheet

5 | P a g e

Page 6: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

This is the formula view of the Revenue Spreadsheet, this is evidence of cell linkage from the income spreadsheet to the sales spreadsheet. In cell B2, you can see the linkage to the sales spreadsheet

Expenses & Profit Spreadsheet

This is the formula view of the expenses and profit spreadsheet, this is evidence of cell linkage from the revenue spreadsheet to this (profit) spreadsheet. Look in cell C2 for evidence of cell linkage.

6 | P a g e

Page 7: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

This is the formula view of the expenses and profit spreadsheet, this is evidence of cell linkage from the revenue spreadsheet to this (profit) spreadsheet. Look in cell C2 for evidence of cell linkage.

This is the formula view of the expenses and profit spreadsheet, this is evidence of cell linkage from the revenue spreadsheet to this (profit) spreadsheet. Look in cell C2 for evidence of cell linkage.

This is the formula view of the expenses and profit spreadsheet, this is evidence of cell linkage from the revenue spreadsheet to this (profit) spreadsheet. Look in cell C2 for evidence of cell linkage.

Complex formula

7 | P a g e

Page 8: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

I used a complex formula which consists of 12 calculations, if an error is made in one of the calculation then the rest of the calculations would be wrong. I had to work out sales figures for each comics and add them all up. Then work out the printer paper costs and other costs based on the figures generated from before.

From the total figure that, I had to work out the printer paper costs and other costs which I did by multiplying the total by 0.15. Evidence of this formula can be found in the cell C2.

8 | P a g e

Page 9: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

Large data set

Above is a correct implementation of a large data set. This data set holds over 120 figures and if there was an error in any of the figures then it would affect other figures too.

Multiple worksheets (and cell linkage)

Above you can see evidence of my revenue spreadsheet, I had to use these figures in order to work out some calculations on my expenses spreadsheet.

9 | P a g e

Page 10: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

In order to work out the printer and paper costs, I had to get the total from the revenue page (Cell B13) and multiply it by the percentage shown (Cell A2) in order to get how much is spent on printer and paper costs in April (C2). The same formula was used from then on to work out other cells too.

List Boxes

In order to do list boxes, I had to click on data validation and then click on list and highlight the names I wanted available to select by the user. Above is evidence of what I typed in the window order to get a list box.

10 | P a g e

Page 11: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

I have used a list box to select the name of the author/translator of each comic. This way it is quicker. The names for this are from cells J15:J17.

In order to do list boxes, I had to click on data validation and then click on list and highlight the figures I wanted available to select by the user. Above is evidence of what I typed in order to get a list box.

11 | P a g e

Page 12: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

I used list box in order to select cover cost, figures change based on the cover cost. The figures are taken from Cells F15:F21.This would come useful for P3 when doing my What-if analysis.

Validation Rule

Above is evidence that I set a data validation for the sales spreadsheet allowing only the figures between 0 to 25000 to be entered. I also set an error message to be produced on incorrect entry.

This is the error message that is produces on the sales spreadsheet. This also shows the personalised error message produced. I set a validation rule which would only allow the user to type in a realistic sales figure which would be between 0 and 25,000.

12 | P a g e

Page 13: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

I also set a validation rule for cover cost so that an incorrect cover cost cannot be entered. Above see evidence of the validation rule set.

An error message is also shown when an incorrect cover cost is typed, only the cover cost in the list can be selected. The source for the cover list figures can be found in cell F15:F21 I did the same for cover cost 2 too.

13 | P a g e

Page 14: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

Cell protection

I used cell protection in order to make sure figures are not accidentally deleted. Not only can you protect the worksheet but you can also protect the workbook too. This is useful just in case you do not want anyone without authorised permission to play around with the figures which would affect all the other figures produced.

P3 – Use of Formulae, Features & FunctionsUsing Absolute Cell Reference

As you can see above are two different spreadsheets (sales spreadsheet and revenue spreadsheet) that both contain figures. I used a formula in the revenue spreadsheet in order to get figures from the sales spreadsheet and multiply it by the cover cost.

14 | P a g e

Page 15: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

The figures were already in the same cell in both spreadsheets so it meant I could copy down and across the formula but I had to use absolute cell reference for the cover cost so that when I copy down and across the formula, that cell is locked and in every formula it will use that cell reference.

What if Analysis

If the retailer’s income was cut down to 25% and the publisher’s income was increased to 30% then these are the figures you would get. The publisher would receive £73,500 per month and £65,166.67 in profit which is an increase.

If the petrol cost or in other words distribution cost was increased to 20% and the publisher’s income was decreased to 25% then these are the figures you would get.

15 | P a g e

Page 16: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

If I decreased the cover cost to £2.00 then these are the figures I would get on the revenue spreadsheet. This is evidence of decreasing the cover cost.

Above are the figures I would get if I decreased the cover cost to £2. The publisher would only receive around £40,666.67 in profit which shows that they will make less profit as expenses would need to be paid.

If Statement

I used an If Statement to give an indication whether the publisher profit is over £41,000 or below. For figures equal and above 41,000 it says above target and for figures below 41,000 it says below target. My If Statement can be found in the section labelled Over 41K?

16 | P a g e

Page 17: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

Not Using Absolute Cell Reference

It was not necessary to use absolute cell reference in order to work out the total, minimum, maximum and average for each month. This is because all the figures were next to each other, so the formula changed for cell. For example, the cell B13 I typed in the formula; =sum(b2:b12). It was possible to drag this formula across because excel knows that the formula is going to change in the next corresponding cell because it is working out the next month total.

Correct Operators

Above is evidence of correct operators used. Addition and multiplication has been used in in the profit spreadsheet in order to calculate figures. The above screenshot proves that correct operators have been used in order to calculate figures for expenditure.

And to prove that it works I have also included a second screenshot showing the result when the formula is typed.

17 | P a g e

Page 18: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

Above is evidence of division used in formulas in order to work out the average for each month in sales spreadsheet. The formula can be found in cell C16.

Named Ranges

The above screenshot proves that I have used name ranges by labelling two or more cells for easier reference. For this, I named all the figures as ExpFig which stands for expenditure figures. When I click on this then all the expenditure figures are selected.

18 | P a g e

Page 19: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

In order to give a name to the totals, I could also highlight in and right click then click on define name. I called the figures SalesTotals.

I then used this name range in the formula. It is possible to define a block of cells and refer to the name in the formula rather than the cell reference.

User Interface

I created a user interface called main menu which allows the user to navigate to the intended spreadsheet without having to use the tabs at the bottom, instead they can just click on the buttons.

They can also navigate back to the main menu and also print out spreadsheets all at the click of a button.

Built-in Functions

19 | P a g e

Page 20: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

In excel the above screenshot proves that I used statistical functions in order to calculate total, minimum, maximum and average. Example formulas can be found in cells B13, B14, B15 and B16.

M1 – Refining Complex SpreadsheetsAid Navigation

I created a user interface called main menu which allows the user to navigate to the intended without having to use the tabs at the bottom, instead they can just click on the buttons. I did not have a user interface before.

They can also navigate back to the main menu and also print out spreadsheets all at the click of a button. This option was not available before.

20 | P a g e

Page 21: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

High Voltage Colour Scheme (Easy to view)

This in the menu interface before. As you can see the colours are not that great.

This is the menu after. I used a high voltage colour scheme that involved using light colours and a dark font colour in order to make the figures stand out. I used the standard font that was available. I also kept the colours consistent throughout.

I used a high voltage colour scheme that involved using light colours and a dark font colour in order to make the figures stand out. I used the standard font that was available. I also kept the colours consistent throughout.

21 | P a g e

Page 22: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

I used a high voltage colour scheme that involved using light colours and a dark font colour in order to make the figures stand out. I used the standard font that was available. I also kept the colours consistent throughout.

I used a high voltage colour scheme that involved using light colours and a dark font colour in order to make the figures stand out. I used the standard font that was available. I also kept the colours consistent throughout.

Printing

22 | P a g e

Page 23: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

For each spreadsheet, I added an appropriate title, date and my name as a header. I also adjusted the print layout and print area so that it prints properly according to best fit.

For each spreadsheet, I added an appropriate title, date and my name as a header. I also adjusted the print layout and print area so that it prints properly according to best fit.

For each spreadsheet, I added an appropriate title, date and my name as a header. I also adjusted the print layout and print area so that it prints properly according to best fit.

23 | P a g e

Page 24: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

Conditional Formatting and Rules

Above you can see I have used conditional formatting on my sales spreadsheet. The values that are between 10,000 and 25,000 are highlighted in green on the spreadsheet.

On the expenses and profit spreadsheet, I used a rule that would tell the user whether the publisher profit is over 41,000 or not. The rule can be seen in the cell C13. The rule is if the publisher profit is above or equal to 41,000 then say above target, otherwise say below target.

Data Validation

24 | P a g e

Page 25: Importing text file · Web viewP2, P3 and M1Unit 41 Muhammad Sabeel Hussain (20251887) 8 | Page P2 – Develop a Complex Spreadsheet Model Importing text file Above you can see evidence

P2, P3 and M1 Unit 41 Muhammad Sabeel Hussain (20251887)

I set a validation rule which would only allow the user to type in a realistic sales figure which would be between 0 and 25,000.

I set a validation rule which would only allow the user to type in a realistic sales figure which would be between 0 and 25,000.

An error message is also shown when an incorrect cover cost is typed, only the cover cost in the list can be selected. This is known as effective use of data validation.

25 | P a g e