Bottom Line: With Excel's latest update, you can now create dynamic reports in multiple languages, making your spreadsheets more accessible and user-friendly for international audiences.
Skill Level: Intermediate to Advanced
Watch the TutorialWatch on YouTube & Subscribe to our ChannelDownload the Excel FileYou can follow along using the same Excel file that I used in the video.
TRANSLATE Function.xlsxDownload Getting Started with the Translate FunctionExcel’s TRANSLATE function is a new feature, allowing you to translate text in your reports with ease. Here's how:
=TRANSLATE.This function taps into Microsoft’s translation service, and though it's currently in Beta, it's incredibly effective for multilingual reports.
Creating a Dynamic Report with Language SelectionA big part of the magic happens when you allow users to select their desired language via a dropdown menu. Here's how to create that dropdown.
Prepare Your Language List:
Create the Dropdown:
Link to the Translation Code:
Using the PIVOTBY Function for Summary ReportsThe new PIVOTBY function simplifies creating summary reports by automatically grouping your data. Here’s how to set it up:
This functionality allows you to present the same report in different languages without manually adjusting data.
For more about how to use PIVTOBY, check out this tutorial.
Note: If you want to create a chart from your data, be sure to translate the Chart Title using the TRANSLATE function as well. You can also wrap it in the PROPER function to ensure that all of the words translated are capitalized. See the video above for details on this technique.
Optimizing PerformanceOne challenge with translating large datasets is performance. To optimize your report:
Click to enlarge2. Use XLOOKUP twice to reference this table in your Customer Data—first to find the word in the original language, and then to pull the corresponding translation based on the selected language. This method drastically reduces redundant translations and improves efficiency, as it eliminates the need to translate each cell individually. (See the video for a breakdown of the XLOOKUP arguments.)
For more details on how to use Power Query, check out this post: Power Query Overview: An Introduction to Excel’s Most Powerful Data Tool
Offline Translation with XLOOKUPThe TRANSLATE function requires an internet connection, but you can make your reports offline-ready by preloading translations into a lookup table. Simply use XLOOKUP to pull from this static table instead of relying on the translation service.
This technique ensures that your reports function even when offline, making them more versatile.
Bonus: DETECTLANGUAGE FunctionIf there is text in a language that you can't identify, you can use the DETECTLANGUAGE function to return the language code. Use your language list to match the code to the language so you can tell what language you are looking at.
ConclusionWith Excel's new translation features, creating interactive and dynamic reports in multiple languages is easy. Whether you’re managing data for international teams or optimizing reports for multilingual audiences, these new tools allow you to streamline your process and improve your workflow.
Do you see yourself using the translation functions? Leave a comment below and let us know what you think.
Link to post: Create Interactive Excel Reports in ANY LANGUAGE