web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Excel Create table thr...
Power Automate
Answered

Excel Create table throwing an error - A table with the name already exists

(0) ShareShare
ReportReport
Posted on by 6

There is an automation being performed where the latest file based on the creation date is taken from SharePoint Documents. From there we need to create a table in the worksheet and then use the table to add it in the list present on the SharePoint

 

When this action is being performed, there is an error thrown that a table with the name already exists. Is there a way where we can tweak this to get this working?

 

Help appreciated 

Categories:
I have the same question (0)
  • okeks Profile Picture
    802 Super User 2024 Season 1 on at

    First step is to check if there is already a table with this name in the Excel file.
    If so you either need to remove the existing table first or choose another name for the new table.

  • sid-poly Profile Picture
    6 on at

    Yes that can be checked. There is also another issue being faced with an error - A table can't overlap another table. This comes after the new table is created which shouldn't happen. 

     

    Can you help on this too? Is it the right thing or is it wrong? @okeks 

  • okeks Profile Picture
    802 Super User 2024 Season 1 on at

    For me it sounds like the table you want to create is already there.
    Excel doesn't allow to share cells between 2 different tables.

    There are also more restrictions on tables from the Excel side.

    To give more advice I would need to see the Excel file and the flow.

  • sid-poly Profile Picture
    6 on at

    @okeks 

    The table is getting created in a step in a for each loop

     

    sidpoly_0-1651238394232.png

    Throws an error. If there is a new file being placed, that consists of RAW data then the error seen is 

     

    sidpoly_1-1651238517675.png

     

  • Verified answer
    v-yujincui-msft Profile Picture
    on at

    Hi @sid-poly ,

     

    If table already exists in one of the excels returned by Get files (properties only) Action , this error might will appears.

     

    If i want to create table in all excel files uploaded today i would do this:

     

    1. Here is my Folder.

    vyujincuimsft_0-1651474442419.png

    2. Here is my flow.

    Created gt '@{addDays(utcNow(),-1)}'

    vyujincuimsft_1-1651474546857.png

    vyujincuimsft_2-1651474590878.png

    Result Screenshots:

    vyujincuimsft_3-1651474767576.png

    vyujincuimsft_4-1651474811182.png

     

    In addition, maybe you could try the following flow:

    vyujincuimsft_5-1651475089218.png

     

     

    Best Regards,
    Charlie Choi

  • PeggyLang Profile Picture
    381 on at
     
    My flow is returning the same error 'A table can't overlap another table'.
     
    However, there is no table in the excel file.

     
     
    I can't figure out what else to do?  Thoughts?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard