To import Excel data into a Visio org chart, use the Organization Chart Wizard to map your spreadsheet columns to employee names and managers. This process automates the creation of the chart, eliminating the need to manually draw shapes and connectors for every staff member.

What You'll Need

  • Microsoft Visio (Plan 2 or Professional edition, as the Org Chart Wizard is not available in the basic Visio Standard or Web versions).
  • Microsoft Excel.
  • An Excel spreadsheet formatted as a table or a clean list with at least two columns: one for the Employee's unique identifier (Name or ID) and one for their Manager's unique identifier.

Step-by-Step

  1. Prepare your Excel data: Ensure your data is organized in rows and columns. Every person must have a unique ID or name. Crucially, there must be a column that specifies who that person reports to. For example, Column A could be "Employee Name" and Column B could be "Manager Name." Save and close the Excel file before opening Visio.
  2. Launch the Org Chart Wizard: Open Visio. From the start screen or the File menu, select New. Search for "Organization Chart" and select the template. When prompted, choose the option to "Information that's already stored in a file or database."
  3. Select your data source: In the wizard, select "A text, Org Plus, or Excel file" and click Next. Click Browse to locate and select your saved Excel workbook.
  4. Choose the worksheet: Select the specific sheet within the workbook that contains your employee data and click Next.
  5. Map the reporting hierarchy: This is the most critical step. The wizard will ask how you want to organize the chart. Select "Automatically create the organization chart from the selected data." Click Next.
  6. Assign the Name and Manager columns:
    • In the "Name" dropdown, select the column that contains the employee names.
    • In the "Reports to" dropdown, select the column that contains the manager's name or ID.
    • Click Next.
  7. Add additional data (Optional): If you have other columns in Excel (such as Job Title, Department, or Office Location), you can select them here to be displayed on the shapes in the chart. If you don't need extra info, click Next.
  8. Finalize the layout: Choose how you want the chart to be laid out (e.g., automatically arranged). Click Finish. Visio will now generate the shapes and connect them based on the manager-employee relationships defined in your spreadsheet.

Common Mistakes

  • Leaving the Excel file open: Visio often cannot access the data source if the file is currently open in Excel. Always close the spreadsheet before running the wizard.
  • Circular References: This occurs if Employee A reports to Employee B, but Employee B is accidentally listed as reporting to Employee A. This will cause the import to fail or create an infinite loop.
  • Inconsistent Naming: If you use names instead of IDs, "John Doe" in the employee column must exactly match "John Doe" in the manager column. A typo like "Jon Doe" will result in a disconnected shape.
  • Missing Top-Level Manager: Ensure the person at the very top of the organization has a blank "Reports to" cell. If everyone has a manager, Visio may not know where to start the root of the tree.

Tips

  • Use Employee IDs: Whenever possible, use a unique Employee ID number rather than names. IDs prevent errors caused by employees with the same name.
  • Use Excel Tables: Formatting your data as an official Table (Ctrl+T) in Excel helps Visio recognize the data range more reliably.
  • Syncing Data: If your organization changes frequently, consider using a linked data source. This allows you to update the Excel sheet and refresh the Visio chart without recreating it from scratch.
  • Post-Import Formatting: Once the chart is generated, use the "Org Chart" tab in the top ribbon to quickly change the layout style, adjust the spacing, or change the shape colors.

Troubleshooting

If the import does not go to plan, try these steps in order:

  1. Check for Blank Rows: Ensure there are no completely empty rows or columns within your data set, as this can trick the wizard into thinking the data has ended.
  2. Verify Data Types: Ensure the "Reports to" column contains data that exactly matches the "Name" or "ID" column. Check for trailing spaces at the end of names.
  3. Restart Visio: If the wizard freezes or fails to browse for files, restart the application and ensure you are running it as an administrator if your files are stored on a restricted network drive.
  4. Simplify the Dataset: If you have thousands of rows, try importing a small sample of 10-20 rows first. If the sample works, the issue is likely a data error (like a circular reference) buried in the larger list.

Frequently Asked Questions

Can I import data from a CSV file?

Yes, the Organization Chart Wizard supports text files and CSVs. Select "A text, Org Plus, or Excel file" and choose the CSV from your folder.

Will the chart update automatically if I change the Excel file?

Not by default. You must set up a data link. If you simply imported the data once, you will need to run the wizard again or manually update the shapes.

Why are some employees floating without connections?

This happens when Visio cannot find a match between the employee's "Reports to" value and a corresponding "Name/ID" in the employee column.

Can I import photos from Excel into the org chart?

You cannot import the image file itself inside an Excel cell, but you can import the file path (e.g., C:\Photos\Employee1.jpg) to a data column and then link that column to the shape's image property in Visio.

Does this work in Visio for the Web?

No, the full Organization Chart Wizard and data import capabilities are currently limited to the Visio desktop application.