Sure, I'd be happy to guide you through each of these analyses in Excel. I'll provide step-by-step instructions for each task, and you can perform them on separate sheets in your workbook, renaming each sheet according to the task number.
Task 1: Formatting the 'amount' and 'date' Columns
Objective:
- Format the 'amount' column to display values as currency up to 2 decimal places.
- Apply date formatting to the 'date' column to show dates in 'dd m, yy' format.
Instructions:
-
Open the Workbook:
- Open
Espresso Store Data.xlsx in Excel.
-
Create a New Worksheet:
- Click the '+' icon next to existing sheet tabs to add a new worksheet.
- Right-click the new sheet tab and select Rename. Name it Task 1.
-
Copy Data (Optional):
- If you prefer to work on a copy, select all data from the original sheet (e.g., Sheet1) by clicking the triangle at the top-left corner of the sheet.
- Copy (Ctrl+C) and paste (Ctrl+V) the data into Task 1.
-
Format the 'amount' Column:
- Select the entire 'amount' column by clicking on its column header (e.g., column D).
- Right-click the selected column and choose Format Cells....
- In the Number tab, select Currency.
- Set Decimal places to 2.
- Choose your desired Symbol (e.g.,
$ for US Dollars).
- Click OK.
-
Format the 'date' Column:
- Select the entire 'date' column.
- Right-click and choose Format Cells....
- In the Number tab, select Custom.
- In the Type field, enter
dd m, yy.
- Click OK.
- Your dates will now display in the format like
05 Oct, 23.
Task 2: Sorting and Filtering Orders
Objective:
- Arrange orders sorted by 'ship city' in Z to A order and by 'amount' in descending order.
- Display orders with an amount greater than 500 and status 'Returned'.
Instructions:
-
Create a New Worksheet:
- Add a new worksheet and rename it Task 2.
-
Copy Data:
- Copy the data you need into Task 2.
-
Sort Orders:
- Select the entire data range.
- Go to the Data tab and click Sort.
- In the Sort dialog box:
- Sort by: Choose ship city.
- Sort On: Select Values.
- Order: Choose Z to A.
- Click Add Level.
- Then by: Choose amount.
- Order: Select Largest to Smallest.
- Click OK.
-
Filter Orders:
- With the data still selected, click on Filter in the Data tab to add filter arrows.
- Filter 'amount' Column:
- Click the dropdown arrow in the 'amount' column header.
- Hover over Number Filters and select Greater Than....
- Enter 500 and click OK.
- Filter 'status' Column:
- Click the dropdown arrow in the 'status' column header.
- Uncheck all options except Returned.
- Click OK.
- The filtered data now displays orders with an amount greater than 500 and status 'Returned', sorted as specified.
Task 3: Retrieving 'ship state' for Customer ID 442660
Objective:
- Find and display the 'ship state' associated with customer ID 442660.
Instructions:
-
Create a New Worksheet:
- Add a new worksheet and rename it Task 3.
-
Set Up the Lookup:
- In cell A1, type Customer ID.
- In cell B1, type Ship State.
- In cell A2, enter 442660.
-
Use VLOOKUP Function:
Task 4: Labeling Orders as “Most Demanded” or “Least Demanded”
Objective:
- Label orders as “most demanded” if they were placed on the Myntra channel and have an amount greater than 800; otherwise, label them as “least demanded”.
Instructions:
-
Create a New Worksheet:
- Add a new worksheet and rename it Task 4.
-
Add a New Column:
- In the header row, add a new column titled Demand Level.
-
Insert the IF Formula:
-
Copy the Formula Down:
- Click on the cell with the formula.
- Double-click the small square at the bottom-right corner of the cell (the fill handle) to copy the formula down to all rows.
Task 5: Counting Orders and Extracting Middle Part of Order IDs
Objective:
- Count the number of orders from men in the '30-40' age group.
- Extract the middle part of each order ID.
Instructions:
Counting Orders:
-
Create a New Worksheet:
- Add a new worksheet and rename it Task 5.
-
Use COUNTIFS Function:
Extracting Middle Part of Order ID:
-
Identify the Structure of Order IDs:
- Determine the total length and the portion you consider as the "middle part".
-
Add a New Column:
- In your data, add a new column titled Order ID Middle.
-
Use the MID Function:
Task 6: Replacing Categories
Objective:
- Replace all occurrences of "kurta" category with "kurta sets" and "top" category with "tops".
Instructions:
-
Create a New Worksheet:
- Add a new worksheet and rename it Task 6.
-
Replace "kurta" with "kurta sets":
- Select the entire 'category' column.
- Press Ctrl+H to open the Find and Replace dialog.
- In Find what, enter kurta.
- In Replace with, enter kurta sets.
- Click Replace All.
-
Replace "top" with "tops":
- Repeat the above steps:
- Find what: top
- Replace with: tops
- Click Replace All.
Task 7: Calculating Order Dates Three Months Later
Objective:
- Calculate the date three months after each given order date.
Instructions:
-
Create a New Worksheet:
- Add a new worksheet and rename it Task 7.
-
Add a New Column:
- In your data, add a new column titled Date + 3 Months.
-
Use the EDATE Function:
- In the first cell under Date + 3 Months (e.g., cell C2), enter:
=EDATE(B2, 3)
- B2: Replace with the cell containing the original order date.
- Press Enter.
- This function adds 3 months to the date.
- Copy the formula down to all rows.
-
Format the New Dates (Optional):
- Format the Date + 3 Months column to display dates in your preferred format.
Task 8: Creating a One-Way Data Table for Loan Amounts
Objective:
- Show how different interest rates from different banks affect the loan amount of individuals.
Instructions:
-
Open the 'What if Dataset':
-
Create a New Worksheet:
- Add a new worksheet and rename it Task 8.
-
Set Up the Loan Calculation:
- Assume you have a formula to calculate loan amounts based on interest rates.
- For example, in cell B1, enter the interest rate.
- In cell B2, enter the loan amount calculation formula referencing B1.
-
Prepare Interest Rates:
- List the different interest rates in a column (e.g., cells A5:A10).
-
Set Up the Data Table:
- In cell B4, enter Loan Amount.
- In cell B5, reference the loan amount formula (e.g.,
=B2).
-
Create the One-Way Data Table:
- Select the range A4:B10.
- Go to the Data tab, click on What-If Analysis, and choose Data Table.
- In the Column input cell, enter B1 (the cell with the interest rate).
- Click OK.
- The table will now display loan amounts for each interest rate.
Task 9: Using Goal Seek to Achieve a Target Profit
Objective:
- Find out how much change in administration expenses is required to achieve a goal profit of 400,000.
Instructions:
-
Open the 'What if Dataset':
- Use the same workbook as Task 8.
-
Create a New Worksheet:
- Add a new worksheet and rename it Task 9.
-
Set Up the Profit Calculation:
- Ensure you have a profit calculation formula that includes administration expenses.
- For example, in cell C1, you have Administration Expenses.
- In cell C2, you have Profit, calculated based on expenses and revenues.
-
Use Goal Seek:
- Go to the Data tab, click on What-If Analysis, and choose Goal Seek.
- In the Goal Seek dialog:
- Set cell: Enter C2 (the cell with the profit calculation).
- To value: Enter 400000.
- By changing cell: Enter C1 (the cell with administration expenses).
- Click OK.
- Excel will adjust the administration expenses to reach the target profit.
Task 10: Creating Pivot Tables and Charts
Objective:
- Summarize total sales (amount) by month.
- Compare the number of orders across different age groups using a Pivot Table and chart.
Instructions:
A. Summarize Total Sales by Month:
-
Create a New Worksheet:
- Add a new worksheet and rename it Task 10.
-
Insert a Pivot Table:
- Click anywhere in your data range.
- Go to the Insert tab and click on PivotTable.
- Choose to place the PivotTable on Task 10.
-
Configure the Pivot Table:
- Rows: Drag the 'date' field to the Rows area.
- Values: Drag the 'amount' field to the Values area.
- Ensure it shows Sum of amount.
- Group Dates by Month:
- Right-click any date in the PivotTable.
- Select Group.
- Choose Months and click OK.
B. Compare Number of Orders Across Age Groups:
-
Insert Another Pivot Table:
- Click on an empty area in Task 10.
- Go to Insert > PivotTable.
-
Configure the Pivot Table:
- Rows: Drag the 'age group' field to the Rows area.
- Values: Drag the 'order id' field to the Values area.
- Ensure it shows Count of order id.
-
Create a Pivot Chart:
- Click inside the second PivotTable.
- Go to the PivotTable Analyze tab and click on PivotChart.
- Choose a chart type (e.g., Column Chart) and click OK.
- The chart will display the number of orders for each age group.
Final Note:
- Remember to save your workbook after completing each task.
- Ensure each task is placed on a separate sheet and the sheet is renamed accordingly (e.g., Task 1, Task 2, ... Task 10).
Feel free to ask if you need further clarification on any of these steps!