Professional Documents
Culture Documents
Excel Cleanup Guide
Excel Cleanup Guide
Overview
1. Steps for preparing an Excel file for Excel Analytics, Power BI, or
ACL import
Bottom line – A properly prepared Excel file is ready for Excel Analytics,
Power BI, or ready for import into ACL when it has the following
characteristics:
This guide will take you through the basic steps to properly prepare a
relatively clean Excel file. (See Appendix-Y to learn about characteristics
of relatively clean vs. “messy” Excel files)
Many financial reporting systems create Excel files. However, data being
in Excel doesn’t necessarily mean you’ll have an easy time preparing the
file for Excel Analytics, Power BI, or for ACL. The data may be structured
in a difficult-to-use report-like format, or have other data issues.
Oftentimes, Excel files are not an option. Data can come in a variety of
non-Excel formats such as PDF, text files, text reports, delimited files
(CSV), Word documents, Access databases, etc.
Row-1 in Excel will become the fieldnames used by Excel Analytics and
ACL, if the spreadsheet is subsequently imported to ACL. Whether or not
ACL will be used, it makes sense to use ACL’s rules for fieldnames:
Below the column names in row-1, the data should begin in row-2, and
be contiguous with no blank rows or blank columns, subtotals or totals or
any non-data such as page breaks or report headings.
Helpful tips:
1. Use the Excel Analytics sheet checker. Click the sheet checker
to eliminate blank rows and columns, totals and subtotals. It may
not fix everything but it will put you several steps ahead. If you
have page headers interspersed throughout your data, sheet
checker would not clean these up.
Consider the following examples and how they would make data analytics
using Excel or Excel Analytics usage more difficult.
If you were to total the accounts receivable by city, and the city
column contains uppercase, lowercase, and proper case data, you
would get totals by each of the city-variations based on case, not
by city.
If you were to perform a VLookup in Excel, leading spaces (spaces
on the left) causes matching issues.
Some data, such as account numbers, customer numbers, etc.,
may physically be numeric in Excel but should be converted to text
and left justified in order to perform key functionality in Excel or
Excel Analytics.
Manipulate Fields
ACL Import Steps - The data preparation steps required for Excel
Analytics are the same steps required for Excel data preparation
prior to importing into ACL.
Make sure to save the spreadsheet into a folder where you will create and
access your ACL project. Below are the detailed steps to import a
properly prepared Excel file into ACL.
An ACL project is a small file in which ACL stores Table Layouts, Views
and Scripts. Using plain words, an ACL Project points to your data files,
indicates what the columns are, and manages how the data is displayed
on your screen. In Windows explorer, you’ll notice ACL Projects have the
*.ACL extension. An ACL Project is NOT your data file. You should
Follow the appropriate steps below based on whether you don’t have and
need to create an ACL project, or have an existing ACL project and need
to access it.
To create an ACL project: Open ACL and select New Project. Point to
the folder you have designated (where the properly prepared Excel file
resides) and enter a project name. Click [Save] and the project will be
created. Warning: If you create a new project with the name of an
existing one, the existing one will be overwritten.
To open an existing ACL project: Open ACL and select Open project.
Point to the folder you have designated (where the existing ACL project
and properly prepared Excel file resides) and double-click an existing
project name.
Select “Local”
Within the “Select Data Source” screen, here should be a black-dot next
to “Disk”, click [Next >]
Step 3 — Select the named range and tell ACL how to detect
column widths and data types
Follow the steps displayed in the screen below. As noted in Step 3 in the
screen below, use the entire spreadsheet to determine the field (column)
widths and data types. Do not use the “First 100 records” option. This
can result in data being truncated. Example: Your file has a column
ACL will analyze your spreadsheet and then display a preview screen.
This will be your final opportunity to make edits to fieldnames, data
types, date formats, number of decimals and column widths.
Field (column) names: If during Step 1 of the Excel file cleanup, you
created a bad ACL fieldname, you can fix it at this point. For example,
the fieldname Cust # would appear as Cust__as ACL cannot accept the
space and # symbol and replaces them with underscores. As you click on
each column, ensure you have appropriate ACL fieldnames.
After clicking [Next >] on ACL’s preview screen, you’ll be asked to enter a
filename which will become the name of your ACL table. It will have the
extension *.fil when viewing your folder in Windows Explorer.
After the conversion is complete, a screen will display the fieldnames and
data types. This is when you click [Finish].
The last step is to accept the table layout name which will be the same as
the data file’s name. When ACL says, “Table ‘Untitled’ was changed, save
as”, Click [OK].
The next screen is ACL’s main view displaying your imported data. Run
Analyze / Statistics on an amount field in order to verify it agrees with an
expected amount such as the total that you had in Excel and the account
balance being tested.
3. Once you have ensured all spreadsheets have the same respective
columns, access Excel Analytics, and select the icon titled, “Manage
Sheets”, and then select “Append Sheets”. Shift+Click to select
every spreadsheet, regardless of which workbook it is in, which
needs to be combined (appended) into one spreadsheet. The
default options should suffice in most cases and are self-
explanatory. Simply click [OK] and a new tab, named “Appended”
will appear and this will be your combined data. You have the
option of normalizing the data before or after appending sheets
Verify the data contains all of the necessary columns (fields) needed to
perform your analysis.
Make sure the data is at the correct testing unit level of detail.
Verify that the totals at the bottom of the spreadsheet or other form of
data agrees or “ties out” to the account balance you are testing, or to
some other expected amount. You should attempt to recalculate totals
from within Excel.
Save a copy of the original file in case you get to a point where you just
want to start over.
Verify that the totals at the bottom of the spreadsheet or other form of
data still agrees to the account balance you are testing, or to some other
expected amount.