Lecture 3. Google Sheet: Essential functions

DigiSkills
27 Sept 202217:05

Summary

TLDRВторая часть лекции посвящена работе с практическими функциями в Google Sheets. Рассматриваются базовые функции, такие как сумма, максимум, минимум и среднее значение, а также примеры использования их для расчетов. Демонстрируется работа с функциями умножения и вычитания, а также более сложные задачи, такие как расчет общей стоимости, фильтрация данных и условное форматирование. Лекция также охватывает сортировку данных, создание выпадающих списков и фильтрацию данных для удобного анализа. Пример показывает, как использовать эти функции в Google Sheets и Excel.

Takeaways

  • 😀 Для использования функций в таблицах необходимо начинать с символа равно.
  • 💻 Функции SUM, MAX, MIN и AVERAGE используются для базовых математических операций с данными.
  • 📊 Функция SUMPRODUCT помогает умножать значения столбцов, например, цены на количество.
  • 📉 Для подсчета количества числовых данных используется функция COUNT, а для условного подсчета — COUNTIF.
  • 🧮 В таблицах можно выполнять арифметические действия, такие как вычитание, умножение и деление.
  • 📋 Сортировка и фильтрация данных позволяет выделить определенные данные на основе условий, например, фильтр по цене больше 65 000.
  • 📋 Фильтрация с использованием Filter View удобна для работы с большими данными и сохранения результатов фильтрации.
  • 📑 Условное форматирование помогает изменять цвет ячеек на основе определенных условий, например, цены ниже или выше заданного значения.
  • 📅 Для автоматической генерации случайных данных используется функция RANDBETWEEN.
  • 🖥 Функции Google Sheets аналогичны функциям Microsoft Excel и могут использоваться взаимозаменяемо.

Q & A

  • Какие основные функции были рассмотрены в этом видео?

    -Основные функции, рассмотренные в видео, включают: SUM (сумма), MAX (максимум), MIN (минимум) и AVERAGE (среднее значение).

  • Что означает функция SUM и как ее использовать?

    -Функция SUM используется для вычисления суммы чисел в заданном диапазоне. Чтобы ее использовать, нужно ввести знак равно '=', написать 'SUM' и выделить диапазон чисел, с которыми хотите работать.

  • Как вычислить разницу между максимальной и минимальной ценой в таблице?

    -Для вычисления разницы нужно сначала найти максимальное и минимальное значение с помощью функций MAX и MIN, а затем вычесть минимальное значение из максимального с использованием оператора '-'.

  • Как работает функция SUMPRODUCT?

    -Функция SUMPRODUCT используется для умножения элементов двух или более столбцов и их последующего суммирования. В примере видео она применяется для расчета общей стоимости, умножая цену на количество товаров.

  • Как можно подсчитать количество устройств в таблице?

    -Для подсчета количества устройств можно использовать функцию COUNT, которая работает только с числовыми значениями. Для этого выделите столбец с количествами и примените функцию COUNT.

  • Что делает функция COUNTIF?

    -Функция COUNTIF считает количество ячеек в диапазоне, которые соответствуют определенному условию. Например, можно подсчитать, сколько устройств в таблице имеют количество больше 12, применяя функцию COUNTIF с условием '>12'.

  • Как создать выпадающий список в таблице?

    -Чтобы создать выпадающий список, нужно выбрать диапазон ячеек, затем зайти в 'Data' -> 'Data validation', изменить критерий на 'List of items', ввести необходимые элементы и сохранить изменения.

  • Что такое условное форматирование и как оно применяется?

    -Условное форматирование позволяет менять цвет ячеек в зависимости от их значения. Например, можно задать правило: если значение меньше 75,000, ячейка будет окрашена в зеленый цвет.

  • Как можно отфильтровать данные по определенным критериям?

    -Для фильтрации данных нужно выделить заголовки столбцов и нажать на кнопку фильтра. После этого можно выбрать необходимые условия фильтрации, например, показывать только товары от конкретной компании с ценой выше определенного значения.

  • Как сохранить результаты фильтрации с помощью Filter View?

    -Чтобы сохранить результаты фильтрации, можно использовать 'Filter View'. Это позволяет сохранить настройки фильтра и к ним можно будет вернуться позже, не изменяя основную таблицу.

Outlines

00:00

