<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Min and Max across sheets</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/#comment-23864</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Wed, 02 May 2007 22:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1655#comment-23864</guid>
		<description>&lt;p&gt;dermot: ain&#039;t no array formulas across worksheets. Check this topic&#039;s subject line again.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>dermot: ain&#8217;t no array formulas across worksheets. Check this topic&#8217;s subject line again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dermot</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/#comment-23846</link>
		<dc:creator>dermot</dc:creator>
		<pubDate>Wed, 02 May 2007 09:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1655#comment-23846</guid>
		<description>&lt;p&gt;I didn&#039;t see anyone suggest an array formula&lt;br&gt;
{=MIN(Sheet1!A1:A100*1)}&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t see anyone suggest an array formula<br />
{=MIN(Sheet1!A1:A100*1)}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/#comment-23798</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 30 Apr 2007 21:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1655#comment-23798</guid>
		<description>&lt;p&gt;Drat.&lt;br&gt;
I never remember the greater than/less than escapes&lt;br&gt;
Picking up at the bottom loop:&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; i = 1 &lt;span class=&quot;kw1&quot;&gt;To&lt;/span&gt; Len(str)&lt;br&gt;
&#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; Mid(str, i, 1) &lt;span class=&quot;kw1&quot;&gt;Like&lt;/span&gt; (&lt;span class=&quot;st0&quot;&gt;&quot;[0-9]&quot;&lt;/span&gt;) &lt;span class=&quot;kw1&quot;&gt;And&lt;/span&gt; Len(year) &lt; 4 &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &#160;year = year &amp; Mid(str, i, 1)&lt;br&gt;
&#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&#160; &#160;&lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt; i&lt;br&gt;
&#160; &#160;&lt;br&gt;
&#160; &#160;str = Replace(str, year, &lt;span class=&quot;st0&quot;&gt;&quot;&quot;&lt;/span&gt;, 1, , vbTextCompare)&lt;br&gt;
&#160; &#160;str = Replace(str, &lt;span class=&quot;st0&quot;&gt;&quot;,&quot;&lt;/span&gt;, &lt;span class=&quot;st0&quot;&gt;&quot;&quot;&lt;/span&gt;, 1, , vbTextCompare)&lt;br&gt;
&#160; &#160;&lt;br&gt;
&#160; &#160;DateIt = DateSerial(year, mon, day) + TimeValue(str)&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Function&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;FWIW.&lt;br&gt;
...Michael&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Drat.<br />
I never remember the greater than/less than escapes<br />
Picking up at the bottom loop:</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">For</span> i = 1 <span class="kw1">To</span> Len(str)<br />
&nbsp; &nbsp; &nbsp; <span class="kw1">If</span> Mid(str, i, 1) <span class="kw1">Like</span> (<span class="st0">&#8220;[0-9]&#8220;</span>) <span class="kw1">And</span> Len(year) &amp;lt; 4 <span class="kw1">Then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;year = year &amp;amp; Mid(str, i, 1)<br />
&nbsp; &nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">If</span><br />
&nbsp; &nbsp;<span class="kw1">Next</span> i<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;str = Replace(str, year, <span class="st0">&#8220;&#8221;</span>, 1, , vbTextCompare)<br />
&nbsp; &nbsp;str = Replace(str, <span class="st0">&#8220;,&#8221;</span>, <span class="st0">&#8220;&#8221;</span>, 1, , vbTextCompare)<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;DateIt = DateSerial(year, mon, day) + TimeValue(str)</p>
<p><span class="kw1">End</span> <span class="kw1">Function</span></div>
</div>
<p>FWIW.<br />
&#8230;Michael</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/#comment-23797</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 30 Apr 2007 21:02:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1655#comment-23797</guid>
		<description>&lt;p&gt;Hi All -&lt;/p&gt;
&lt;p&gt;Given the 3 specified formats:&lt;/p&gt;
&lt;p&gt;Dec 12, 2006, 5:00 pm&lt;br&gt;
12 Dec 2006, 5:00 pm&lt;br&gt;
Dec 12 2006, 5:00 pm&lt;/p&gt;
&lt;p&gt;This UDF seems to handle them all:&lt;/p&gt;
&lt;p&gt;&lt;code lang=&quot;vb&quot;&gt;&lt;br&gt;
Function DateIt(str As String)&lt;/code&gt;&lt;/p&gt;
&lt;code lang=&quot;vb&quot;&gt;
&lt;p&gt;   Dim i As Integer, mon As Integer&lt;br&gt;
   Dim day As Variant&lt;br&gt;
   Dim mnth(12) As String * 3&lt;br&gt;
   Dim year As Variant&lt;/p&gt;
&lt;p&gt;   mnth(1) = &quot;Mon&quot;&lt;br&gt;
   mnth(2) = &quot;Feb&quot;&lt;br&gt;
   mnth(3) = &quot;Mar&quot;&lt;br&gt;
   mnth(4) = &quot;Apr&quot;&lt;br&gt;
   mnth(5) = &quot;May&quot;&lt;br&gt;
   mnth(6) = &quot;Jun&quot;&lt;br&gt;
   mnth(7) = &quot;Jul&quot;&lt;br&gt;
   mnth(8) = &quot;Aug&quot;&lt;br&gt;
   mnth(9) = &quot;Sep&quot;&lt;br&gt;
   mnth(10) = &quot;Oct&quot;&lt;br&gt;
   mnth(11) = &quot;Nov&quot;&lt;br&gt;
   mnth(12) = &quot;Dec&quot;&lt;/p&gt;
&lt;p&gt;   For i = 1 To 12&lt;br&gt;
      mon = InStr(1, str, mnth(i), vbTextCompare)&lt;br&gt;
      If mon &gt; 0 Then&lt;br&gt;
         mon = i&lt;br&gt;
         Exit For&lt;br&gt;
      End If&lt;br&gt;
   Next i&lt;/p&gt;
&lt;p&gt;   For i = 1 To InStr(1, str, &quot;,&quot;)&lt;br&gt;
      If Mid(str, i, 1) Like &quot;[0-9]&quot; Then&lt;br&gt;
         day = day &amp; Mid(str, i, 1)&lt;br&gt;
      End If&lt;br&gt;
   Next i&lt;br&gt;
   If Len(day) &gt; 2 Then day = Left(day, Len(day) - 4)&lt;/p&gt;
&lt;p&gt;   str = Replace(str, mnth(mon), &quot;&quot;, 1, 1, vbTextCompare)&lt;br&gt;
   str = Replace(str, day, &quot;&quot;, 1, 1, vbTextCompare)&lt;/p&gt;
&lt;p&gt;   For i = 1 To Len(str)&lt;br&gt;
      If Mid(str, i, 1) Like (&quot;[0-9]&quot;) And Len(year)&lt;/p&gt;&lt;/code&gt;
&lt;p&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi All -</p>
<p>Given the 3 specified formats:</p>
<p>Dec 12, 2006, 5:00 pm<br />
12 Dec 2006, 5:00 pm<br />
Dec 12 2006, 5:00 pm</p>
<p>This UDF seems to handle them all:</p>
<p><div class="codecolorer-container vb default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="vb codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;br&gt;<br />
<span style="color: #E56717; font-weight: bold;">Function</span> DateIt(str <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span>)</div></div>
</p>
<div class="codecolorer-container vb default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="vb codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;p&gt; &nbsp; <span style="color: #151B8D; font-weight: bold;">Dim</span> i <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">Integer</span>, mon <span style="color: #151B8D; font-weight: bold;">As</span> Integer&lt;br&gt;<br />
&nbsp; &nbsp;<span style="color: #151B8D; font-weight: bold;">Dim</span> day <span style="color: #151B8D; font-weight: bold;">As</span> Variant&lt;br&gt;<br />
&nbsp; &nbsp;<span style="color: #151B8D; font-weight: bold;">Dim</span> mnth(12) <span style="color: #151B8D; font-weight: bold;">As</span> <span style="color: #F660AB; font-weight: bold;">String</span> * 3&lt;br&gt;<br />
&nbsp; &nbsp;<span style="color: #151B8D; font-weight: bold;">Dim</span> year <span style="color: #151B8D; font-weight: bold;">As</span> Variant&lt;/p&gt;<br />
&lt;p&gt; &nbsp; mnth(1) = <span style="color: #800000;">&quot;Mon&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(2) = <span style="color: #800000;">&quot;Feb&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(3) = <span style="color: #800000;">&quot;Mar&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(4) = <span style="color: #800000;">&quot;Apr&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(5) = <span style="color: #800000;">&quot;May&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(6) = <span style="color: #800000;">&quot;Jun&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(7) = <span style="color: #800000;">&quot;Jul&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(8) = <span style="color: #800000;">&quot;Aug&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(9) = <span style="color: #800000;">&quot;Sep&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(10) = <span style="color: #800000;">&quot;Oct&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(11) = <span style="color: #800000;">&quot;Nov&quot;</span>&lt;br&gt;<br />
&nbsp; &nbsp;mnth(12) = <span style="color: #800000;">&quot;Dec&quot;</span>&lt;/p&gt;<br />
&lt;p&gt; &nbsp; <span style="color: #8D38C9; font-weight: bold;">For</span> i = 1 <span style="color: #8D38C9; font-weight: bold;">To</span> 12&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; mon = InStr(1, str, mnth(i), vbTextCompare)&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; <span style="color: #8D38C9; font-weight: bold;">If</span> mon &amp;gt; 0 Then&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;mon = i&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #E56717; font-weight: bold;">Exit</span> For&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; <span style="color: #8D38C9; font-weight: bold;">End</span> If&lt;br&gt;<br />
&nbsp; &nbsp;<span style="color: #8D38C9; font-weight: bold;">Next</span> i&lt;/p&gt;<br />
&lt;p&gt; &nbsp; <span style="color: #8D38C9; font-weight: bold;">For</span> i = 1 <span style="color: #8D38C9; font-weight: bold;">To</span> InStr(1, str, <span style="color: #800000;">&quot;,&quot;</span>)&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; <span style="color: #8D38C9; font-weight: bold;">If</span> Mid(str, i, 1) <span style="color: #8D38C9; font-weight: bold;">Like</span> <span style="color: #800000;">&quot;[0-9]&quot;</span> Then&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;day = day &amp;amp; Mid(str, i, 1)&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; <span style="color: #8D38C9; font-weight: bold;">End</span> If&lt;br&gt;<br />
&nbsp; &nbsp;<span style="color: #8D38C9; font-weight: bold;">Next</span> i&lt;br&gt;<br />
&nbsp; &nbsp;<span style="color: #8D38C9; font-weight: bold;">If</span> Len(day) &amp;gt; 2 <span style="color: #8D38C9; font-weight: bold;">Then</span> day = Left(day, Len(day) - 4)&lt;/p&gt;<br />
&lt;p&gt; &nbsp; str = Replace(str, mnth(mon), <span style="color: #800000;">&quot;&quot;</span>, 1, 1, vbTextCompare)&lt;br&gt;<br />
&nbsp; &nbsp;str = Replace(str, day, <span style="color: #800000;">&quot;&quot;</span>, 1, 1, vbTextCompare)&lt;/p&gt;<br />
&lt;p&gt; &nbsp; <span style="color: #8D38C9; font-weight: bold;">For</span> i = 1 <span style="color: #8D38C9; font-weight: bold;">To</span> Len(str)&lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; <span style="color: #8D38C9; font-weight: bold;">If</span> Mid(str, i, 1) <span style="color: #8D38C9; font-weight: bold;">Like</span> (<span style="color: #800000;">&quot;[0-9]&quot;</span>) <span style="color: #8D38C9; font-weight: bold;">And</span> Len(year)&lt;/p&gt;</div></div></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dick Kusleika</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/#comment-23729</link>
		<dc:creator>Dick Kusleika</dc:creator>
		<pubDate>Fri, 27 Apr 2007 03:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1655#comment-23729</guid>
		<description>&lt;p&gt;&quot;Wouldn&#039;t the formula below work just as well? It should also eliminate your restriction on 100 rows.&lt;br&gt;
=MIN(&#039;Abused News:Wipeout&#039;!$F:$F)&quot;&lt;/p&gt;
&lt;p&gt;Yes, but then someone will but something goofy in F8000.  It&#039;s a trade-off, but since it wasn&#039;t my spreadsheet, it&#039;ll be someone else&#039;s problem. :)&lt;/p&gt;
&lt;p&gt;&quot;RTFM and Excel will insert the quotes in the right place.&lt;br&gt;
R = Roll&lt;br&gt;
M = Mouse&quot;&lt;/p&gt;
&lt;p&gt;Genius.  Now I won&#039;t have to remember where they go.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;Wouldn&#8217;t the formula below work just as well? It should also eliminate your restriction on 100 rows.<br />
=MIN(&#8216;Abused News:Wipeout&#8217;!$F:$F)&#8221;</p>
<p>Yes, but then someone will but something goofy in F8000.  It&#8217;s a trade-off, but since it wasn&#8217;t my spreadsheet, it&#8217;ll be someone else&#8217;s problem. <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#8220;RTFM and Excel will insert the quotes in the right place.<br />
R = Roll<br />
M = Mouse&#8221;</p>
<p>Genius.  Now I won&#8217;t have to remember where they go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Williams</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/#comment-23726</link>
		<dc:creator>Rick Williams</dc:creator>
		<pubDate>Fri, 27 Apr 2007 01:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1655#comment-23726</guid>
		<description>&lt;p&gt;Doug:&lt;br&gt;
I hadn&#039;t used &quot;- -&quot; before either, but I ahve use &quot;*1? for the same effect.&lt;br&gt;
Any yeah - nice use to substitute!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Doug:<br />
I hadn&#8217;t used &#8220;- -&#8221; before either, but I ahve use &#8220;*1? for the same effect.<br />
Any yeah &#8211; nice use to substitute!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tushar Mehta</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/#comment-23709</link>
		<dc:creator>Tushar Mehta</dc:creator>
		<pubDate>Thu, 26 Apr 2007 13:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1655#comment-23709</guid>
		<description>&lt;p&gt;&quot;The second problem was using MIN and MAX across the sheets. The problem here was that some of the sheet names contain spaces. I knew that I needed some quotes around the sheet name, but I can never remember where.&quot;&lt;/p&gt;
&lt;p&gt;RTFM and Excel will insert the quotes in the right place.&lt;/p&gt;
&lt;p&gt;R = Roll&lt;br&gt;
M = Mouse&lt;/p&gt;
&lt;p&gt;{g,d,r}&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>&#8220;The second problem was using MIN and MAX across the sheets. The problem here was that some of the sheet names contain spaces. I knew that I needed some quotes around the sheet name, but I can never remember where.&#8221;</p>
<p>RTFM and Excel will insert the quotes in the right place.</p>
<p>R = Roll<br />
M = Mouse</p>
<p>{g,d,r}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Jenkins</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/#comment-23704</link>
		<dc:creator>Doug Jenkins</dc:creator>
		<pubDate>Thu, 26 Apr 2007 10:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1655#comment-23704</guid>
		<description>&lt;p&gt;I get the same as Rick&lt;/p&gt;
&lt;p&gt;With Australian settings the day-month-year works, but month-year-day doesn&#039;t.  With US settings vice-versa.&lt;/p&gt;
&lt;p&gt;That&#039;s Excel 2007 with Vista.  As reported, transition formula evaluation stops it working.&lt;/p&gt;
&lt;p&gt;Nice use of &quot;substitute&quot; anyway :).&lt;/p&gt;
&lt;p&gt;And I didn&#039;t know about the - - to make a text formula evaluate as a number.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I get the same as Rick</p>
<p>With Australian settings the day-month-year works, but month-year-day doesn&#8217;t.  With US settings vice-versa.</p>
<p>That&#8217;s Excel 2007 with Vista.  As reported, transition formula evaluation stops it working.</p>
<p>Nice use of &#8220;substitute&#8221; anyway <img src='http://www.dailydoseofexcel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>And I didn&#8217;t know about the &#8211; - to make a text formula evaluate as a number.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Williams</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/#comment-23703</link>
		<dc:creator>Rick Williams</dc:creator>
		<pubDate>Thu, 26 Apr 2007 07:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1655#comment-23703</guid>
		<description>&lt;p&gt;Hmmm,&lt;/p&gt;
&lt;p&gt;It appears that using either your or Dick&#039;s formulae I get the same result:&lt;br&gt;
Having in A4:&lt;br&gt;
   Dec 12, 2006, 5:00 pm&lt;br&gt;
results in #VALUE!&lt;br&gt;
but reversing the date to:&lt;br&gt;
   12 Dec, 2006, 5:00 pm&lt;br&gt;
allows either function to work correctly&lt;br&gt;
result = 39063.70833&lt;/p&gt;
&lt;p&gt;Also, if I remove the first comma  and change A4 to:&lt;br&gt;
   12 Dec 2006, 5:00 pm&lt;br&gt;
and modify the other two formulae to:&lt;br&gt;
   =DATEVALUE(LEFT(A4,FIND(&quot;,&quot;,A4,1)-1))+TIMEVALUE(MID(A4,FIND(&quot;,&quot;,A4,1)+2,255))&lt;br&gt;
and&lt;br&gt;
   = - - SUBSTITUTE(A4,&quot;,&quot;,&quot;&quot;,1)&lt;br&gt;
respectively, I get the correct result, but using the value:&lt;br&gt;
   Dec 12 2006, 5:00 pm&lt;br&gt;
fails.&lt;/p&gt;
&lt;p&gt;Changing my regional setting to US....&lt;br&gt;
(cross fingers..)&lt;/p&gt;
&lt;p&gt;Ha!&lt;/p&gt;
&lt;p&gt;The formulae that use the data with two commas work in the opposite fashion (i.e. the formulae work for &quot;Dec 12, 2006, 5:00 pm&quot; but not &quot;12 Dec, 2006, 5:00 pm&quot;)&lt;br&gt;
but the formulae that use the data with one comma work in the same fashion (i.e. the formulae work for &quot;12 Dec 2006, 5:00 pm&quot; but not &quot;Dec 12 2006, 5:00 pm&quot;.&lt;/p&gt;
&lt;p&gt;Go figure.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hmmm,</p>
<p>It appears that using either your or Dick&#8217;s formulae I get the same result:<br />
Having in A4:<br />
   Dec 12, 2006, 5:00 pm<br />
results in #VALUE!<br />
but reversing the date to:<br />
   12 Dec, 2006, 5:00 pm<br />
allows either function to work correctly<br />
result = 39063.70833</p>
<p>Also, if I remove the first comma  and change A4 to:<br />
   12 Dec 2006, 5:00 pm<br />
and modify the other two formulae to:<br />
   =DATEVALUE(LEFT(A4,FIND(&#8220;,&#8221;,A4,1)-1))+TIMEVALUE(MID(A4,FIND(&#8220;,&#8221;,A4,1)+2,255))<br />
and<br />
   = &#8211; - SUBSTITUTE(A4,&#8221;,&#8221;,&#8221;",1)<br />
respectively, I get the correct result, but using the value:<br />
   Dec 12 2006, 5:00 pm<br />
fails.</p>
<p>Changing my regional setting to US&#8230;.<br />
(cross fingers..)</p>
<p>Ha!</p>
<p>The formulae that use the data with two commas work in the opposite fashion (i.e. the formulae work for &#8220;Dec 12, 2006, 5:00 pm&#8221; but not &#8220;12 Dec, 2006, 5:00 pm&#8221;)<br />
but the formulae that use the data with one comma work in the same fashion (i.e. the formulae work for &#8220;12 Dec 2006, 5:00 pm&#8221; but not &#8220;Dec 12 2006, 5:00 pm&#8221;.</p>
<p>Go figure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fzz</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/04/25/min-and-max-across-sheets/#comment-23701</link>
		<dc:creator>fzz</dc:creator>
		<pubDate>Thu, 26 Apr 2007 07:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1655#comment-23701</guid>
		<description>&lt;p&gt;With the following in cell A4&lt;/p&gt;
&lt;p&gt;Dec 12, 2006, 5:00 pm&lt;/p&gt;
&lt;p&gt;on my system running Excel 2003 with transition formula evaluation disabled and US regional settings, the following formula in A5&lt;/p&gt;
&lt;p&gt;= - - SUBSTITUTE(A4,&quot;,&quot;,&quot;&quot;,2)&lt;/p&gt;
&lt;p&gt;returns 39063.70833 as expected. If I change A4 to&lt;/p&gt;
&lt;p&gt;12 Dec 2006, 5:00 pm&lt;/p&gt;
&lt;p&gt;and A5 to&lt;/p&gt;
&lt;p&gt;= - - SUBSTITUTE(D4,&quot;,&quot;,&quot;&quot;,1)&lt;/p&gt;
&lt;p&gt;the formula still returns 39063.70833.&lt;/p&gt;
&lt;p&gt;How does Dick&#039;s formula work under your regional settings?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>With the following in cell A4</p>
<p>Dec 12, 2006, 5:00 pm</p>
<p>on my system running Excel 2003 with transition formula evaluation disabled and US regional settings, the following formula in A5</p>
<p>= &#8211; - SUBSTITUTE(A4,&#8221;,&#8221;,&#8221;",2)</p>
<p>returns 39063.70833 as expected. If I change A4 to</p>
<p>12 Dec 2006, 5:00 pm</p>
<p>and A5 to</p>
<p>= &#8211; - SUBSTITUTE(D4,&#8221;,&#8221;,&#8221;",1)</p>
<p>the formula still returns 39063.70833.</p>
<p>How does Dick&#8217;s formula work under your regional settings?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

