Search the courses, subjects, tracks, games and features, or jump straight to a page.
Learn it your way
A short class with Sarah and her students. The other ways are under More.
Sign up free to listen. Transcripts are free to read.
Today we'll focus on creating Excel formulas using prompts. For instance, if we want to calculate the average sales from a range of cells while ignoring blanks, how would you frame this prompt?
You might say, 'Create an Excel formula to calculate the average sales in cells B2 to B10, ignoring blank cells.'
Exactly! And the formula would look like this: =AVERAGEIF(B2:B10, '<>'). What does the AVERAGEIF function do?
It calculates the average of cells that meet a specific condition, in this case, non-blank.
Right! To remember this, think of AVERAGEIF as AVERAGE with a filter. Can anyone give me another example of a spreadsheet task?
How about using VLOOKUP to find data across sheets?
Great suggestion! VLOOKUP is very powerful for that. Let's break down a prompt for using VLOOKUP next.
Now let's look at using VLOOKUP with prompts. How would you explain a prompt for matching a student ID with a name from another sheet?
I would say, 'Explain how to use VLOOKUP to match a student ID with a name from another sheet.'
Perfect! VLOOKUP will help us find a name based on a student ID. Can anyone describe the components of the VLOOKUP formula?
It includes the lookup value, the range to search, the column index for the result, and an option for an exact or approximate match.
Correct! For example, =VLOOKUP(A2, Sheet2!A:B, 2, FALSE) looks for the ID in A2 on 'Sheet2' and returns the corresponding name.
How do I remember the structure of VLOOKUP again?
Think of it as 'Value from Lookup using a table in an Upward direction.' Let’s do a quick recap on VLOOKUP.
Let’s apply what we've learned. Imagine we have a CSV file with sales data. What prompt can we use to calculate the total sales?
We could prompt, 'Create an Excel formula to sum the total sales from cells C2 to C20.'
Exactly! And the formula would be =SUM(C2:C20). What if we wanted to filter these sales above a certain threshold?
Then, we could use a prompt for SUMIF, like 'Calculate total sales where sales are greater than $100.'
Spot on! The formula would be =SUMIF(C2:C20, '>100'). Remember, practice will improve your fluency in creating these prompts. Who wants to try with a CSV scenario?
I can try! Let's say we want to find the average sales for products over 50 units sold?
That sounds great! What would your prompt be?
The process of creating specific inputs for AI to generate desired outputs.
A function that calculates average values while ignoring blanks or specific criteria.
A function used to retrieve data from a different table based on a lookup value.
VLOOKUP, VLOOKUP, find the name, using a value, that’s your aim!
In a village, a wise old man (‘AVERAGEIF’) calculated the average rain, ignoring empty days, until the sun shone again.
VLOOKUP: Value, Lookup, Output from a Key.
AVERAGEIF: Average for Valid Entries Required, Ignoring Blanks.
Term
What does the AVERAGEIF function do?
Click to flip
Term
What is the purpose of VLOOKUP?
Click to flip
An Excel function that calculates the average of a range, excluding specified criteria.
An Excel function that searches for a value in the first column of a table and returns a value in the same row from a specified column.
Comma-Separated Values, a file format used to store tabular data in plain text.
This section focuses on utilizing prompts to create and analyze spreadsheet formulas and CSV data while enhancing understanding of essential spreadsheet tasks.
Learners will explore how to craft effective prompts for spreadsheet tasks such as calculating averages or using functions like VLOOKUP to analyze CSV data, improving their prompt engineering skills for data management.
In this section, learners will become proficient in leveraging prompt engineering for spreadsheet and CSV tasks. Key skills include writing effective prompts for Excel formulas, understanding functions like AVERAGEIF to calculate averages while ignoring blank cells, and employing VLOOKUP to match data across sheets. By mastering these techniques, students can enhance their data analysis capabilities and streamline data processing workflows. Understanding how to structure prompts clearly can ensure accurate outputs from AI, ultimately saving time and increasing productivity in technical tasks.