Going missing
Some calculations involving blank values may give different results to what you might expect. For example, when you pass a blank value into the AND() function, it is treated as TRUE. This is often unhelpful. To make blanks behave in a sensible way in calculations, you must first convert them to be "not available" using NA(). This function takes no inputs, and returns a missing value. To convert a blank value to a missing value, use this pattern.
=IF(ISBLANK(cell), NA(), cell)
Bài tập này là một phần của khóa học
Google Sheets nâng cao
Hướng dẫn bài tập
- In column
H, useAND()to find women who have kids and get benefits. - In column
I, convert the blanks in columnGto missing values. - In column
J, again find women who have kids and get benefits, this time using columnIrather thanG.
Bài tập tương tác thực hành
Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi
Bắt đầu bài tập