How to Use “Edit in Excel” in Business Central (Step-by-Step Guide)

Quick tutorial

4–6 minutes
This picture shows a general journal screen where the buttons to access Edit in Excel are highlighted.

Common Use Cases for Edit In Excel

IMPORTANT: Edit in Excel follows the same system logic as the Business Central interface. You can only create, insert, or delete records allowed by the system. Restrictions, such as not being able to delete or change most fields of a General Ledger Entries, still apply.

How to use Edit in Excel

The steps below explain how to create and use a template. This feature applies to master records, documents, and more, but I’ll use a General Journal as an example for this blog post.

Shows the New, Refresh, Publish, Filter, and Design options that are available for Edit in Excel.
  1. First, export the General Journal to excel using the Edit in Excel button giving you a starting point.
  2. Design your template to fit your needs by removing columns, adding custom columns, and rearranging them. More on this later in the post.
  3. After designing, Save the file locally or in a shared location for your team. Next time, do not use the Edit in Excel button in Business Central, as it will revert to the original export without your changes. Your edits will be in the file you saved.
  4. Before using the saved template again, always Refresh the sheet. This pulls the latest data from Business Central into the Excel table. If you skip this, you’ll have to refresh during Publish, which will overwrite your work. Again, ALWAYS REFRESH!!! Redoing work blows, don’t do that to yourself.
  5. The New button will create a new row in the table. However, you can just enter directly into the excel table like normal, so this button isn’t really ever used.
  6. Filter and Design allow you to customize the columns and rows that you see. More on this below.
  7. Click the gear icon in the top right of the Data Connector to get options to switch between environments and companies.

How to Design an Edit in Excel Template

  • Template Creation: When you first open Edit in Excel, you’ll see a lot of extra columns in the table. Start by cleaning this up: click on the Design button and then the Pencil Icon for the data source to add or remove fields.

Design Mode Options

  • Entity Options: Refresh after publish. This will update your Excel table with the latest data from Business Central after you publish your data. I recommend keeping this on.
  • Available Fields: These are fields you could add to the template that are not currently shown.
  • Selected Fields: These are the fields displayed in the table. You can rearrange them using the Up or Down buttons or remove any that are unnecessary. Fields with the Key icon next to the name must remain, as they are the primary keys required by Business Central.
  • Formula: Create custom columns for calculations using Microsoft Excel formulas with structured references. Pro Tip: AI is great for writing these formulas! I used Copilot and literally would of never figured this out 😂
    • Running Balance: Shows the total of all entries up to the current line for quick balance checks after entering Debits and Credits. Code below:
=SUM(INDEX([Amount],1):[@[Amount]])
  • Total Balance Check: This shows if the journal lines total is balanced to zero. Conditional Formatting highlights “Out of Balance” in red. Code Below:
=IF(ABS(SUM([Amount]))<1E-5,"Balanced","Out of Balance")
Expand to See Picture of Design Options

Adding Additional Tables

You can add multiple Business Central tables to Excel which can be helpful in many scenarios. For instance, I often create journal entries for Expense accounts and need a quick way to view them without opening Business Central. To do this, I included the Chart of Accounts table and applied a Filter for accounts with an Account Category of Expense. This only took two steps:

  1. Add Table: Click Design and then choose Add Table
  2. Add Filter: Select Filter and then Add a filter field to create one.

Watch this video demonstration below of me using a template that I’ve already customized.

Thank you for reading, I hope you learned something new.

As always, stay SAASY my friend.

-Dino

Leave a comment

Trending