📝 Введение и базовые функции

В первой части видео начинается практическое занятие по таблицам, где представлены различные устройства с их ценами, количеством, и другими данными. Ведущий объясняет, как использовать базовые функции: сумму, максимум, минимум и среднее. Рассмотрены примеры применения функций на столбце цен, а также их использование для проведения простых вычислений. В частности, обсуждается, как найти сумму цен, максимальную и минимальную стоимость, а также как вычесть минимальную цену из максимальной.

05:02

📊 Подсчет устройств и функция COUNTIF

Во втором параграфе объясняется использование функции COUNT для подсчета количества устройств в таблице, которая возвращает только числовые значения. Также вводится функция COUNTIF, которая позволяет считать значения на основе условий, например, сколько устройств имеют количество больше 12. Рассмотрен пример, где учитываются условия '>12' и '>=12'. Также обсуждается создание нового столбца для расчета разницы в ценах между 2021 и 2022 годами с помощью функции RAND для генерации случайных данных.

10:05

🎨 Условное форматирование

Этот параграф посвящен условному форматированию. Рассматривается, как форматировать ячейки на основе условий. Например, если цена устройства меньше 75 000, ячейка окрашивается в зеленый цвет, если больше 250 000 — в желтый, а если цена между этими значениями — в красный. Ведущий показывает, как добавить несколько правил форматирования и как изменения данных влияют на форматирование. Также упоминается, что условное форматирование может быть использовано для создания визуальных эффектов, например, с помощью смайликов.

15:05

🔍 Фильтры и сортировка

В этом параграфе рассказывается о применении фильтров для работы с данными. Показано, как установить фильтры на основе условий, например, отфильтровать данные по компании и цене. Описываются два метода: использование стандартных фильтров и фильтров вида (Filter View), который позволяет сохранить фильтры для повторного использования. Ведущий объясняет, как это может сэкономить время, если необходимо часто возвращаться к результатам фильтрации. Завершается параграф объяснением сортировки данных по алфавиту и в обратном порядке.

Mindmap

Keywords

💡Таблица

Таблица – это структура данных, представленная в виде строк и столбцов, используемая для хранения и организации информации. В данном видео таблица содержит данные о разных устройствах (камеры, мобильные телефоны, ноутбуки), их цены, компании, которые их выпускают, и города, где они расположены. Пример: видео объясняет, как использовать функции для вычисления суммы цен в колонке таблицы.

💡Функции

Функции – это предопределенные формулы, которые выполняют определенные действия над данными в таблице. В видео рассматриваются функции, такие как SUM, MAX, MIN и AVERAGE, которые используются для вычисления суммы, максимальной, минимальной цены и среднего значения. Например, функция SUM используется для вычисления общей стоимости всех устройств в таблице.

💡Максимум (MAX)

Функция MAX используется для нахождения максимального значения в диапазоне данных. В видео она применяется для нахождения самого дорогого устройства в таблице. Пример: функция MAX была использована для того, чтобы определить, что HP Pro – это самое дорогое устройство в таблице с ценой в один миллион.

💡Минимум (MIN)

Функция MIN служит для определения минимального значения в наборе данных. В видео её используют для нахождения самого дешёвого устройства. Пример: функция MIN была использована для нахождения флеш-накопителя USB, цена которого составляет 3000 тенге.

💡Среднее (AVERAGE)

Функция AVERAGE вычисляет среднее арифметическое значение диапазона данных. В видео она применяется для вычисления средней цены всех устройств. Это помогает лучше понимать общую картину цен на устройства.

💡Умножение

Умножение – это математическая операция, используемая для расчёта общей стоимости устройств, умножая цену каждого устройства на его количество. В видео показано, как умножить цену на количество для вычисления общей стоимости всех устройств в таблице.

💡Условное форматирование

Условное форматирование – это инструмент, который изменяет внешний вид ячеек таблицы в зависимости от их значений. В видео демонстрируется, как применить условное форматирование для выделения цен, меньше 75 000 тенге зелёным цветом, и цен, превышающих 250 000 тенге, жёлтым цветом. Это помогает легко идентифицировать данные, соответствующие определённым условиям.

💡Фильтрация

