Тёмный

IF THEN Statements In Google Sheets 

Lucas Learns
Подписаться 13 тыс.
Просмотров 574
50% 1

IF functions in Google Spreadsheets can be used to set up a basic “IF-THEN” statement. The function is written as: =IF(logical expression, outcome if true, outcome if false).
Here I have used the IF function to test whether or not students pass a test, based on their test scores. If the value in the B column or “test score column” exceeds 50% they pass and otherwise they fail.
To setup multiple “IF-THEN” statements, you can use the IFS function, written as: =IFS(logical expression 1, outcome if expression 1 is true, logical expression 2, outcome if expression 2 is true).
Just remember that this will be read from left, to right, meaning that if logical expression 1 is true, outcome 1 will be chosen even if expression 2 is also true.
Here I have used the IFS function to assign grades to the students based on test scores, starting from 10 and working my way down. If I did it the other way, everyone that pass would receive a 5 (found that out the hard way!)

Опубликовано:

 

5 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1   
@LucasLearnz
@LucasLearnz 4 месяца назад
Let me know if there is anything in Google Sheets you want me to cover!
Далее
How to use VLOOKUP in Google Sheets
12:36
Просмотров 10 тыс.
Women’s Goalkeepers + Men’s 🤯🧤
00:20
Просмотров 926 тыс.
Google Sheets IF THEN Formula
5:35
Просмотров 103 тыс.
15 Functions in Google Sheets You NEED to know!
17:30
Просмотров 431 тыс.
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
How to Calculate Hours Worked In Google Sheets
11:44
Просмотров 44 тыс.