How to batch generate PPTs based on an Excel spreadsheet? Supports one file per row or merging into a single slide
When data such as names, awards, dates, event names, and photos are already organized in an Excel spreadsheet, copying them one by one into a PPT template is not only time-consuming but also prone to omissions, incorrect entries, and image mismatches. This article explains how to use HeSoft Doc Batch Tool to map xlsx or xls data columns to text and image placeholders in a PowerPoint template, and generate a separate pptx file for each Excel row or merge all records into one slide file, making it suitable for batch production of certificates, awards, notices, name badges, reports, and product materials.
When the information of dozens or even hundreds of people has already been organized in an Excel data sheet, and each person needs a PPT with the same layout but different content, the most time-consuming part is usually not designing the template, but repeatedly copying names, awards, event names, dates, and photos. Manual production is not only repetitive, but may also place Zhang San's photo on Li Si's page, or miss a certain file when modifying dates.
This type of task can be completed through the batch processing capabilities of office software: first prepare an Excel or xlsx data sheet, then create a PowerPoint template containing field markers, and have the software read the data row by row and automatically replace the template content. In the end, each row in Excel can generate an independent pptx file, or all data records can be merged into a multi-page slide file. The following uses batch creation of award commendation slides as an example to introduce the specific operation method of HeSoft Doc Batch Tool .
1. What batch creation scenarios is this method suitable for
Batch generating PPT based on Excel is essentially about separately managing the "fixed layout" and the "changing data". PowerPoint is responsible for page design, Excel is responsible for storing the text and images of each record, and office software is responsible for establishing field correspondence and outputting files in batches.
This processing method is especially suitable for the following tasks:
- Batch creation of certificates, awards, or award notifications: names, awards, award dates, event names, and personal photos are all different, but the page layout remains consistent.
- Batch generation of personnel introduction pages: generate personal profile slides based on lists of employees, students, lecturers, or guests.
- Creation of meeting table cards, badges, and event name cards: fill Excel fields such as name, department, position, and number into a unified template.
- Batch generation of product or project materials: write product names, specifications, prices, introductions, and product images into PPT pages.
- Creation of data reports or business briefings: generate presentation files with the same structure one by one according to region, store, project, or customer.
- Centralized creation followed by unified presentation: generate all records in Excel into one PowerPoint file, with each record corresponding to one page or one group of pages.
If the design of each PPT is the same, with only a small amount of text and images differing, there is no need to open the template, copy content, and save the file one by one. Handing repetitive work over to batch processing tools usually makes it easier to maintain consistency in formatting and data.
2. Effect preview: what needs to be prepared before processing
1. Prepare a clearly structured Excel data sheet
Before processing, first organize all changing content into an Excel worksheet. In the example table, the worksheet name is "Students". Row 1 is the header row, containing five columns: Name, Award, Event, AwardDate, and Avatar. Starting from row 2, each row represents the complete record of one person.

Among them, Name stores the name, Award stores the award, Event stores the event name, AwardDate stores the date, and Avatar stores the person's photo. The Excel table in the screenshot not only contains text, but also places images corresponding to the people in the Avatar column, which provides a data source for later batch filling of the avatar area in the PPT.
When organizing Excel, it is recommended to follow the principle of "one column for one field, one row for one complete record." The header row should not be mixed with official data, and the meaning of data in the same column should remain consistent. Although common data files may be in xlsx or xls format, in actual use the file should be one that the software can read normally.
2. Prepare a PowerPoint template with field markers
Next, create the PowerPoint template. The fonts, colors, background, text positions, and image areas in the template can be designed in advance, while the positions that need to be replaced by Excel data should use easily recognizable field markers.

The example template uses [Name], [Award], [Event], [AwardDate], and [Avatar]. These markers correspond respectively to the five column names in the Excel table. During generation, the software will replace [Name] with the name in the current row, [Award] with the award, [Event] with the event name, [AwardDate] with the date, and write the image in the Avatar column into the avatar position.
The field markers themselves do not necessarily have to use the English names shown in the screenshot, but the template markers, Excel column names, and corresponding settings in the software must maintain the correct relationship. It is recommended to use markers with clear meanings that do not repeat, and avoid using ordinary words that may naturally appear in the template body text, otherwise the risk of incorrect replacement may increase.
3. What results can be obtained after processing is completed
1. Each Excel row generates an independent PPT file
If "Generate one file for each row of Excel data" is selected, the software will read the table row by row and output multiple independent PowerPoint files. In the example results, files such as Amelia Scott.pptx, Benjamin Clark.pptx, Chloe Anderson.pptx, Daniel Cooper.pptx, and Grace Collins.pptx were generated.

