Sample Data
A simple list of names and their scores in a spreadsheet.
| Cell | Value |
|---|---|
| A1 | Name |
| B1 | Score |
| A2 | Alice |
| B2 | 85 |
| A3 | Bob |
| B3 | 90 |
| A4 | Carol |
| B4 | 78 |
A simple list of names and their scores in a spreadsheet.
| Cell | Value |
|---|---|
| A1 | Name |
| B1 | Score |
| A2 | Alice |
| B2 | 85 |
| A3 | Bob |
| B3 | 90 |
| A4 | Carol |
| B4 | 78 |
Custom script function: getAverageScore()A B 1 | Name | Score | 2 | Alice | 85 | 3 | Bob | 90 | 4 | Carol | 78 | -> Script reads B2:B4 for scores
A B C 1 | Name | Score | Avg | 2 | Alice | 85 | | 3 | Bob | 90 | | 4 | Carol | 78 | 84.33| Cell C4 shows the average score calculated by the script.