Фильтрация – это процесс отбора данных, соответствующих определённым условиям, чтобы упростить работу с таблицей. В видео показано, как с помощью фильтрации оставить только устройства компании 'Sopak' с ценой более 65 000 тенге, что позволяет сосредоточиться только на нужных данных.

💡Сортировка

Сортировка – это процесс упорядочивания данных в таблице по возрастанию или убыванию. В видео сортировка демонстрируется на примере сортировки названий устройств в алфавитном порядке. Этот метод помогает организовать данные для более удобного анализа.

💡Случайные числа (RANDBETWEEN)

Функция RANDBETWEEN генерирует случайное число в заданном диапазоне. В видео её используют для заполнения столбца 'Цена 2022' случайными числами от 50 000 до 400 000 тенге, чтобы продемонстрировать изменения цен между 2021 и 2022 годами. Это удобный способ создавать тестовые данные для анализа.

Highlights

Introduction to practical functions in a table with fictional data including devices, prices, companies, cities, and quantities.

Basic functions such as SUM, MAX, MIN, and AVERAGE are explained with examples from the price column.

Step-by-step guide on calculating the difference between the maximum and minimum prices using subtraction.

Demonstration of how to calculate the total price using both manual multiplication and the SUMPRODUCT function.

Explanation of the COUNT function and how it is applied to count the number of devices in the table.

Introduction of the COUNTIF function to count the number of devices where the quantity is greater than 12.

Randomized numbers are generated for a new column, and the difference between prices from 2021 and 2022 is calculated.

Demonstration of creating a drop-down list using the Data Validation tool and applying it to a new column.

Conditional formatting is used to apply different colors to the price column based on specific conditions.

Introduction of filtering techniques, including filtering by company name and price greater than a certain value.

Explanation of the filter view option, which allows users to save filtered results for future use.

Sorting devices in ascending and descending order by device name.

Comparison between Google Sheets and Excel, emphasizing the similarity in working principles.

Using filter view for repeated tasks to save time and effort, making it more convenient than regular filtering.

Wrap-up and preview of the next session, which will continue with more advanced functions in Google Sheets.

Transcripts

play00:00

okay let's start this is the second part

play00:02

of our election number four where we're

play00:03

going to focus more on practical part so

play00:06

first let's have a look here we have one

play00:07

table which shows us different devices

play00:10

like cameras mobile phones laptops their

play00:13

prices and the company with this device

play00:16

is available and at the same time the

play00:18

city where this company is located and

play00:21

of course the quantity of given devices

play00:22

and the radio code is empty right now

play00:25

which we're going to feel a little bit

play00:26

later okay this is like fictional data

play00:29

that is why I don't pay more attention

play00:31

guys I mean the price is fictional one

play00:33

and some data is also fictional so now

play00:36

we should start learning how to apply

play00:38

functions so we will start from the

play00:41

basic functions let's uh Max mean and

play00:43

average and then we will increase our

play00:45

levels so let's start from the sum okay

play00:47

so in order to start working with the

play00:50

functions first you should type all time

play00:52

equal sign after that we will type our

play00:55

function sum and then every function

play00:58

takes at least one argument inside so

play01:02

you can also click this question mark to

play01:03

see what kind of argument can accept

play01:06

this given function so in my case I'm

play01:09

working with a price column that's why

play01:11

I'm going to highlight the price column

play01:13

here please highlight on the numeric

play01:16

data do not include the title okay press

play01:19

the enter button this is our result okay

play01:22

the same with the max I'm going to type

play01:24

here the function Max

play01:26

okay the max function will return as the

play01:30

most expensive device in this table okay

play01:34

I'm going to highlight the price column

play01:36

one more time press the enter button so

play01:39

we have got the number one million which

play01:41

is HP Pro okay this is our most

play01:43

expensive product in the given table so

play01:46

the minimum function equal to mean again

play01:50

highlight your price column one more

play01:52

time press the enter we have got the

play01:55

number three thousand singing which is

play01:57

USB flash

play01:58

okay and the last one here average let

play02:01

me type here the function average as you

play02:03

see here on the top side Google already

play02:05

suggests us what column we should

play02:08

highlight so I'm going to just click it

play02:10

press the enter okay this is the number

play02:13

I have got at the output

play02:15

great so in that point we have finished

play02:18

the basic four functions which are

play02:20

really easy to use and now we will do

play02:22

some basic calculations like

play02:24

subtractions division multiplication so

play02:28

our first task is to subtract minimum

play02:31

number from the maximum number again I'm

play02:33

going to type here equal sign so since I

play02:36

already have calculated Max and mean

play02:38

values I will just click here to get the

play02:40

address of the given cell minus minimum

play02:43

press enter that's it so now let's

play02:46

imagine we don't have a maximum values

play02:48

which has been calculated before in a

play02:50

separate way so I have to calculate

play02:53

again here okay let's type here the max

play02:57

okay I'm going to highlight this price

play03:00

column one more time

play03:02

close the brackets minus mean function

play03:04

uh again I have to highlight the price

play03:08

column one more time press into button

play03:10

so that's it so this is the same with

play03:12

the previous one equal to Maxwell we

play03:15

already have the business slash number

play03:18

two plus average number

play03:22

and now we should calculate the total

play03:25

price okay so here we already have got

play03:28

the value for the sum the main

play03:30

difference between sound and total price

play03:31

so here in some case you have calculated

play03:35

only prices and now in case of total

play03:38

price uh you have to pay attention for

play03:40

Price column at the same time the

play03:43

quantity is column okay let's do that so

play03:46

in order to calculate total price let me

play03:48

show first the manual way and after that

play03:51

I will show you how we can do it with a

play03:53

function

play03:54

so first we should do some

play03:57

multiplication which means what I have

play04:00

to get an address of the price for one

play04:03

action camera which is 35 000 again and

play04:06

multiplied by quantity number five okay

play04:09

so this is the price for five action

play04:13

cameras so now I have to do the same for

play04:16

other devices so to do that I will just

play04:19

select the cell click this small blue

play04:22

rectangle hold and drag it down to

play04:25

multiply uh price by quantitative or for

play04:28

other devices okay this is just my

play04:31

multiplication so now in order to get a

play04:33

value for total price I should calculate

play04:36

here sum of given multiplications okay

play04:40

that's our result which is approximately

play04:42

58 million teen Gap okay so let me do

play04:45

this total price with function right now

play04:48

let's type here the function which is

play04:50

called sum product where product means

play04:52

multiplication the same again I'm going

play04:55

to work with a price column common and

play04:58

quantities column press enter here we

play05:02

are resolve a same so two different ways

play05:05

okay so next task here we should start

play05:08

count counting the number of devices in

play05:11

our table okay let's say here I don't

play05:13

have numeric values let me delete it

play05:15

till it start counting equal to count

play05:19

will return numeric value and also it

play05:22

works only with numeric values so you

play05:25

can work with price column or you can

play05:26

continue working with quantities columns

play05:28

so I will work with the quantity let me

play05:30

highlight this quantities column press

play05:33

the enter button okay now I have got the

play05:35

number 20. this number 20 means we have

play05:39

in this table 20 devices so you can

play05:42

check it without a feeling also number

play05:44

one and number two here highlight these

play05:47

two numbers and and drag it down so here

play05:49

we are we can say 20 and 20 is here so

play05:52

this has got Auto feeling guys so now

play05:54

let's add condition to our account

play05:57

function which will be like column Eve

play06:00

right now equal to I'm going to type one

play06:04

more time my function in case of count

play06:07

if this function will take two arguments

play06:10

first argument is the range second

play06:13

argument is the criteria so let's say

play06:16

our task is to count the number of

play06:19

devices where your quantity is greater

play06:23

than 12. again I'm going to work with

play06:26

quantities column that's what I will

play06:28

highlight this column AR let's open up

play06:31

the quotation mark and inside we should

play06:33

write down our condition which is

play06:36

greater than number 12. press the into

play06:38

button so this is our result number two

play06:41

so just have a look HP Pro the quantity

play06:44

is 34 which is greater than 12. at the

play06:47

same time iPhone 7 plus quantity is 14

play06:50

which is also greater than number 12. so

play06:53

what about Samsung Galaxy so here we

play06:56

have a number 12. so number 12 it is

play06:59

equal to 12 it's not the greater than

play07:01

12. so that is why if you would like to

play07:05

include the number 12 in your condition

play07:07

you should also indicate here greater

play07:10

than or equal to sign okay so in this

play07:13

case output will be number three so now

play07:16

let's do one more task for the

play07:19

subtraction let's say this is my price

play07:23

for

play07:24

2021. so I'm going to create here new

play07:28

column and let me rename it like price

play07:33

2022 and in order to save our time let's

play07:37

just randomize numbers okay I'm going to

play07:41

type here the function run between and

play07:43

just have a look this function uh takes

play07:47

two arguments which is first one the

play07:50

lowest number second one is the highest

play07:52

number at the lowest number I am going

play07:54

to indicate here 50

play07:57

000 and the highest number will be for

play08:00

example four hundred and thousands press

play08:03

the insert

play08:04

okay so here we are this is our randomly

play08:08

generated number you and me have a

play08:10

different vows it's okay let me scroll

play08:12

it down to get the values for my other

play08:14

cells

play08:16

that's it so now let's say our task is

play08:20

to uh calculate the difference between

play08:23

these two prices in two given years I am

play08:27

going to create here new column let's

play08:30

rename it like differences

play08:33

so you can rename it as you want so

play08:36

let's do in this way let's take the

play08:37

address of last price minus the previous

play08:41

price press the enter uh since it is the

play08:45

positive number it means the price was

play08:49

increased if it is negative number here

play08:52

we can say the price decreased okay this

play08:55

is like a simple example of course don't

play08:57

pay attention for the prices because

play08:58

they are fictional guys so next task

play09:01

let's move down and here let me start

play09:03

from the downside okay let's start from

play09:05

drop down list so since we have here the

play09:08

radial column which is empty our task is

play09:11

to fill out this column with drop down

play09:14

first let me highlight this region

play09:17

column here and let's go for the data

play09:20

inside you may see data validation since

play09:23

I'm going to create a drop down list I

play09:27

should change the criteria to list of

play09:29

items and let's provide few different

play09:31

items so you can type here different

play09:33

regions in Kazakhstan so I will type

play09:36

here the basic ones like this where

play09:37

shows numbers for example and the

play09:41

central click the save button okay I

play09:44

have got here the small triangles if you

play09:46

click you can see here the list of items

play09:48

and then you can easily fill your table

play09:51

from that provided list next one here we

play09:54

should move for a conditional formatting

play09:56

as it name says so here you will format

play09:59

your cells based on your different

play10:01

conditions let me highlight it click the

play10:04

right side of your mouse so here you can

play10:07

see conditional formatting let's click

play10:09

it okay in this appeared window you can

play10:13

see here applied to range which is our

play10:15

price column which we already have

play10:16

highlighted so here I'm going to select

play10:21

one condition which is let's say less

play10:24

than so let me provide here one number

play10:27

if my price is less than 75

play10:31

000 tenge in this case color of myself

play10:35

should be green one to seven we already

play10:38

have got green colored cells so if I

play10:42

will change this number let's say 76

play10:45

000 thing

play10:46

color also has changed because this

play10:49

number is greater than our conditional

play10:51

number okay let me click here add

play10:53

another Rule and now I'm going to apply

play10:57

the rule which is greater than let's say

play11:00

my number should be greater than 250 000

play11:04

in here in this case color should be for

play11:08

example yellow okay now I have got the

play11:12

yellow color okay now let's apply the

play11:14

third row at another rule here the third

play11:18

rule is going to be is between so let's

play11:22

provide our first number 75 000 single

play11:25

and the second number it was 250 000 if

play11:29

the price is between these two then

play11:32

color for example should be red one

play11:35

click the done and have a look so we

play11:38

have a three conditions here based on

play11:40

our condition we have got three

play11:41

different colors again if I will change

play11:43

here the number

play11:45

color also had changed okay please check

play11:48

in your case too so this is called

play11:50

conditional formatting so by the way you

play11:53

can also create this kind of emojis or

play11:55

even cartoon based characters with the

play11:57

help of conditional formatting where you

play11:59

have to apply different uh numbers and

play12:03

based on your numbers and conditions for

play12:05

money will fill out with the colors okay

play12:07

it will take just few minutes okay let's

play12:09

go back let me close this window so our

play12:13

next task it will be for filter so let's

play12:16

have a look at the first task with the

play12:19

help of filter our task is to live on

play12:23

the devices where company name is supak

play12:26

and price more than 65 000 thing yeah in

play12:30

order to install the filter first you

play12:32

should highlight your header section

play12:34

click the screw the filter button after

play12:37

that you can see the small triangles

play12:40

according to my task company should be

play12:43

only so bad so here you can see techno

play12:45

Dome Forest comb Ruba in order to live

play12:49

only two packs I have to go here click

play12:52

it and you can work in two ways if your

play12:55

table is small as in our case so you can

play12:58

just clear everything here and select

play13:01

only toolbox like this in case if your

play13:05

table consists of a lot of data then

play13:07

this way won't be really convenient for

play13:10

you in this kit you should click this

play13:12

filter by condition and select here your

play13:14

conditions based on your task click OK

play13:16

button

play13:18

so now I have got only two pack here so

play13:21

here in my chart I also have a second

play13:23

condition where price should be greater

play13:25

than 65 000 okay I will go here one more

play13:29

time you can also clear everything and

play13:32

select the numbers which are greater

play13:34

than 65 000 but it's not really

play13:36

convenient when it comes to numbers guys

play13:37

instead I can go here filter by

play13:40

condition click here create a Zen and

play13:43

I'm going to type here 65 000 singer

play13:45

Presto cable battery okay here we are

play13:48

this is our result okay so now I'm going

play13:51

to copy my result and paste on the

play13:54

downside a little bit later I will also

play13:58

explain you how you can save this filter

play14:01

results with the help of interview okay

play14:04

so now let's say I have to start working

play14:07

with my second task however here I

play14:11

cannot see all my table there is all my

play14:15

20 devices I can see on the solve that

play14:18

so which means you have to delete all

play14:21

previously applied filters to return

play14:23

back your table's first version okay I'm

play14:26

going to go for the price because the

play14:28

great exam and select the first one to

play14:30

delete all applied filter conditions

play14:32

click the key button let's go for the

play14:35

company and again I'm going to select

play14:38

all items here press OK one okay so now

play14:41

I have got all my 20 devices so now let

play14:43

me show how you can do the first task

play14:47

with the help of filter view which is

play14:50

really convenient go here for data

play14:53

section you can see here field of views

play14:55

create new filter View

play14:57

okay then you will see here black color

play14:59

it Rose and column and let me do my

play15:02

first task one more time okay let's go

play15:04

for a company here I'm going to clear

play15:08

everything and select on the suit back

play15:10

okay button uh let's go for the price

play15:13

one more time filter by condition should

play15:16

be greater than and type here 65 000

play15:20

sing yeah this is my result from Fields

play15:22

review so now on the top side you can

play15:25

also rename it let's type here example

play15:28

number one okay and now I'm going to

play15:31

close this filter View

play15:33

when you will close it your tables

play15:36

previous first version will be returned

play15:39

back automatically which means there in

play15:42

order to spend time to delete all your

play15:45

previously applied filters which is

play15:47

really comfortable in order to see your

play15:49

previously applied peer-to-view results

play15:52

you can anytime go for a data section

play15:54

just have a look here fields of views

play15:56

and here you can see example number one

play15:58

which shows your result directly so now

play16:01

if I will again change the data here all

play16:04

my changes based on my task will be also

play16:08

applied in my future view result that is

play16:10

why when it comes to field series if

play16:12

you're using the filter only one time

play16:14

okay you can do it with just filter to

play16:16

get a result and return back but in case

play16:19

if you're going to work with the filter

play16:21

result every time after one day after

play16:25

one week and then I highly recommend you

play16:27

to use the future view so now I'm going

play16:29

to show you the last task how we can

play16:32

sort device names in descending and

play16:34

ascending orders from a till that or

play16:37

from satellite okay it's really easy

play16:39

just click this button so here you can

play16:40

see the sort from Agents that if you

play16:42

click this one you can see your device

play16:44

has ordered in alphabetical order or you

play16:48

can do vice versa like this so okay it

play16:50

was just an introduction to Google sheet

play16:52

all the things that we have learned from

play16:54

that video you can also apply in Excel

play16:56

okay the working principles are same so

play16:59

next week we will continue the topic

play17:00

with Google sheet and will be another

play17:02

task with another functions

Rate This

5.0 / 5 (0 votes)

Related Tags
Google Таблицыфункциисортировкафильтрацияформулыусловное форматированиесубтракциясчетуправление даннымиобучение Excel
Do you need a summary in English?