{"id":4108,"date":"2023-08-25T17:08:04","date_gmt":"2023-08-25T22:08:04","guid":{"rendered":"https:\/\/www.splasmata.com\/?p=4108"},"modified":"2023-08-25T17:08:04","modified_gmt":"2023-08-25T22:08:04","slug":"secrets-of-importing-amounts-in-text-or-csv-files","status":"publish","type":"post","link":"https:\/\/www.splasmata.com\/?p=4108","title":{"rendered":"Secrets of importing amounts in text or CSV files"},"content":{"rendered":"\n<p class=\"has-text-align-center wp-block-paragraph\"><em>&#8220;My bank exports transactions but they&#8217;re all positive so there&#8217;s no way to import and get Debits&#8230;&#8221;<\/em><\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\">or<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><em>&#8220;My credit card charges are positive and the credits are negative, just the opposite of what I need&#8230;&#8221;<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Star_Trek:_The_Motion_Picture\">Star Trek&#8217;s<\/a><\/strong> Bones once said, &#8220;<em>I know engineers, they <strong>love<\/strong> to change things.<\/em>&#8221;  And, having seen at least forty-two thousand more statement files than your average bear, we&#8217;re <strong>highly inclined<\/strong> to agree.  We&#8217;ve borne witness to wacky date formats, data in the wrong field(s), deposits with negative amounts and debits with positive amounts, and even all positive amounts &#8211; no matter what kind of transaction.  You name it, it&#8217;s out there.  And, you&#8217;re probably reading this right now because you&#8217;re in it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>Enter <a href=\"https:\/\/splasm.com\/checkbook\">CheckBook&#8217;s<\/a> <strong>Import Options<\/strong> &gt; <strong>Data Layout<\/strong>.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As you import a text or CSV file into an Account for the first time, you&#8217;ll want to set up that Account&#8217;s <strong>Import Options<\/strong> &gt; <strong>Data Layout<\/strong>.  That&#8217;s the bit at the top of the <strong>Import Options<\/strong> window, right after you select the file to import.  Once you get this part right, you won&#8217;t have to touch it again unless your bank changes how they export.  \u00f0\u0178\u00a4\u017e<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each row in <strong>Data Layout<\/strong> is the raw data for a single transaction, what will become a CheckBook Entry, while the columns are for the various details of each transaction.  If you know spreadsheets, you&#8217;ll feel right at home.  Banks usually export at least four columns per row:  a date, amount, check number (if applicable), and some kind of half human language, half reference number mashup that <em>might<\/em> give a general idea of what the transaction was for.  Some banks give a bit more, like a column for charges and a column for credits, or a column for a running balance.  It just depends on how many <a href=\"http:\/\/www.bernstein-plus-sons.com\/RPDEQ.html\">Twinkies<\/a> the engineers at your bank gobbled the day they specced their export project.  What matters is you&#8217;ll need to tell CheckBook what kind of data is in each column so it can make Entries out of all that.  That&#8217;s what the little menu buttons at the top of each column are for:  you pick the type of data in the column, like <strong>Date<\/strong>, <strong>To\/From<\/strong>, or <strong>Amount<\/strong>, and off you go&#8230;<em>except for those amounts that don&#8217;t make sense.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some banks really will give you all positive numbers, even for your debits or charges.  Others do the aforementioned two-column deal for debit and deposit amounts.  And credit card banks love to make charges positive and credits negative.  No worries, though:  you can tell CheckBook to flip those amounts around as needed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If your bank provides a single column with <em>all<\/em> positive numbers<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These banks usually include another column to tell you which rows are for debits and which are for deposits.  In <strong>Data Layout<\/strong>, click the menu button above the column with all the amounts, click the <strong>Amount<\/strong> menu item, then put a checkmark in the <strong>Import Entries whose <em>X<\/em> field is <em>Y<\/em> as Debits<\/strong> checkbox further down the window.  Now, the first menu button in that checkbox will be a list of column names.  Click the first menu button, then click the name of the column that has the unique detail that tells you the row is a debit or a deposit.  The second menu button will be a list of all the values in the column you just chose.  Click the second menu button, then click the debit-specific value.  For example, if your file has <strong>Date<\/strong>, <strong>Amount<\/strong>, <strong>Type<\/strong>, <strong>Check #<\/strong>, and <strong>Payee<\/strong> columns, you&#8217;ll set up the window like so:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"2342\" height=\"1580\" src=\"https:\/\/www.splasmata.com\/wp-content\/uploads\/2023\/08\/Import-Options-1.png\" alt=\"\" class=\"wp-image-4111\" srcset=\"https:\/\/www.splasmata.com\/wp-content\/uploads\/2023\/08\/Import-Options-1.png 2342w, https:\/\/www.splasmata.com\/wp-content\/uploads\/2023\/08\/Import-Options-1-300x202.png 300w, https:\/\/www.splasmata.com\/wp-content\/uploads\/2023\/08\/Import-Options-1-500x337.png 500w, https:\/\/www.splasmata.com\/wp-content\/uploads\/2023\/08\/Import-Options-1-768x518.png 768w, https:\/\/www.splasmata.com\/wp-content\/uploads\/2023\/08\/Import-Options-1-1536x1036.png 1536w, https:\/\/www.splasmata.com\/wp-content\/uploads\/2023\/08\/Import-Options-1-2048x1382.png 2048w\" sizes=\"auto, (max-width: 2342px) 100vw, 2342px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If your bank provides <em>two<\/em> amount columns<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In <strong>Data Layout<\/strong>, click the menu button above the column with all the positive amounts, then click the <strong>Positive Amount<\/strong> menu item.  Now, click the menu button above the column with all the negative amounts, then click the <strong>Negative Amount<\/strong> menu item.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>If your credit card bank provides a single column with amounts that are <em>opposite<\/em> what you need<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In <strong>Data Layout<\/strong>, click the menu button above the column with all the amounts, then click the <strong>Flipped Amount<\/strong> menu item.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">How&#8217;s that work for you?  If you need a hand, we&#8217;re ready to help at <a href=\"mailto:support@splasm.com\">support@splasm.com<\/a>!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>(And now you know the secrets.  Blab them all you want!)<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;My bank exports transactions but they&#8217;re all positive so there&#8217;s no way to import and get Debits&#8230;&#8221; or &#8220;My credit card charges are positive and the credits are negative, just the opposite of what I need&#8230;&#8221; Star Trek&#8217;s Bones once &hellip; <a href=\"https:\/\/www.splasmata.com\/?p=4108\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[12],"class_list":["post-4108","post","type-post","status-publish","format-standard","hentry","category-checkbook","tag-support"],"_links":{"self":[{"href":"https:\/\/www.splasmata.com\/index.php?rest_route=\/wp\/v2\/posts\/4108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.splasmata.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.splasmata.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.splasmata.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.splasmata.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4108"}],"version-history":[{"count":8,"href":"https:\/\/www.splasmata.com\/index.php?rest_route=\/wp\/v2\/posts\/4108\/revisions"}],"predecessor-version":[{"id":4119,"href":"https:\/\/www.splasmata.com\/index.php?rest_route=\/wp\/v2\/posts\/4108\/revisions\/4119"}],"wp:attachment":[{"href":"https:\/\/www.splasmata.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.splasmata.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.splasmata.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}