Class6 Slide
Class6 Slide
Scenario:
1. A list of student marks are given. Based on their performance, they need to be
given remarks “Excellent”, “Good”, and “Fail”. Do this using IF logic.
2. A list of employees with their sales performance; only SUM the amount whose sales
are worth 20,000 or more. Do this using the SUMIF logic.
3. Using the same list as mentioned in #2, count the number of employees whose
sales are worth 20,000 or more.
INDEX and MATCH
How to use INDEX in Excel?
The INDEX function returns the value of a cell at a specific row and column in a given range.
How to use MATCH in Excel?
Normally, MATCH would return the row number for a specified data in the dataset.
Use ‘Data Validation’ and nest INDEX-MATCH for better functionality.
INDEX finds a cell's value in a table using its column and row number · MATCH finds the
position of a cell in a row or column.
Activity: Simple INDEX and MATCH
Job Role
Commission Rate
Y/o Experience
Activity: INDEX and MATCH for Complex Criteria
Use:
=INDEX('Commission Rates'!$B$2:$E$4,
MATCH(INDEX(Roles!$B$2:$B$21,
MATCH('Sales Records'!B2, Roles!$A$2:$A$21,
0)), 'Commission Rates'!$A$2:$A$4, 0),
MATCH('Salesperson Experience Years'!B2,
'Commission Rates'!$B$1:$E$1, 0))
*Quick Break*
Activity: Pivot Table
Using ChatGPT for Learning Excel
Don't ask ChatGPT to do your Excel homework—unless you want to explain to your
instructor why your formulas are suspiciously perfect! 😏
Retrospective: MS Excel
As we come towards the end of a section in our course, MS Excel, I, your instructor,
would like to know the following: