<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.harlamenkov.ru/index.php?action=history&amp;feed=atom&amp;title=RU%2Fkb%2F00000852</id>
	<title>RU/kb/00000852 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.harlamenkov.ru/index.php?action=history&amp;feed=atom&amp;title=RU%2Fkb%2F00000852"/>
	<link rel="alternate" type="text/html" href="https://wiki.harlamenkov.ru/index.php?title=RU/kb/00000852&amp;action=history"/>
	<updated>2026-11-11T19:01:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.0</generator>
	<entry>
		<id>https://wiki.harlamenkov.ru/index.php?title=RU/kb/00000852&amp;diff=22871&amp;oldid=prev</id>
		<title>Sancho: /* XOR */</title>
		<link rel="alternate" type="text/html" href="https://wiki.harlamenkov.ru/index.php?title=RU/kb/00000852&amp;diff=22871&amp;oldid=prev"/>
		<updated>2013-07-24T16:33:52Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;XOR&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 16:33, 24 July 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l5&quot; &gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;section begin=toc /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;section begin=toc /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== XOR ===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== XOR ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;section begin=description /&amp;gt;Функция возвращает TRUE только когда один, и только один из аргументов TRUE.&amp;lt;section end=description /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;section begin=description /&amp;gt;Функция возвращает &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;TRUE&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'' &lt;/ins&gt;только когда один, и только один из аргументов &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;TRUE&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''&lt;/ins&gt;.&amp;lt;section end=description /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Синтаксис функции: ====&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==== Синтаксис функции: ====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sancho</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.harlamenkov.ru/index.php?title=RU/kb/00000852&amp;diff=22868&amp;oldid=prev</id>
		<title>Sancho: Created page with &quot;&lt;section begin=title /&gt;&lt;noinclude&gt;{{DISPLAYTITLE:База Знаний: Функции {{OOoC|1}}. &lt;/noinclude&gt;XOR&lt;noinclude&gt;}}&lt;/noinclude&gt;&lt;section end=title /&gt; {{BreadCrumbL10n|...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.harlamenkov.ru/index.php?title=RU/kb/00000852&amp;diff=22868&amp;oldid=prev"/>
		<updated>2013-07-24T16:30:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;section begin=title /&amp;gt;&amp;lt;noinclude&amp;gt;{{DISPLAYTITLE:База Знаний: Функции {{OOoC|1}}. &amp;lt;/noinclude&amp;gt;XOR&amp;lt;noinclude&amp;gt;}}&amp;lt;/noinclude&amp;gt;&amp;lt;section end=title /&amp;gt; {{BreadCrumbL10n|...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;section begin=title /&amp;gt;&amp;lt;noinclude&amp;gt;{{DISPLAYTITLE:База Знаний: Функции {{OOoC|1}}. &amp;lt;/noinclude&amp;gt;XOR&amp;lt;noinclude&amp;gt;}}&amp;lt;/noinclude&amp;gt;&amp;lt;section end=title /&amp;gt;&lt;br /&gt;
{{BreadCrumbL10n|RU/kb/module/calc/function/logic}}&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=toc /&amp;gt;&lt;br /&gt;
=== XOR ===&lt;br /&gt;
&amp;lt;section begin=description /&amp;gt;Функция возвращает TRUE только когда один, и только один из аргументов TRUE.&amp;lt;section end=description /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Синтаксис функции: ====&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
 !=XOR(a1,...,a30)&lt;br /&gt;
 |}&lt;br /&gt;
[[File:Function_XOR_ru.png|360px|thumb|right|Рис. 1. Пример функции.]]где:&lt;br /&gt;
&lt;br /&gt;
* ''a1'' — обязательный аргумент. Первое проверяемое условие, вычисление которого дает значение ''ИСТИНА'' или ''ЛОЖЬ'';&lt;br /&gt;
* ''a2,...,a30'' — необязательный аргумент. Дополнительные проверяемые условия, вычисление которых дает значение ''ИСТИНА'' или ''ЛОЖЬ''.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Обычно эта функция используется для расширения возможностей других функций, выполняющих логическую проверку. Например, функция '''ЕСЛИ''' выполняет логическую проверку и возвращает одно значение, если при проверке получается значение ''ИСТИНА'', и другое значение, если при проверке получается значение ''ЛОЖЬ''. Использование этой функции в качестве аргумента ''aX'' функции '''ЕСЛИ''' позволяет проверять несколько различных условий вместо одного.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
На рис. 1:&lt;br /&gt;
* в ячейке '''B2''' возвращается ''ИСТИНА'';&lt;br /&gt;
* в ячейке '''B3''' возвращается ''ИСТИНА'';&lt;br /&gt;
* в ячейке '''B4''' возвращается ''ЛОЖЬ'';&lt;br /&gt;
* в ячейке '''B5''' возвращается ''ЛОЖЬ''.&lt;br /&gt;
&amp;lt;section end=toc /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;section begin=signature/&amp;gt;&lt;br /&gt;
{{Sign|Sancho}}&lt;br /&gt;
{{AOoVersion|4.x}}&lt;br /&gt;
&amp;lt;section end=signature/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{RUkbCalcBottom}}&lt;/div&gt;</summary>
		<author><name>Sancho</name></author>
		
	</entry>
</feed>