This output method is suitable for tasks that require separate sending, printing, archiving, or delivery. For example, each award recipient needs to receive a separate commendation PPT, each employee needs an independent introduction file, or each customer needs a separate proposal. The screenshot shows that the generated results use personnel names as file names, making later retrieval and distribution easier; actual file naming should be based on software settings and data content.
2. Template text and images are automatically replaced
After opening the generated file, it can be seen that the field markers in the original template have been changed to the actual content in the current Excel record. The example page shows the name as Amelia Scott, the award as Leadership Award, the date as 2026-11-17, and the event name as Student Leadership Program. The avatar on the left has also been replaced with the corresponding person's photo for that record.

The original title, font hierarchy, colors, and layout structure of the template are preserved. What changes are only the text and images corresponding to the data table. This can maintain visual consistency across all slides while reducing errors and omissions caused by page-by-page modification.
3. All records can also be merged into one slide file
If the final purpose is centralized playback, unified reporting, or one-time printing, "Merge all rows into one file" can be selected. In this case, there is no need to output a large number of independent pptx files. Instead, multiple records in Excel can be centrally generated into one PowerPoint presentation.
Neither method is absolutely better than the other: choose one file per row when files need to be sent to individuals or archived separately; choose merging into one file when continuous display or centralized management is needed. Determine the delivery method before starting processing to reduce the work of splitting or merging PPTs again after generation.
4. Operation steps for batch generating PowerPoint files based on Excel
Step 1: Enter the PowerPoint tool and open the corresponding function
Launch HeSoft Doc Batch Tool . It is a batch processing software for office files such as Word, Excel, PowerPoint, PDF, text, and images, mainly used to reduce repetitive operations. In the function bar on the left, enter "PowerPoint Tools", and then find "Batch generate PowerPoint files based on Excel".

The description on this function card states that each row of Excel data can be used to fill a PowerPoint template and generate files in batches. After clicking to enter, the software will guide the user to complete the task according to the process of "select the records to be processed, set processing options, set the save location, and start processing".
Purpose of this step: enter the batch processing module specifically used for associating Excel data with PPT templates.
Expected result: open the task page for "Batch generate PowerPoint files based on Excel".
Step 2: Add the PowerPoint template that needs to be filled with data
On the "Select the records to be processed" page, click "Add files" and select the already prepared PowerPoint template. You can also import files from a folder through the entry provided on the page. In the example, template.pptx is added, and the list simultaneously displays the file path, extension, creation time, and modification time, making it easy to confirm whether the correct template has been selected.

The page prompts that a template file must be added first, and the Excel data sheet and correspondence can be set in the next step. After confirming that the template in the list is correct, click "Next" at the bottom. If the wrong file is selected, you can use the delete entry in the list operation area to remove it and add it again; "Clear" is used to clear the current list.
Purpose of this step: tell the software which PPT layout needs to be copied and filled.
Expected result: the template file appears in the processing list, and you can enter the Excel data and field mapping settings page.
Step 3: Select the Excel file, worksheet, and header row
After entering "Set processing options", first click "Select file" in the "Select Excel data table file" area to import the Excel workbook that stores the data. After the software reads the file, you need to select the specific worksheet. In the example, Students is selected.
Then set "Header row (the row closest to the data body)". In the example Excel file, row 1 contains column names such as Name, Award, Event, AwardDate, and Avatar, so enter 1 here. The software will identify the fields of the data table based on the header row and display these fields in the correspondence area below.
The page also provides a switch for "Process only visible data rows". If there are hidden rows or filtered data in Excel, you can decide whether to enable it according to the actual processing scope. Turn it on only when you need to generate only the currently visible records; if you want to process all records in the data table, you should confirm that hidden or filtered states will not cause omissions.
Purpose of this step: determine the data source, worksheet, and field header position used for batch generation.
Expected result: the software correctly identifies the Name, Award, Event, AwardDate, and Avatar columns in Excel.
Step 4: Set the correspondence between Excel columns and PPT template fields
This is the most critical step in the entire operation. In the "Set the correspondence between template and data table" area, the left side shows the column names in the data table, and the right side is used to enter the text that needs to be found and replaced in the template.

