Beruflich Dokumente
Kultur Dokumente
Note: There are usually more than one way to solve each question.
PRACTICE 1
A. Count sum
1. Use COUNTIF function.
2. Use COUNTIFS function.
3. Use COUNTIF function with wildcards in criteria.
4. Use COUNTIFS function for each range of revenue, then sum them.
5. Use COUNTBLANK function.
6. Use SUMIF function.
7. You can use SUMIF and COUNTIF functions, but remember that in HCMC
and Danang also means not in Hanoi, so you only need to use AVERAGEIF
function.
8. Use SUMPRODUCT function.
B. Logical
1. Use IF function.
2. Use IF and OR functions.
3. Use IF function in IF function (nested IF).
4. Its better to define names for cells and ranges to solve this question. To
define a name, open Formulas -> Name Manager. Click New button, set
Refers To the cell or range you want to be named, set Name any name you
want, then click OK. Or you can use Create from Selection button to
automatically define the name for your selected cells.
So heres the input: Position (LC, SC, LP, SP), Premium, Strike, NContracts
(number of contracts) and Price (it will be the horizontal axis of your
diagram).
And heres the output:
- Moneyness:
PRACTICE 2
A. Format Cells
1. Set format 0.00000000000
2. Set format dd/mm/yyyy
3. Set format hh:mm
4. Set format Fraction
5. Use RIGHT function to get the number.
B. Find Replace
1. Use PROPER function.
2. Use Find dialog to search for * .
3. Use Replace dialog.
4. Use Go To Special -> Visible cells only to select visible columns.
5. Use Go To Special -> Formulas.
6. Find Th, Match entire cell contents.
7. Select Code column. Use Go To Special -> Blanks to select blank cells.
Right click -> Delete, choose Shift cells up, then click OK.
8. Select Tn & Tn 2 columns. Use Go To Special -> Row Differences.
C. Data Validation
1+4. Select A2, then open Data Validation:
- Allow: Whole number
- Data: Between
- Minimum: 2011
- Maximum: 2014
- Error Alert -> Style: Stop
2+5. Select A3, then open Data Validation:
- Allow: Custom
- Formula: =AND(WEEKDAY(A3)>1,WEEKDAY(A3)<7)
- Error Alert -> Style: Warning
PRACTICE 3
1. Select MSV column, then open Conditional Formatting -> New Rule
Select Use a formula to determine which cells to format, then input this
formula:
=NOT(ISNA(MATCH(A5,Transfers!$C$2:$C$16,0)))
Set the format you want, then click OK.
2. First, create new sheet with 3 columns: MSV, H v tn, Ngy sinh.
In MSV column, fill the student IDs from both NHAE408.2 sheet and Transfers
sheet.
Then use VLOOKUP function to automatically retrieve full name and DOB of
students from NHAE408.2 sheet and NHAE408.1 sheet.
Set format of Ngy sinh column: dd/mm/yyyy
See Practice 5 to know how to extract first name from full name. Then sort
the first name column A to Z.
PRACTICE 4
A. Statistical
3. Use LN function.
4. Open Data Analysis -> Descriptive Statistics.
- Input range: $B$1:$B$152
- Labels in first row
- Summary statistics
Then click OK.
5. Open Data Analysis -> Histogram.
- Input range: $B$1:$B$152
- Bin range: $H$1:$H$45
- Labels
- Chart output
Then click OK.
6. Select Beta column, open Insert -> Pivot Chart, then click OK
- Rows: Beta
- Values: Count of Beta
You can select data in Row Labels, then use PivotTable Tools -> Analyze ->
Group Selection to group the row labels.
7. Use CORREL function.
8. Use SLOPE function.
9. Copy Ret(), Ret() and Ret() columns to a new sheet, then open Data
Analysis -> Anova: Single factor:
- Input range: $A$1:$C$152
- Labels in first row
Then click OK. Here we have P-value > 0.05, so we cannot reject the null
hypothesis: Alpha, Beta and Delta have similar returns.
10. Copy Ret() and Ret() columns to a new sheet, then open Data Analysis
-> F-test Two-Sample for Variances:
Select StddevP and meanP columns, then choose Insert -> Scatter (X, Y) or
Bubble Chart -> Scatter with Smooth Lines.
D. Pivot
Select the table, open Insert -> PivotTable, then click OK.
1. Rows: Lp
Values: Count of Lp
2. Filters: Lp = A3, Nm hc = 2
Values: Count of Lp
3. Filters: Nm hc = 2
4. Rows: Lp
Values: Max of Cng ngh, Min of Cng ngh, Max of Ti chnh, Min of Ti
chnh, Max of Ngn hng, Min of Ngn hng
5. Rows: Nm hc
Values: Average of Cng ngh, Average of Ti chnh, Average of Ngn hng
6. Select the PivotTable of Question 5, then open PivotTable Tools -> Analyze
-> PivotChart. Select the type of chart you want, then click OK.
PRACTICE 5
A. Solver
1. Set a random rate in C7, calculate PV of cash flows in C5:M5, then
calculate NPV in C6.
Open Data -> What-If Analysis -> Goal Seek:
- Set cell: $C$6
- To value: 0
- By changing cell: $C$7
Then click OK.
2. Set a random rate in C14, calculate PV of cash flows in C12:J12, then
calculate NPV in C13.
Open Data -> Solver:
- Set objective: $C$13
- To: Value of 0
- By changing variable cells: $C$9
Then click Solve.
3. Set annual production of Theta in D26:F26, annual production of Tau in
D27:F27, annual production of both products in D28:F28, annual cost and
total cost in D29:G29, and annual profit and total profit in D30:G30.
Open Data -> Solver:
- Set objective: $G$30
- To: Max
- By changing variable cells: $D$26:$F$27
- Subject to the Constraints: $D$28:$F$28 <= 100
E:
=CONCATENATE(A2,"
",B2,"
",C2,"