Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Select different sheet name present in three different excel

Hi All,


I have Three excel file which contains many sheets.

For example, 


1. 2020 -> IndJan20, IndFeb20, IndMar20

2. 2019 -> CHNJanuary19, CHNMarch19, CHNFebruary19

3. 2018 -> MYJan18,  MYFebruary18, MYMar18


I wants to create three table.

First table contains data of IndJan20, CHNJanuary19, MYJan18.

Second table contains data of IndFeb20, CHNFebruary19, MYFebruary18

Third table contains data of IndMar20, CHNMarch19, MYMar18


I tried below solutions but it did not work as my index is different.


I tried second solution but it is giving key error.





Community Support
Community Support

Hi @Sunny1984,

According to your description, I think you may need to use advanced operations(nested multiple functions or custom with power query functions) to achieve your requirement.
Can you please share some dummy data to test?

How to Get Your Question Answered Quickly


Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.
Super User IV
Super User IV

@Sunny1984 , You should rename the columns and merge -


IndJan20, -> Jan 20

MYFebruary18 -> Feb 18


Post that unpivot the column and gets a month in rows

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Hi @amitchandak ,


Thanks for the reply. I have hundred of excel like this, is there any way to rename the sheet automatically ?

Helpful resources

PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Top Solution Authors
Top Kudoed Authors