The example correspondence is as follows:
- The Name column corresponds to [Name] in the PPT template;
- The Award column corresponds to [Award] in the template;
- The Event column corresponds to [Event] in the template;
- The AwardDate column corresponds to [AwardDate] in the template;
- The Avatar column corresponds to [Avatar] in the template.
Name, Award, Event, and AwardDate are ordinary text, so the data table column type is selected as "Default"; the Avatar column stores portrait photos, so "Image" is selected. In this way, the software will write the content of that column into the template as an image, rather than treating it as ordinary text.
The interface also provides a "Find and replace" entry, which can be used to assist in locating the field text in the template. After the settings are completed, the spelling, capitalization, and brackets should be checked one by one to ensure consistency with the template. For example, [AwardDate] and [Awarddate] look similar, but they are not exactly the same string. Any extra spaces, bracket differences, or letter errors may cause the corresponding field not to be replaced.
Purpose of this step: establish the mapping between Excel columns and PowerPoint template content, and distinguish text fields from image fields.
Expected result: each data column finds the correct template marker, and the avatar column is set to image type.
Step 5: Choose whether to generate multiple PPTs or merge them into one file
Select the output method in the "Set the number of generated files" area. The interface provides two options: "Generate one file for each row of Excel data" and "Merge all rows into one file".
- Generate one file for each row of Excel data: suitable for certificates, personal reports, notifications, customer proposals, and other content that needs to be delivered separately.
- Merge all rows into one file: suitable for reporting, centralized display, continuous playback, or unified printing.
In the screenshot, "Generate one file for each row of Excel data" is selected, so after processing, multiple pptx files distinguished by personnel information are obtained. When choosing, the number of files and subsequent use should be considered. Do not wait until generation is complete before temporarily adjusting the delivery structure.
Purpose of this step: determine the organization between Excel records and output PPT files.
Expected result: the software generates multiple independent files according to the selected mode, or writes all records into one presentation.
Step 6: Set the save location and start processing
After completing the field mapping and generation method settings, click "Next" to enter "Set save location" in the wizard. It is recommended to choose a separate empty folder to save the results, and do not mix them with the original template and Excel data. This makes it easier to check the number of generated files and avoids confusion between old and new files.
After confirming the save location, enter "Start processing" and start the batch task according to the page prompts. After processing is complete, open the output directory to check the number of files, then randomly open several pptx files to verify whether the name, award, event name, date, and photo come from the same Excel record. If the merge mode is selected, focus on checking the total number of slides, the arrangement order, and the replacement of fields on each page.
Purpose of this step: specify the storage location for the batch generation results and formally execute the task.
Expected result: obtain PowerPoint files that can continue to be edited, played, printed, or distributed.
5. Common problems and operational precautions
1. Why are the fields in the PPT not replaced
The most common reason is that the template marker is not exactly the same as the search text entered in the software. Focus on checking Chinese and English brackets, spaces, letter case, and field spelling. It is recommended to set the mapping directly according to the original text in the template, rather than entering it from memory.
2. Why are the images not generated correctly
First confirm that images do exist in the corresponding Excel column, and second confirm that the column has "Image" selected in "Data table column type", rather than "Default". Text columns and image columns are processed differently, and photo fields such as Avatar need to be explicitly set to image type.
3. How should the header row be entered
The header row is the row closest to the data body and contains the names of each column. In the example, row 1 contains titles such as Name and Award, so enter 1. If there is explanatory text at the top of the worksheet, you should enter the actual row number where the field titles are located, rather than mechanically using 1.
4. How to avoid data misalignment before generation
Ensure that each row in Excel is one complete record, and do not insert irrelevant explanations in the middle. Name, award, event, date, and photo must be in the same row. It is recommended to first use a small amount of test data to generate several PPTs, confirm that the mapping and layout are correct, and then process the complete list.
5. How to choose between independent files and a merged file
If the generated results need to be sent separately to different people, choosing one file per row is more convenient; if the content needs to be played continuously in a meeting, choosing to merge all rows into one file is more appropriate. When there are many files, the output directory and naming data should also be planned in advance for later archiving.
6. Text length in the template needs to be considered in advance
Names, project names, or event names in Excel may vary in length. Before batch processing, check whether the text boxes in the template have enough space, especially for longer department names, project names, and award names. Automatic replacement can reduce entry work, but whether the page is crowded is still related to the template design and actual data length.
7. Can old-format ppt or xls files be used directly
Common office files may include pptx, ppt, xlsx, and xls formats, but the screenshot examples use a pptx template and an Excel data sheet. To reduce format compatibility issues, it is recommended to prioritize file formats that can be opened normally by the current office software and successfully recognized by the batch processing tool; before processing important materials, keep a backup of the original files.
6. Summary
Batch generating PPT based on Excel is suitable for solving repetitive production tasks with "the same layout, different data, and a large quantity." The entire process can be summarized as: organize the Excel data sheet, create a PowerPoint template with field markers, import the template, select the Excel worksheet, set the header row, establish text and image mapping, choose one file per row or merge all, set the save location, and start processing.
With HeSoft Doc Batch Tool , there is no need to copy names, dates, awards, and photos one by one. Multiple rows of records in Excel can be batch converted into standardized and unified pptx presentations. This not only reduces the time spent on mechanical entry and repeatedly saving files, but also helps reduce incorrect filling, missed filling, and text-image correspondence errors.
In actual use, it is recommended to first prepare 3 to 5 test records to verify field markers, image types, and output methods. After the test results are correct, import the complete xlsx or xls data to generate files in batches. Now you can follow the steps in this article to organize the data sheet and PPT template, choose a suitable output mode, and begin completing the batch production task.