<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>ExcelWithMonarch.com</title>
	<link>http://ExcelWithMonarch.com</link>
	<description>Stop working for your data. Make your data work for you.</description>
	<pubDate>Fri, 18 Jul 2008 01:11:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>
	<language>en</language>
			<item>
		<title>Batman Would Love Monarch</title>
		<link>http://ExcelWithMonarch.com/functions/batman-would-love-monarch</link>
		<comments>http://ExcelWithMonarch.com/functions/batman-would-love-monarch#comments</comments>
		<pubDate>Fri, 18 Jul 2008 01:00:13 +0000</pubDate>
		<dc:creator>Sandy</dc:creator>
		
		<category><![CDATA[Functions]]></category>

		<guid isPermaLink="false">http://ExcelWithMonarch.com/functions/batman-would-love-monarch</guid>
		<description><![CDATA[I always found Batman to be the cleverest of the famous super heroes. He always had the coolest gadgets, had designed them himself, and always had them at the ready.
Batman doesn&#8217;t have to be the only one building cool and useful tools. One of the best ways for you to excel with Monarch is by [...]]]></description>
			<content:encoded><![CDATA[<p>I always found Batman to be the cleverest of the famous super heroes. He always had the coolest gadgets, had designed them himself, and always had them at the ready.</p>
<p>Batman doesn&#8217;t have to be the only one building cool and useful tools. One of the best ways for you to excel with Monarch is by building what Monarch calls &#8220;<a href="http://excelwithmonarch.com/functions/an-introduction-to-monarch%E2%80%99s-custom-functions" target="_blank">user defined functions</a>&#8220;.</p>
<p>In and of themselves, they&#8217;re a fantastic feature of the product. But when you share your expertise with them with the rest of your group, alleviating them from the nitty-gritty details, you&#8217;ll be their hero.</p>
<p>All you need to do is get comfortable with Monarch&#8217;s linked objects features, available in V9. Being a fairly extensive topic, Datawatch felt that it was such a significant addition Monarch that it warranted separate documentation. You&#8217;ll find that there&#8217;s a very nicely written guide (a PDF file) available when you install Monarch.</p>
<p>Once you&#8217;re up to speed, give your fellow Monarch users a quick tour of how they can benefit from your hard work by instructing them how they can simply import the various Monarch objects that you&#8217;ve created into their models, or by creating links to your work in their models.</p>
<h3>To The Bat Cave!</h3>
<p>Be a super hero to your organization. Load up your utility belt with high powered custom functions, make them accessible to all, and you and your group will excel with Monarch.</p>
]]></content:encoded>
			<wfw:commentRss>http://ExcelWithMonarch.com/functions/batman-would-love-monarch/feed</wfw:commentRss>
		</item>
		<item>
		<title>Blue Jean Blues</title>
		<link>http://ExcelWithMonarch.com/tips/blue-jean-blues</link>
		<comments>http://ExcelWithMonarch.com/tips/blue-jean-blues#comments</comments>
		<pubDate>Fri, 11 Jul 2008 16:01:27 +0000</pubDate>
		<dc:creator>Sandy</dc:creator>
		
		<category><![CDATA[General / Tips]]></category>

		<guid isPermaLink="false">http://ExcelWithMonarch.com/tips/blue-jean-blues</guid>
		<description><![CDATA[Levi’s is getting hit hard financially as they struggle to implement a large new ERP system.
It sounds like the system that they’re trying implement will likely have its own challenges once installed, as it offers literally thousands of canned reports.
Make the most of what you have. Stop working for your data. Make your data work [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.theregister.co.uk/2008/07/10/levis_erp_costs/">Levi’s is getting hit hard financially</a> as <a href="http://www.levistrauss.com/News/PressReleaseDetail.aspx?pid=856">they struggle to implement</a> a large new ERP system.</p>
<p>It sounds like the system that they’re trying implement will likely have its own challenges once installed, as it offers literally <a href="http://www.dmreview.com/dmdirect/2008_73/10001313-1.html">thousands of canned reports</a>.</p>
<p>Make the most of what you have. Stop working for your data. Make your data work for you. Excel with Monarch.</p>
<p> Update: In a case of purely coincidental timing, Bob Cringley thinks that SAP is &#8220;<a href="http://www.pbs.org/cringely/pulpit/2008/pulpit_20080711_005222.html">Acting Squirrelly</a>&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://ExcelWithMonarch.com/tips/blue-jean-blues/feed</wfw:commentRss>
		</item>
		<item>
		<title>Audience Participation Day</title>
		<link>http://ExcelWithMonarch.com/tips/audience-participation-day</link>
		<comments>http://ExcelWithMonarch.com/tips/audience-participation-day#comments</comments>
		<pubDate>Fri, 27 Jun 2008 06:27:19 +0000</pubDate>
		<dc:creator>Sandy</dc:creator>
		
		<category><![CDATA[General / Tips]]></category>

		<guid isPermaLink="false">http://ExcelWithMonarch.com/tips/audience-participation-day</guid>
		<description><![CDATA[I need your help.
With the long history of both Excel and Monarch, the challenge for me isn&#8217;t so much what to write about, as there&#8217;s so much than can be discussed, as much as it is choosing to focus on what it is that is interesting and useful to you.
To that end, I ask that [...]]]></description>
			<content:encoded><![CDATA[<p>I need your help.</p>
<p>With the long history of both Excel and Monarch, the challenge for me isn&#8217;t so much what to write about, as there&#8217;s so much than can be discussed, as much as it is choosing to focus on what it is that is interesting and useful to you.</p>
<p>To that end, I ask that you take a couple of minutes to help me make this site as good as you need it to be. Read a few questions, click a few buttons, and hopefully we&#8217;ll all be better for it. Sound fair? Even reasonable?</p>
<p>Great, you&#8217;re still here. Let&#8217;s begin then, shall we?</p>
<p>I hope this works (crosses fingers). This is my first crack at using a Wordpress plug-in. Hopefully it&#8217;ll perform as intended. Oh, if you see charts and no way to vote, click the Vote button. You should then see the buttons to select an answer to each question. OK, here we go then&#8230;</p>
<p>Like snowflakes, no two Monarch users are the same, so&#8230;</p>
<p>Note: There is a poll within this post, please visit the site to participate in this post&#8217;s poll.</p>
<p>With a history of versions going back at least 15 years, we&#8217;re bound to be using different versions of the software. Realistically, not everyone  upgrades regularly.</p>
<p>Note: There is a poll within this post, please visit the site to participate in this post&#8217;s poll.</p>
<p>Just as there are users with different versions, everyone has different abilities and comfort levels. What best describes you?</p>
<p>Note: There is a poll within this post, please visit the site to participate in this post&#8217;s poll.</p>
<p>And since this is &#8220;Excel with Monarch&#8221;, we can&#8217;t ignore the other half of the equation.</p>
<p>Note: There is a poll within this post, please visit the site to participate in this post&#8217;s poll.</p>
<p>Just like Monarch, Excel has a long history. What chapter do you look at day in and day out?</p>
<p>Note: There is a poll within this post, please visit the site to participate in this post&#8217;s poll.</p>
<p>There&#8217;s been debate online about the latest release. I personally haven&#8217;t had the pleasure yet, so I still don&#8217;t if I really want to move to it permanently or not, just yet. I&#8217;m sure that it&#8217;ll be forced upon me, likely sooner than later, but until then it 2003 for me. How about you?</p>
<p>Note: There is a poll within this post, please visit the site to participate in this post&#8217;s poll.</p>
<p>Finally, just as there are many, many topics to discuss relating to Monarch, Excel is just about limitless. That&#8217;s probably why there are so many web sites dedicated to Excel - like a big house party, there&#8217;s lots of room for multiple discussions.  But again, this exercise is about you, and to an extent the future of this particular site, so&#8230;</p>
<p>Note: There is a poll within this post, please visit the site to participate in this post&#8217;s poll.</p>
<p>I once again thank you very much for your time and attention. That you continue to visit the site and recommend it to your friends and associates is very encouraging as this endeavor continues to regularly gain more readers in its relatively short existence. I believe that growth of the site indicates that you find it useful and interesting. Your input will help keep it that way, and then together we&#8217;ll focus on continuing to learn and excel with Monarch.</p>
]]></content:encoded>
			<wfw:commentRss>http://ExcelWithMonarch.com/tips/audience-participation-day/feed</wfw:commentRss>
		</item>
		<item>
		<title>Three Ways to Improve Your Visual Analysis Toolkit</title>
		<link>http://ExcelWithMonarch.com/tips/three-ways-to-improve-your-visual-analysis-toolkit</link>
		<comments>http://ExcelWithMonarch.com/tips/three-ways-to-improve-your-visual-analysis-toolkit#comments</comments>
		<pubDate>Tue, 24 Jun 2008 20:30:03 +0000</pubDate>
		<dc:creator>Sandy</dc:creator>
		
		<category><![CDATA[General / Tips]]></category>

		<guid isPermaLink="false">http://ExcelWithMonarch.com/tips/three-ways-to-improve-your-visual-analysis-toolkit</guid>
		<description><![CDATA[On the Recommended page, you’ll find links to Stephen Few’s textbooks on visual presentation. With a little extra effort – mostly avoiding Excel’s defaults – you can accomplish many of his teachings with Excel. With a little extra software, you can even mirror his samples (more on that later).
But there are a few additional resources [...]]]></description>
			<content:encoded><![CDATA[<p>On the <a href="http://www.excelwithmonarch.com/recommended">Recommended</a> page, you’ll find links to <a href="http://www.perceptualedge.com/">Stephen Few’s</a> textbooks on visual presentation. With a little extra effort – mostly avoiding Excel’s defaults – you can accomplish many of his teachings with Excel. With a little extra software, you can even mirror his samples (more on that later).</p>
<p>But there are a few additional resources to help you get the stellar results that ought to make a huge positive impression with your audience, and today we’ll take a look at some of them.</p>
<p>First, there’s another Excel blog on this very theme that is well worth your attention. Excel MVP Jon Peltier runs the <a href="http://peltiertech.com/WordPress/">PTS Blog</a> focused tightly on the charting topic. Jon has run his “traditional” web site for some time, and always had excellent content there. Just a few months ago, Jon added a blog to the site and has been updating it very regularly with fantastic content ever since. Nice work Jon.</p>
<p>Next up is what looks like a great addition to Excel for your visual work. Over at <a href="http://www.bonavistasystems.com/index.html">BonaVista Systems</a> you’ll find a collection of programs under the “MicroCharts” umbrella. Their MicroCharts are just that: small charts that pack a lot of punch in a very small space. Just like in the physical world, real estate is at a premium on the page or screen, and maximizing your use of it benefits you and your reader. Compare the sample MicroCharts to some of Mr. Few&#8217;s content.</p>
<p>There are also some <a href="http://www.bonavistasystems.com/Articles.html">wonderful articles on design</a> on their site. They’ve just closed entry to an Excel dashboard competition, but haven’t posted the winners quite yet. I wish that I’d known about it earlier; I would have pointed it out to you.</p>
<p>Finally, if you’ve not yet heard of <a href="http://tableausoftware.com/">Tableau Software</a>, go spend five minutes or so and watch their <a href="http://tableausoftware.com/products/tour">product tour</a>. I won’t even try to elaborate on this software – just watch the tour. This is very much a case of “a picture’s worth a thousand words”. I’ve used their demo software and was very pleased with what I could accomplish without any assistance or even reading the online help. While I am not currently using the tool, with the little time I did have with the demo I’m already convinced that I can, and should, recommend it to you.</p>
<p>With these visual additions to your current resources, you’ll see how you can communicate a lot of information to your audience, using the solid foundations you build every day as you continue to excel with Monarch.</p>
]]></content:encoded>
			<wfw:commentRss>http://ExcelWithMonarch.com/tips/three-ways-to-improve-your-visual-analysis-toolkit/feed</wfw:commentRss>
		</item>
		<item>
		<title>Monarch&#8217;s Conversion Functions</title>
		<link>http://ExcelWithMonarch.com/functions/monarchs-conversion-functions</link>
		<comments>http://ExcelWithMonarch.com/functions/monarchs-conversion-functions#comments</comments>
		<pubDate>Fri, 20 Jun 2008 06:09:43 +0000</pubDate>
		<dc:creator>Sandy</dc:creator>
		
		<category><![CDATA[Functions]]></category>

		<guid isPermaLink="false">http://ExcelWithMonarch.com/functions/monarchs-conversion-functions</guid>
		<description><![CDATA[Over the past week, we&#8217;ve been discussing Monarch various functions that you can use in your calculated fields and filters. So far, we&#8217;ve covered date functions, the special report functions that return data related to the origin of the data (as opposed to the data within the report), and we even had a quick look [...]]]></description>
			<content:encoded><![CDATA[<p>Over the past week, we&#8217;ve been discussing Monarch various functions that you can use in your <a href="http://excelwithmonarch.com/calcfield/monarchs-calculated-fields">calculated fields</a> and <a href="http://excelwithmonarch.com/filtering/filtering-data-with-monarch">filters</a>. So far, we&#8217;ve covered <a href="http://excelwithmonarch.com/functions/conquering-date-problems-in-monarch">date</a> functions, the special <a href="http://excelwithmonarch.com/functions/exploring-monarchs-report-functions">report functions</a> that return data related to the origin of the data (as opposed to the data within the report), and we even had a quick look at the set of <a href="http://excelwithmonarch.com/functions/monarchs-special-functions">special functions</a> that Monarch offers to check data values, generate random numbers (often used in <a href="http://excelwithmonarch.com/tips/required-software-for-auditors">auditing</a>) and its implementation of the &#8220;if then else&#8221; type of function seen in many software packages.</p>
<h3>Accurate Data: The Final Frontier</h3>
<p>It&#8217;s tough enough sometimes just getting the data we need properly captured from within our reports and other source. But sometimes our data isn&#8217;t always exactly what we want it to be, at least in terms of type, and since some manipulations are easier to perform than one type than another, today we&#8217;ll examine the functions that allow us to convert from one <a href="http://excelwithmonarch.com/calcfield/an-introduction-to-monarch%e2%80%99s-field-types">data type</a> to another.</p>
<h3>Asc()</h3>
<p>Every single character, number and symbol that you can type in a document and view on your computer (and some that you can&#8217;t see too), are stored internally by the computer as values. &#8220;Asc&#8221; is short for ASCII, an acronym for what essentially is referred to as the standard way that your computer converts characters to values to store and use in its memory. There are countless web pages (<a href="http://www.asciitable.com/">even entire sites</a>) that can inform you about the ASCII values (or &#8220;ASCII table&#8221;), but one of the cleaner, more concise ones available just happens to be on the <a href="http://www.datawatch.com/downloads/ascii-chart.txt">Datawatch support site</a>.</p>
<p>One additional benefit of the table on the Datawatch page is that at the bottom you&#8217;ll find how all of this relates to the Monarch Utility program, and may well be the only official documentation on how to perform search and replace tasks with the Utility.</p>
<p>So what&#8217;s the big deal with converting letters and symbols and such into a decimal number, and what would you ever possibly need this for with Monarch? Have you ever seen odd square boxes, or symbols that don&#8217;t seem to belong, in a data file? With the Asc() function you can determine exactly what that thing is, and deal with it properly yourself, or tell the supplier of the data file exactly what bad data is being inserted incorrectly into your report.</p>
<h3>CharToSeconds()</h3>
<p>This function converts a string that looks like a time, like &#8220;10:09:36&#8243; into the number of seconds since midnight, a numeric value.</p>
<h3>Chr()</h3>
<p>Chr() is the opposite of the Asc() function. Where Asc(&#8221;A&#8221;) returns 65, Chr(65) returns &#8220;A&#8221;. Chr() is great for inserting symbols like a carriage return: Chr(13).</p>
<h3>CtoD()</h3>
<p>This indispensable gem has been discussed on this site more than once already, to convert a Character field to a Date field.</p>
<h3>DateToJulian()</h3>
<p>This function converts a regular date field to a <a href="http://en.wikipedia.org/wiki/Julian_day">Julian date</a> value. Some ERP systems built with Sybase or JD Edwards software seem to use Julian dates, or variants of them.</p>
<h3>DtoC()</h3>
<p>Opposites are at work again, this time reversing the CtoD() function, and returning a character string that looks like a date.</p>
<h3>JulianToDate()</h3>
<p>Anyone care guess what this does? <img src='http://ExcelWithMonarch.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<h3>SecondsToChar()</h3>
<p>Yet another opposite function, this time converting the number of seconds from midnight into a character string that looks like a proper time.</p>
<h3>Str()</h3>
<p>This function converts a numeric value into a character string. The function has a few optional arguments, which allow you to specify how long you want the string to be, the number of decimal place to round the value, and a character with which to optionally fill up any remaining space in the string.</p>
<h3>Val()</h3>
<p>The final function of this set is also the final opposite; this time converting a character string that looks like a number into a true numeric value.</p>
<h3>Universal Translator</h3>
<p>I often refer to Monarch, when introducing it to those unfamiliar with it, as a type of universal data translator; able to almost effortlessly convert data from one format or location to another. These functions really do extend the analogy, easily changing and translating raw data from one presentation into another. Use them wisely and you&#8217;ll live long and prosper, or at least excel with Monarch.</p>
]]></content:encoded>
			<wfw:commentRss>http://ExcelWithMonarch.com/functions/monarchs-conversion-functions/feed</wfw:commentRss>
		</item>
		<item>
		<title>Monarch&#8217;s Special Functions</title>
		<link>http://ExcelWithMonarch.com/functions/monarchs-special-functions</link>
		<comments>http://ExcelWithMonarch.com/functions/monarchs-special-functions#comments</comments>
		<pubDate>Tue, 17 Jun 2008 04:48:34 +0000</pubDate>
		<dc:creator>Sandy</dc:creator>
		
		<category><![CDATA[Functions]]></category>

		<guid isPermaLink="false">http://ExcelWithMonarch.com/functions/monarchs-special-functions</guid>
		<description><![CDATA[Over the last couple of posts, we&#8217;ve examined some of Monarch functions. Since we&#8217;re on a bit of a roll, let&#8217;s carry on with the topic.
Today we&#8217;ll look at a special category of functions, known as, well, special functions. There aren&#8217;t too many, so this might be pretty quick.
If()
Just about every application that allows you [...]]]></description>
			<content:encoded><![CDATA[<p>Over the <a href="http://excelwithmonarch.com/functions/exploring-monarchs-report-functions">last</a> <a href="http://excelwithmonarch.com/functions/conquering-date-problems-in-monarch">couple</a> of posts, we&#8217;ve examined some of Monarch functions. Since we&#8217;re on a bit of a roll, let&#8217;s carry on with the topic.</p>
<p>Today we&#8217;ll look at a special category of functions, known as, well, special functions. There aren&#8217;t too many, so this might be pretty quick.</p>
<h3>If()</h3>
<p>Just about every application that allows you to do any kind of analysis has an &#8220;If&#8221; function, and Monarch is no different. The format is If(condition, result if true, result if false). Incredibly simple, but simultaneously really powerful. If() doesn&#8217;t care what kind of data you use for the condition test, as long as it can properly resolve the condition. That means that these conditions are valid, and can be used in an If() function:</p>
<p><code>MyDateField &lt; {2008-12-31}</code></p>
<p><code>ProfitAmount &gt; 999</code></p>
<p><code>Left(FullName,3) = "Mr."</code></p>
<p>but these are not valid in an If() function:</p>
<p><code>MyDateField &lt; "12/31/2008"</code></p>
<p><code>ProfitAmount = "Mr. Bob Smith"</code></p>
<p><code>Left(FullName,3) &gt; 999</code></p>
<p>As well, you can include, or &#8220;nest&#8221; multiple If() functions together in one expression, such as:</p>
<p><code>If(ProfitAmount&gt;0,If(ProfitAmount&gt;500,"Great","Good"),"Poor")</code></p>
<p>In this example, a ProfitAmount of 300 would be &#8220;Good&#8221;, 800 would be &#8220;Great&#8221;, and -100, a loss, would be &#8220;Poor&#8221;.</p>
<h3>IsEmpty()</h3>
<p>The IsEmpty() function tests to see if a field is empty. I suspect that this is really meant to test character or memo type fields, but Monarch&#8217;s online help doesn&#8217;t specify that requirement. The function returns a numeric value, either one if the test field is empty, or zero if it isn&#8217;t. So if the field MiddleName is blank,</p>
<p><code>IsEmpty(MiddleName)</code></p>
<p>would return a one, but if the field held the value &#8220;Stephen&#8221;, it would return a zero. Close to the IsEmpty() function is&#8230;</p>
<h3>IsNull()</h3>
<p>Where IsEmpty() tests for (I suspect) an empty string, IsNull() tests for absolutely nothing. That is, there&#8217;s no value in the field at all. Since IsEmpty works well for character or memo type fields, I would use IsNull() exclusively on numeric or date fields. And just like IsEmpty(), IsNull returns a one when the test is true, and a zero when the test is false.</p>
<p>So if your report has a field where a date is optional for a specific record or transaction type, you can test to see if a date exists for a record before you do a calculation with that date. Let&#8217;s suppose that you need to calculate a due date of 30 days after an invoice date, when an invoice date exists, that is. The formula would be:</p>
<p><code>If(IsNull(InvDate,CtoD("","m/d/y"),InvDate+30)</code></p>
<p>CtoD(&#8221;",&#8221;m/d/y&#8221;) properly returns a null value to a date type field.</p>
<p>The last two functions in the &#8220;special&#8221; category are:</p>
<h3>Rand() and RandEx()</h3>
<p>They both generate a random integer value. Rand() gives you a value between zero and 32,767. RandEx() goes considerably higher; from zero to 4,294,967,295. Random number generators have many practical purposes, but honestly, I rarely use them. In fact, I use Rand() from time to time for creating data from scratch in Excel, but I really don&#8217;t recall having ever used either of the random functions in Monarch.</p>
<h3>That&#8217;s a Wrap</h3>
<p>As I said at the top, the list of functions in Monarch&#8217;s &#8220;special&#8221; category of is pretty short. But mastering these functions, especially If() in it&#8217;s multiple instance version, can be key in your ability to excel with Monarch.</p>
]]></content:encoded>
			<wfw:commentRss>http://ExcelWithMonarch.com/functions/monarchs-special-functions/feed</wfw:commentRss>
		</item>
		<item>
		<title>Exploring Monarch&#8217;s Report Functions</title>
		<link>http://ExcelWithMonarch.com/functions/exploring-monarchs-report-functions</link>
		<comments>http://ExcelWithMonarch.com/functions/exploring-monarchs-report-functions#comments</comments>
		<pubDate>Mon, 16 Jun 2008 05:51:23 +0000</pubDate>
		<dc:creator>Sandy</dc:creator>
		
		<category><![CDATA[Functions]]></category>

		<guid isPermaLink="false">http://ExcelWithMonarch.com/functions/exploring-monarchs-report-functions</guid>
		<description><![CDATA[Last week we touched on a couple of useful conversion functions that are available to us in Monarch. Today we&#8217;ll continue looking at functions; this time focusing on one of the smaller function categories, that of the &#8220;report&#8221; functions. Report functions are those which give us data related to the actual report file in use, [...]]]></description>
			<content:encoded><![CDATA[<p>Last week we touched on a couple of <a href="http://excelwithmonarch.com/functions/conquering-date-problems-in-monarch">useful conversion functions</a> that are available to us in Monarch. Today we&#8217;ll continue looking at functions; this time focusing on one of the smaller function categories, that of the &#8220;report&#8221; functions. Report functions are those which give us data related to the actual report file in use, not the direct data included in the report itself.</p>
<h3>File()</h3>
<p>The File() function returns the full path and filename of the report from which your record was extracted. While this is a pretty straightforward function, and you might wonder why you would ever need to include text like &#8220;D:\Reports\Shipping Report.txt&#8221; in your data, there are times when I find it absolutely indispensible.</p>
<p>I like to keep my historical data handy, effectively creating mini data warehouses. I like to create topic folders for these mini data warehouses. For instance, I might have an AR folder and a Shipping folder. Within each folder I&#8217;ll store reports representing the monthly activity for that topic, as this makes it much easier to extract periodic data which can easily analyzed graphically.</p>
<p>When you store many instances of a report within a topic folder, you need to organize your reports a little. My convention is to start with the topic name, like Shipping, and always include a three letter month and a four digit year, along the file type extension, like &#8220;Shipping Jun 2008.prn&#8221;. At a glance I know what the file is, and for what period the report was run. Additionally, your report may or may not include data that you can extract to determine a period. And if that&#8217;s not troublesome enough, you may share my situation, in which the date that appears in the report isn&#8217;t actually properly representative of the actual fiscal period.</p>
<p>So my solution is to extract the period from the filename. Since I know that I will always use a &#8220;.prn&#8221; (or &#8220;.txt&#8221; extension, I know that the last four characters in the filename will be an extension. Further I know that I&#8217;ll always use a &#8220;mmm yyyy&#8221; structure just before the extension. That&#8217;s seven characters, plus the four for the extension, for a total of 11 characters. So using a Right(File(),12) on &#8220;D:\ReportsShipping\Shipping Jun 2008.txt&#8221; will give me &#8220;Jun 2008.txt&#8221; regardless of the category name. Changing that slightly to Left(Right(File(),12),3), I get &#8220;Jun&#8221;. To get the year, Left(Right(File(),8),4) will return &#8220;2008&#8243;. Put it together with a &#8220;/1/&#8221; string in the middle, and you get Left(Right(File(),12),3) + &#8220;/1/&#8221; + Left(Right(File(),8),4).</p>
<p>Finally, using all of that as the input for a CtoD function, like:</p>
<p><code>CtoD(Left(Right(File(),12),3)+"/1/"+Left(Right(File(),8),4),"m/d/y")</code></p>
<p>and you get a valid period in your data that you&#8217;ve derived from your filename.</p>
<h3>ID()</h3>
<p>I find ID() to be a bit of an odd one. It returns the number of the report from which your record was extracted. As you open multiple reports in Monarch simultaneously, Monarch assigns a value of 1 to the first report opened, and adds one to each successive report. In all these years, I&#8217;ve yet to find a use for this. Have you?</p>
<h3>Line()</h3>
<p>The Line() function returns the line on which this record appears in the report. You can get some odd looking, yet accurate, values with Line() when you&#8217;re using filters.</p>
<h3>Page()</h3>
<p>Similar to Line(), Page() returns the page number of the report from which the record was extracted. From time to time I&#8217;ve taken advantage of the Page() function when building filters. Some times data appears on the first page of a report that gets captured by an extraction template (based on the trap created in the template), but I didn&#8217;t necessarily want that part of the data set. Rather than playing with the trap to somehow exclude that bit, I&#8217;ll use the Page() function and filter out all the page one data (Page()&lt;&gt;1).</p>
<h3>Recno()</h3>
<p>Recno() returns the sequential detail record number, starting at 1. If your data set has 100 records, and your filter only returns three records, you may see 7, 43 and 89 as the only values returned.</p>
<h3>Rowno()</h3>
<p>Rowno() is similar to results of the Recno() function for some reports, but the notable, and useful, exception is that Rowno() isn&#8217;t affected by filters. If your filter returns 100 records, Rowno() will return 1 through 100.</p>
<h3>It&#8217;s the Function of the Function</h3>
<p>The importance of the various functions available isn&#8217;t so much what the function actually does, in and of itself, but more how you can use it creatively to achieve something that isn&#8217;t immediately obvious. Use your imagination and a little experimentation, and you&#8217;ll excel with Monarch.</p>
]]></content:encoded>
			<wfw:commentRss>http://ExcelWithMonarch.com/functions/exploring-monarchs-report-functions/feed</wfw:commentRss>
		</item>
		<item>
		<title>Conquering Date Problems in Monarch</title>
		<link>http://ExcelWithMonarch.com/functions/conquering-date-problems-in-monarch</link>
		<comments>http://ExcelWithMonarch.com/functions/conquering-date-problems-in-monarch#comments</comments>
		<pubDate>Fri, 13 Jun 2008 04:15:38 +0000</pubDate>
		<dc:creator>Sandy</dc:creator>
		
		<category><![CDATA[Functions]]></category>

		<guid isPermaLink="false">http://ExcelWithMonarch.com/functions/conquering-date-problems-in-monarch</guid>
		<description><![CDATA[Yesterday I received a message from a reader asking about how she could resolve a challenge with extracting dates from her report.
The problem was that the date in the report appeared in the form of 01-Oct-07, and she wanted 10-01-2007. She&#8217;d been trying to use, correctly, the CtoD function, but kept getting null values no [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I received a message from a reader asking about how she could resolve a challenge with extracting dates from her report.</p>
<p>The problem was that the date in the report appeared in the form of 01-Oct-07, and she wanted 10-01-2007. She&#8217;d been trying to use, correctly, the CtoD function, but kept getting null values no matter what she did.</p>
<p>I supposed that she was really close to a possible solution. If she was indeed using CtoD(RptDate,&#8221;m/d/y&#8221;), where RptDate is a character field, then Monarch would indeed return a null value. A subtle change to CtoD(RptDate,&#8221;d/m/y&#8221;) yields 10/1/2007.</p>
<p>The date is correct, but that&#8217;s not the exact format she wanted. To get that, with leading zeros for both the month and the day numbers, it takes a much more complex formula:</p>
<p><code>Right("00"+Trim(Str(Month(CtoD(RptDate,"d/m/y")))),2) + "-" + Right("00"+Trim(Str(Day(CtoD(RptDate,"d/m/y")))),2) + "-" + Trim(Str(Year(CtoD(RptDate,"d/m/y"))))</code></p>
<p>This formula uses the basic date conversion formula as above, but extracts out the day, month and year values, adds leading zeros with some string conversion and manipulation functions, and ties them all together with a couple of dashes.</p>
<p>Just a few minutes later, a member of Datawatch&#8217;s online <a href="http://www.monarchforums.com/index.php">Monarch Forum</a> asked another date related question. In this case, the character date appeared as mmm-yyyy, and once again, CtoD was returning null values.</p>
<p>CtoD needs three values in order to convert to a date: day, month, and year. If you&#8217;re missing any of them, CtoD will fail in every case. This means that you&#8217;ve got to supply what&#8217;s missing yourself to make it work.</p>
<p>Since the report itself didn&#8217;t include a day value, then the day number that we supply the CtoD isn&#8217;t really important; it&#8217;s just an arbitrary value to make the function work. To make sure that your formula works for every month, you could pick the 15th or the 28th, but in situations like this you&#8217;re probably better off with choosing the first of the month.</p>
<p>A possible formula to resolve this challenge is as follows:</p>
<p><code>CtoD(Left(RptDate,3)+"/01/"+Right(RptDate,4),"m/d/y")</code></p>
<p>Again, string manipulation functions play a role as we pull off the left and right sides of the report date, and add our own day number in the middle, and the &#8220;m/d/y&#8221; tells Monarch what format to expect in our final string.</p>
<h3>Today&#8217;s the Day</h3>
<p>Monarch includes quite a number of date related functions, and we&#8217;re sure to explore them further in the future, but the thing to keep in mind is that sometimes they need a little help from you to get you the right results. Do some more <a href="http://excelwithmonarch.com/tips/no-news-is-good-news">homework</a> today on Monarch&#8217;s functions and you&#8217;ll soon feel that you can excel with Monarch.</p>
]]></content:encoded>
			<wfw:commentRss>http://ExcelWithMonarch.com/functions/conquering-date-problems-in-monarch/feed</wfw:commentRss>
		</item>
		<item>
		<title>Monarch Batch File Generator</title>
		<link>http://ExcelWithMonarch.com/tips/monarch-batch-file-generator</link>
		<comments>http://ExcelWithMonarch.com/tips/monarch-batch-file-generator#comments</comments>
		<pubDate>Thu, 12 Jun 2008 05:00:51 +0000</pubDate>
		<dc:creator>Sandy</dc:creator>
		
		<category><![CDATA[General / Tips]]></category>

		<guid isPermaLink="false">http://ExcelWithMonarch.com/tips/monarch-batch-file-generator</guid>
		<description><![CDATA[A while ago you discovered Monarch, and you worked hard to learn how to model your data sources to easily extract the data you need and add value to that data. Your models seem to be working very well. You use your models regularly, maybe weekly or even daily, so you&#8217;ve got the routine down [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago you discovered Monarch, and you worked hard to learn how to model your data sources to easily extract the data you need and add value to that data. Your models seem to be working very well. You use your models regularly, maybe weekly or even daily, so you&#8217;ve got the routine down pat: open the data source and/or open the model, or open the project file, then go about exporting the records in the table or the summary window.</p>
<p>In fact, the process is so repetitive that you&#8217;re sometimes finding it almost, well, boring.</p>
<p>Don&#8217;t you wish you could have the computer do the work for you? Wouldn&#8217;t it be great if you could program it to do your work for you? Of course it would, but there&#8217;s one teeny problem: you&#8217;re no programmer, right? You don&#8217;t know a bit from a byte.</p>
<p>That&#8217;s OK. Really. Don&#8217;t worry.</p>
<p>The crew at Datawatch made Monarch so that you can give it instructions when you start it up, and it&#8217;ll do what you tell it. You don&#8217;t even have to click your mouse.</p>
<p>It will open the report you want, apply the right model to it, and send your extracted data to the file you want.</p>
<p>All of this is done with something called &#8220;command line parameters&#8221;. While it&#8217;s all documented in the online help, the process of creating this kind of automation is new to a lot of people, even experienced Monarch users, and they often struggle with this work.</p>
<p>So I thought I&#8217;d help.</p>
<h3>Introducing Another Exclusive, and Free, Utility</h3>
<p><a href="http://excelwithmonarch.com/">ExcelWithMonarch.com</a>, the web&#8217;s first and only site devoted exclusively to Monarch and Excel users, is proud to introduce the <a href="http://excelwithmonarch.com/FreeExcelTools/ExcelWithMonarch_Monarch_Batch_File_Generator.xls">ExcelWithMonarch Monarch Batch File Generator</a> (about 1.5MB). This is an Excel file specially programmed to assist you in building small batch files with which you can control your Monarch work.</p>
<p>You can run the batch file by double-clicking on the batch file name that the Generator creates (the name, and location, of the batch file is up to you). This will essentially automate a specific job that you do with Monarch.</p>
<p>You give the program some basic information about the name and location of your data source, your model or project files, the details about how and where you want to store your extracted data (along with other <a href="http://excelwithmonarch.com/calcfield/comparing-monarchs-internal-and-external-lookups">optional data</a>), and with a click of a button the program will make a batch file with which you can control Monarch automatically.</p>
<h3>Technical Details</h3>
<p>Being an Excel file with program code, there are some specific steps that you must perform before you can use the program on your computer. Those steps are detailed in the file, so I encourage you to carefully review the note included in the file.</p>
<p>The Monarch Batch File Generator has been designed to scan your Monarch model and project files for certain information, namely runtime parameters and project exports. This permits you to assign values to up to three runtime parameters, and either all of the defined project exports you&#8217;ve created, or specify up to ten individual project exports by name.</p>
<p>I&#8217;ve purposefully left the program code unprotected so that curious and adventurous readers can explore it and possibly use it as a learning tool. Please do not modify the code. The program is distributed under the <a href="http://creativecommons.org/licenses/by-nd/3.0/">Creative Commons Attribution-No Derivatives Works</a> license, and your use of the program constitutes your agreement to abide by the terms of the license. Thanks.</p>
<h3>Test, Test and Test Some More</h3>
<p>The program has been thoroughly tested (I have spent more hours on this than I care to think about), but if you discover any problems please let me know and they&#8217;ll be addressed as soon as possible, as much as I can with the software and environments which I have available.</p>
<p>I&#8217;ve used the program on a few computers with the Windows XP and Vista operating systems. I have only Excel 2003 with which to develop and test, so you&#8217;re on your own if you&#8217;ve got something else. Sorry, but for now, that&#8217;s the best I can do.</p>
<p>Of course, if you have some programming expertise and have the ability to contribute (that is, volunteer your time and efforts) to improve the program, that would be most welcome. <a href="mailto:sandy.cavalaris@excelwithmonarch.com?subject=I%20can%20help%20with%20the%20batch%20file%20generator!">Contact me</a> about how you can help.</p>
<h3>Acknowledgements</h3>
<p>No man, nor project, is an island, so I have some thanks to pass along.</p>
<p>First, thanks to my family for allowing me the time to devote to this admittedly self-imposed challenge. It definitely became more than I initially envisioned.</p>
<p>The program makes use of some code published by Microsoft Excel MVP&#8217;s <a href="http://www.cpearson.com/">Chip Pearson</a>, and <a href="http://www.excelguru.ca/blog/">Ken Puls</a>, and little bit on <a href="mailto:http://www.help-info.de/en/Visual_Basic_Applications/vba_using_example.htm">accessing help files</a> (thanks guys!).</p>
<p>I began developing this program in earnest some time ago, and I am exceedingly grateful to Nick Osdale-Popa for his fantastic help in getting the program off to a solid start.</p>
<p>Finally, to the many others who also assisted or otherwise contributed in many ways in getting this thing launched: <a href="http://www.datawatch.com/">Cheers</a>, and <a href="http://office.microsoft.com/en-us/excel/default.aspx">thanks</a>!</p>
<h3>This Tool is Not a Cure-All</h3>
<p>As much as I wish I could tell you that this little program will solve all of your Monarch troubles, realistically it just won&#8217;t.</p>
<p>You still need to create good Monarch building blocks.</p>
<p>You still need to <a href="http://excelwithmonarch.com/extract/video-how-to-build-a-monarch-model">create good Monarch models</a>, optionally with <a href="http://excelwithmonarch.com/filtering/filtering-data-with-monarch">filters</a> and <a href="http://excelwithmonarch.com/calcfield/monarchs-runtime-parameters">runtime parameter calculated fields</a>.</p>
<p>You still need to create <a href="http://excelwithmonarch.com/xlreport/use-monarch-to-build-a-report-with-both-details-and-a-summary">project files</a> with well defined exports.</p>
<p>You still need to give the <a href="http://excelwithmonarch.com/FreeExcelTools/ExcelWithMonarch_Monarch_Batch_File_Generator.xls">Monarch Batch File Generator</a> the right inputs in order to get the right output.</p>
<h3>Final Notes</h3>
<p>On my XP systems, the program feels very integrated with Monarch, in that it detects where the Monarch program is located on the computer, and it uses the favorite folders for reports, models, projects and exports, as defined in the Monarch folder options.</p>
<p>Unfortunately the same couldn&#8217;t be said for my Vista system, so some compromises had to be made. It still works very well, but it doesn&#8217;t quite have that &#8220;integrated with Monarch&#8221; feel you get when using the program on an XP box.</p>
<p>Well, I suppose that it&#8217;s time to let go of it now. All I can do is all I can do. It might not be absolutely perfect in every possible way, but if this utility program helps one single user such as it is, then I&#8217;ll be happy.</p>
<p>If you didn&#8217;t click the ealier links, download it now: <a href="http://excelwithmonarch.com/FreeExcelTools/ExcelWithMonarch_Monarch_Batch_File_Generator.xls">Monarch Batch File Generator.xls</a> (about 1.5MB). Give it a try, and let me know what you think.</p>
<p>I really do hope that you find this to be a useful addition to your toolkit, as you continue to excel with Monarch.</p>
]]></content:encoded>
			<wfw:commentRss>http://ExcelWithMonarch.com/tips/monarch-batch-file-generator/feed</wfw:commentRss>
		</item>
		<item>
		<title>Simplify the Complex</title>
		<link>http://ExcelWithMonarch.com/tips/simplify-the-complex</link>
		<comments>http://ExcelWithMonarch.com/tips/simplify-the-complex#comments</comments>
		<pubDate>Mon, 09 Jun 2008 19:15:49 +0000</pubDate>
		<dc:creator>Sandy</dc:creator>
		
		<category><![CDATA[General / Tips]]></category>

		<guid isPermaLink="false">http://ExcelWithMonarch.com/tips/simplify-the-complex</guid>
		<description><![CDATA[I have a whole new appreciation for those who develop software professionally.
My little utility program began its life as such a simple idea. Then I started working on it (even before I launched this blog), and a little later shared it with a few fellow users who provided some good input. They saw a somewhat [...]]]></description>
			<content:encoded><![CDATA[<p>I have a whole new appreciation for those who develop software professionally.</p>
<p>My little utility program began its life as such a simple idea. Then I started working on it (even before I launched this blog), and a little later shared it with a few fellow users who provided some good input. They saw a somewhat bigger vision for it than I did initially. And that was good, as the program is better for it, I think.</p>
<p>Then I gave a live demonstration with a somewhat built up skeleton, and realized that I needed to revamp the whole interface because what existed wasn’t as intuitive as I believed it to be.</p>
<p>When the functionality was pretty good, and the whole thing looked and felt pretty good, I tried making it as accessible as possible for users of different operating systems and different versions of the application software.</p>
<p>In the end I have made some compromises in the interest of &#8220;getting it done&#8221;. This is version 1, after all, and if one day it merits further development or progression, then I’ll look at what’s needed and see what I can do about it. So I decided to force myself to simplify what was becoming (at my own hand) far too complex.</p>
<p>I’m nearing the end now. It’s almost in a position where I can share it with you.</p>
<h3>Monstrous Scope Creep</h3>
<p>It’s funny how this really does resemble working with both Excel and Monarch.</p>
<p>You often start out with a vision in your mind of what it is that you want to accomplish. Then you do whatever it takes to get the basics done. Later, requirements for additional functionality are conceived, sometimes out of necessity, sometimes it’s a &#8220;wouldn’t it be nice if&#8221; type of thing.</p>
<p>With Monarch, the basics are to get the existing data out of where it currently resides and into another format. That’s easy enough, most of the time. Then you look for ways to add value to your data; ways that your organization can benefit even more from what you can acquire and gather. This might include adding calculations or integrating external data, or even exploring different ways to summarize the data so as to gain new insight into the story your data is trying to tell you.</p>
<p>With Excel, your basic worksheet often takes on a life of its own, as various users of your information add more and more levels of complexity, either within the single sheet or integrated with other sheets in the same file or other files. You might even find that you need to introduce macro programs into the file, or enhance macros that already exist. This can be a real challenge if you didn’t create the code originally.</p>
<p>Finally, you’ve got the optimal model (for today anyway) with an Excel file that uses the data you’ve generated with Monarch. The end result gives you a tool that Monarch cannot achieve on its own.</p>
<p>One of the last steps in building your efficient system might be to automate your Monarch work, but many feel that automation is a complicated step that is out of their reach or ability.</p>
<p>Not necessarily. Stay tuned. If I’ve done what I wanted to do properly, I can help you tame the monster somewhat and simplify the complex, and you’ll soon have another way to excel with Monarch.</p>
]]></content:encoded>
			<wfw:commentRss>http://ExcelWithMonarch.com/tips/simplify-the-complex/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
