Name: ID:
Part A: Total marks: 15
Fig: 1
Based on figure 1, answer the following question from 1-3
1. How to sort the name and state of the customers according to A to Z and Z to A
respectively?
Ans: In Excel, you can easily sort data in ascending (A to Z) or descending (Z to A) order using
the sort feature. Here's how you can do it:
1. **Select the Data Range**: First, select the range of cells that contain the customer names and
states.
2. **Open the Sort Dialog Box**:
- In Excel, go to the "Data" tab on the ribbon.
- Click on the "Sort A to Z" or "Sort Z to A" button in the "Sort & Filter" group. The button icon
may vary depending on your version of Excel.
3. **Choose Sort Options**:
- If prompted, select whether your data has headers or not.
- Choose the column you want to sort by. For example, if the customer names are in column A
and the states are in column B, select the appropriate column.
- Choose whether you want to sort in ascending (A to Z) or descending (Z to A) order.
4. **Apply Sorting**:
- Click "OK" to apply the sorting.
Your data will now be sorted according to the selected column in either ascending or descending
order.
Please note that the steps may vary slightly depending on the version of Excel you are using, but
the general process remains the same.
2. To get the data of financial type of Georgia state, what will be the process?
Ans: To get the data of the financial type of Georgia state, you would typically follow these
general steps:
1. **Identify the Data Source**: Determine where the financial data is located. This could be in a
database, spreadsheet, online platform, or any other data storage system.
2. **Access the Data**: Depending on the data source, you may need to log in to a system,
access a specific database, or open a file.
3. **Query or Filter the Data**: Once you have access to the data, you'll need to query or filter it
to retrieve only the financial data related to Georgia state. This could involve using SQL queries
if the data is in a database, using filters in a spreadsheet, or using specific search criteria in an
online platform.
4. **Retrieve the Data**: After applying the necessary filters or queries, retrieve the financial
data related to Georgia state.
5. **Analyze or Export the Data**: Once you have the data, you can analyze it further, visualize
it, or export it to another system for further processing.
Specific steps may vary depending on the data source and tools you're using. For example:
- If the data is in a database, you might use SQL queries to filter the data based on the state (e.g.,
Georgia) and the financial type.
- If the data is in a spreadsheet, you can use Excel or Google Sheets to filter the data based on the
state and financial type.
- If the data is in an online platform, you might use the platform's search or filter functionality to
retrieve the relevant data.
Once you've identified the data source and the tools you'll use, you can proceed with the specific
steps to retrieve the financial data of Georgia state.
3. What is the basic difference between AND and OR function? Give example.
Ans: The basic difference between the AND and OR functions lies in their logical operations and
the conditions they evaluate.
1. **AND Function**:
- The AND function returns TRUE if all its arguments evaluate to TRUE, and it returns FALSE
otherwise.
- It requires all conditions to be true for the result to be true.
- It is used when multiple conditions must be met simultaneously.
Example:
=AND(A1>10, B1<20)
This formula returns TRUE if cell A1 contains a value greater than 10 AND cell B1 contains a
value less than 20. If either condition is not met, the result is FALSE.
2. **OR Function**:
- The OR function returns TRUE if any of its arguments evaluate to TRUE, and it returns
FALSE only if all arguments are FALSE.
- It requires at least one condition to be true for the result to be true.
- It is used when any one of multiple conditions can be met for the result to be true.
Example:
=OR(A1="Apple", A1="Banana", A1="Orange")
This formula returns TRUE if the value in cell A1 is equal to "Apple", "Banana", or "Orange".
If none of these conditions are met, the result is FALSE.
In summary, the AND function requires all conditions to be true for the result to be true, while the
OR function requires at least one condition to be true for the result to be true.
Fig:2
4. Based on the fig:2, show the way of having result for Samia using Nested IF function.
Ans:
5. Based on the condition of Accessories, find out the sum of this product line. And find out
the total number of consumables from the product line.
Part B: Total Marks 15
Circle the right answer each carries 2 marks
1. If all the conditions are fulfilled, using the OR function, the result will be “TRUE”.
• Yes
• NO
• Both
• Not Given
2. In order to Protect the particular cells, the first task should be to protect the whole sheet.
• Yes
• No
• May be
• Not given
3. To find out a range of customized data from numerical values, which function will be used?
• Subtotal
• Conditional Formatting
• IF
• Filtering
4. Cells always need be protected as in excel they can be editable any time.
• True
• False
• May be
• Not given
5. Which function is more important to you in excel? Why?
The importance of Excel functions varies depending on the specific tasks and
requirements of the user. Some commonly used functions in Excel include:
1. COUNTIF / SUMIF: These functions are used for counting or summing values in a
range that meet specific criteria. They are valuable for data analysis and
summarizing information based on certain conditions.
The importance of these functions, or any other functions in Excel, ultimately depends on
the specific tasks and goals of the user. Different users may find different functions more
important based on their job roles, industry, and specific requirements for data analysis
and reporting.
6. Write down the difference between Sumifs and countifs.
The main difference between the SUMIFS and COUNTIFS functions in Excel lies in their
purpose and what they return:
The main difference between SUMIFS and COUNTIFS is their output:
SUMIFS: Calculates the sum of cells that meet multiple criteria.
COUNTIFS: Counts the number of cells that meet multiple criteria.
In summary, SUMIFS returns the sum of matching cells, while COUNTIFS returns the count of
matching cells.
1. **SUMIFS Function**:
- Purpose: The SUMIFS function is used to sum values based on multiple criteria.
- Syntax: `SUMIFS(sum_range, criteria_range1, criteria1, [criteria_range2, criteria2], ...)`
- Returns: It returns the sum of values in a range that meet multiple criteria.
Example:
=SUMIFS(B2:B10, A2:A10, "Apples", C2:C10, "Red")
This formula sums the values in range B2:B10 where the corresponding values in range A2:A10
are "Apples" and the corresponding values in range C2:C10 are "Red".
2. **COUNTIFS Function**:
- Purpose: The COUNTIFS function is used to count the number of cells that meet multiple
criteria.
- Syntax: `COUNTIFS(criteria_range1, criteria1, [criteria_range2, criteria2], ...)`
- Returns: It returns the count of cells that meet multiple criteria.
Example:
=COUNTIFS(A2:A10, "Apples", C2:C10, "Red")
This formula counts the number of cells where the corresponding values in range A2:A10 are
"Apples" and the corresponding values in range C2:C10 are "Red".
In summary, while both SUMIFS and COUNTIFS allow for multiple criteria to be specified,
SUMIFS returns the sum of values that meet the criteria, while COUNTIFS returns the count of
cells that meet the criteria.
7. Write down the formula for finding out the range of the values from 200000-350000.
To find the range of values from 200,000 to 350,000 in Excel, you can use the COUNTIFS
function. Here's the formula:
=COUNTIFS(range, ">=200000", range, "<=350000")
Replace "range" with the actual range of cells where you want to check for values in your Excel
worksheet.
This formula will count the number of cells within the specified range that contain values
between 200,000 and 350,000, inclusive.
8. Write down the formula for finding out the maximum amount from July Month.
To find the maximum amount from the July month in Excel, you can use the MAXIFS function
if you're using Excel 2019 or later versions. If you're using an older version of Excel, you can use
the MAX function with an array formula. Here's how you can do it with both methods:
1. **Using MAXIFS (Excel 2019 or later)**:
=MAXIFS(amount_range, month_range, "July")
Replace "amount_range" with the range of cells containing the amounts and "month_range"
with the range of cells containing the month names.
2. **Using MAX with Array Formula (for older versions of Excel)**:
=MAX(IF(month_range="July", amount_range))
This is an array formula, so you need to press Ctrl + Shift + Enter after typing the formula
instead of just Enter.
Replace "amount_range" and "month_range" with the actual ranges of cells containing the
amounts and month names, respectively. This formula will find the maximum amount from the
July month in your data.
9. Write down the formula for finding out the range of the values greater than 500,000.
To find the range of values greater than 500,000 in Excel, you can use the COUNTIF
function. Here's the formula:
=COUNTIF(range, ">500000")
Replace "range" with the actual range of cells where you want to check for values in your Excel
worksheet.
This formula will count the number of cells within the specified range that contain values greater
than 500,000. If you want to find the actual range of cells containing these values, you may need
to use other functions like FILTER or a combination of INDEX and MATCH depending on your
specific requirements.
10. Write down the sequence of Protecting your sheet as well as making the cells editable.
To protect a worksheet in Excel while allowing certain cells to remain editable, you need to
follow these steps:
1. **Select Cells to Remain Editable**:
- Select the cells or range of cells that you want to remain editable by clicking and dragging
to highlight them.
2. **Unlock Selected Cells**:
- Right-click on the selected cells and choose "Format Cells" from the context menu.
- In the "Format Cells" dialog box, go to the "Protection" tab.
- Uncheck the "Locked" checkbox and click "OK". This will unlock the selected cells.
3. **Protect the Worksheet**:
- Go to the "Review" tab on the Excel ribbon.
- Click on "Protect Sheet" in the "Changes" group.
- In the "Protect Sheet" dialog box, you can set a password if desired, and choose any other
options you want to apply.
- Make sure to uncheck the "Select locked cells" checkbox to prevent users from selecting
the locked cells without entering a password.
- Click "OK" to protect the worksheet.
Now, the selected cells are unlocked and editable, while the rest of the worksheet is protected.
Users will be able to edit the unlocked cells but will need to enter a password (if one was set)
to make changes to the protected cells or the structure of the worksheet.