CommencerCommencez gratuitement

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)

Cet exercice fait partie du cours

<cours>Google Sheets intermédiaire</cours>
Voir le cours

Instructions de l’exercice

  • In column H, use AND() to find women who have kids and get benefits.
  • In column I, convert the blanks in column G to missing values.
  • In column J, again find women who have kids and get benefits, this time using column I rather than G.

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice