Difference between revisions of "NL/Documentation/How Tos/Calc: functie OF"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (moved Documentation/nl/How Tos/Calc: functie OF to NL/Documentation/How Tos/Calc: functie OF: Moving NL documentation to the NL NLC section of the Wiki)
m (Zie ook:)
Line 24: Line 24:
 
: geeft <tt>'''WAAR'''</tt> terug, omdat cel C2 <tt>'''WAAR'''</tt> is.
 
: geeft <tt>'''WAAR'''</tt> terug, omdat cel C2 <tt>'''WAAR'''</tt> is.
  
=== Zie ook: ===
+
{{NL/Documentation/ZieOok|
'''[[Documentation/nl/How_Tos/Calc: functie EN|EN]]''',
+
* [[Documentation/nl/How_Tos/Calc: functie EN|EN]]
'''[[Documentation/nl/How_Tos/Calc: functie NIET|NIET]]'''
+
* [[Documentation/nl/How_Tos/Calc: functie NIET|NIET]]
  
'''[[Documentation/nl/How_Tos/Calc: Logische functies|Logische functies]]'''
+
* [[Documentation/nl/How_Tos/Calc: Logische functies|Logische functies]]
  
[[Documentation/nl/How_Tos/Calc: Functies alfabetisch gesorteerd|'''Functies - alfabetisch gesorteerd''']],
+
* [[Documentation/nl/How_Tos/Calc: Functies alfabetisch gesorteerd|Functies - alfabetisch gesorteerd]]
[[Documentation/nl/How_Tos/Calc: Functies gesorteerd per categorie|'''Functies - gesorteerd per categorie''']]
+
* [[Documentation/nl/How_Tos/Calc: Functies gesorteerd per categorie|Functies - gesorteerd per categorie]]}}
 +
[[Category: NL/Documentation/Reference/Calc]]
  
 
=== Problemen: ===
 
=== Problemen: ===
 
* Invoeren van <tt>'''=OF(WAAR; ONWAAR)'''</tt> in een cel geeft correct <tt>'''WAAR'''</tt> terug, maar de weergave in de Formulebalk is <tt>'''=OF(1; 0)'''</tt>. Zie [http://www.openoffice.org/issues/show_bug.cgi?id=84266 Issue 84266].
 
* Invoeren van <tt>'''=OF(WAAR; ONWAAR)'''</tt> in een cel geeft correct <tt>'''WAAR'''</tt> terug, maar de weergave in de Formulebalk is <tt>'''=OF(1; 0)'''</tt>. Zie [http://www.openoffice.org/issues/show_bug.cgi?id=84266 Issue 84266].
 
[[Category: NL/Documentation/Reference/Calc]]
 
[[Category: NL/Documentation/Reference/Calc]]

Revision as of 13:44, 26 January 2024


OF

Geeft WAAR terug als één van de argumenten als WAAR wordt beschouwd en anders ONWAAR.

Syntaxis:

OF(argument1; argument2 ...argument30)

argument1 tot en met argument30 zijn maximaal 30 argumenten, waarvan elk argument een logische waarde of resultaat mag zijn of een verwijzing naar een cel of bereik.


OF test elke waarde (als een argument, of in elke cel waarnaar verwezen wordt), en geeft WAAR terug als ten minste één daarvan WAAR is. Elk niet-nul getal wordt als WAAR beschouwd. Alle tekst-cellen in bereiken worden genegeerd.

Voorbeeld:

OF(WAAR; ONWAAR)

geeft WAAR terug.

OF(0; 5)

geeft WAAR terug, omdat 5 als WAAR wordt beschouwd.

Indien de cellen A5:B8 allemaal ONWAAR bevatten en cel C2 bevat =WAAR():

OF(1>2; A5:B8; C2)

geeft WAAR terug, omdat cel C2 WAAR is.

Zie ook

Problemen:

  • Invoeren van =OF(WAAR; ONWAAR) in een cel geeft correct WAAR terug, maar de weergave in de Formulebalk is =OF(1; 0). Zie Issue 84266.
Personal tools