<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6059&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Gnumeric Logic problem]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6059</link>
		<description><![CDATA[The most recent posts in Gnumeric Logic problem.]]></description>
		<lastBuildDate>Wed, 25 Oct 2023 12:29:06 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Gnumeric Logic problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=45085#p45085</link>
			<description><![CDATA[<p>Finally my two brain cells got it! Thank you!</p><div class="codebox"><pre><code>=if(or(B281=&quot;Sat&quot;;B281=&quot;Sun&quot;);&quot;0&quot;;&quot;1&quot;)</code></pre></div><p>(Sry for the very late answer)</p>]]></description>
			<author><![CDATA[dummy@example.com (swanson)]]></author>
			<pubDate>Wed, 25 Oct 2023 12:29:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=45085#p45085</guid>
		</item>
		<item>
			<title><![CDATA[Re: Gnumeric Logic problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44740#p44740</link>
			<description><![CDATA[<div class="quotebox"><cite>swanson wrote:</cite><blockquote><div><p>I&#039;ve got to evaluate the strings of weekdays in Gnumeric- Mon, Tue, Wed, Thurs.... - and IF it is Sat OR Sun the result should be &quot;0&quot; or else it should be &quot;1&quot;.</p></div></blockquote></div><p>So why are you not doing exactly what you said?</p><p>i.e. Using <a href="https://help.gnome.org/users/gnumeric/stable/gnumeric.html#gnumeric-function-OR" rel="nofollow">OR</a> and testing that the cell is Sat or that the cell is Sun, rather than over-complicating things with inequality!?</p><p>Except you probably don&#039;t even need to do this manually...</p><div class="quotebox"><blockquote><div><p>It&#039;s a work schedule and it&#039;s keeping track of my days worked, hours, salary and stuff for each month. The week days are listed in a column.</p></div></blockquote></div><p>There are already functions to work with <a href="https://help.gnome.org/users/gnumeric/stable/gnumeric.html#gnumeric-function-WORKDAY" rel="nofollow">WORKDAY</a>s, or to tell you the <a href="https://help.gnome.org/users/gnumeric/stable/gnumeric.html#gnumeric-function-NETWORKDAYS" rel="nofollow">NET WORKDAYS - i.e. the number of workdays in a range</a>, remembering that a range can have a length of one, if that is actually necessary.</p>]]></description>
			<author><![CDATA[dummy@example.com (boughtonp)]]></author>
			<pubDate>Fri, 06 Oct 2023 12:40:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44740#p44740</guid>
		</item>
		<item>
			<title><![CDATA[Gnumeric Logic problem]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=44736#p44736</link>
			<description><![CDATA[<p>I&#039;ve got to evaluate the strings of weekdays in Gnumeric- Mon, Tue, Wed, Thurs.... - and IF it is Sat OR Sun the result should be &quot;0&quot; or else it should be &quot;1&quot;.</p><p>This far is OK; =if(B279&lt;&gt;&quot;Sat&quot;;&quot;1&quot;;&quot;0&quot;) it prints &quot;0&quot; for true and &quot;1&quot; for false . </p><p>But this does not work: =<strong>ifs</strong>(B280&lt;&gt;&quot;Sun&quot;;&quot;0&quot;;B280&lt;&gt;&quot;Sat&quot;;&quot;0&quot;;B280&lt;&gt;&quot;Mon&quot;;&quot;1&quot;) it prints &quot;0&quot; every time. (Note IFS function)</p><p>It&#039;s a work schedule and it&#039;s keeping track of my days worked, hours, salary and stuff for each month. The week days are listed in a column.</p><p>Sorry to bother you all with this, but googling gives Excel and VBA hits that don&#039;t tell me much. Gnumeric man pages just gives me bare basics.</p><p>PS I&#039;m not a student!!!!!</p>]]></description>
			<author><![CDATA[dummy@example.com (swanson)]]></author>
			<pubDate>Fri, 06 Oct 2023 08:50:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=44736#p44736</guid>
		</item>
	</channel>
</rss>
