Create a Pivot Table from multiple worksheets of a workbook

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 2024
  • In this video, I'd like to share the technique to "Create a Pivot Table from multiple worksheets of the same workbook".
    I have blogged about this problem at this link on my website - www.ashishmathu...

ความคิดเห็น • 423

  • @minote282
    @minote282 3 ปีที่แล้ว +1

    This is excellent I was searching something like this for more than a month, then landed here... Please post more videos like this which would be helpful on day to day basis in excel.

    • @excelenthusiasts
      @excelenthusiasts  3 ปีที่แล้ว

      You are welcome. Thank you for the feedback.

  • @ginahibbs9304
    @ginahibbs9304 8 ปีที่แล้ว

    Thank you so much! I spent hours looking for an answer and in nine short minutes, you were able to teach me how to do what I needed to do.

  • @prasenjeetghosh1815
    @prasenjeetghosh1815 6 ปีที่แล้ว

    No add no bakwas direct straight to the point...awsm...

  • @sachinsarkar8219
    @sachinsarkar8219 8 ปีที่แล้ว

    Thank you Mr. Mathur , This was worthwhile

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      You are welcome. I am glad you liked the solution.

  • @ganeshmanchi8499
    @ganeshmanchi8499 9 ปีที่แล้ว

    Dear Ashish, I was searching the youtube for any possible solutions to combine multiple worksheets which contains same number of columns and infinite rows. In one of the videos, I could see that I need to have an unique cell for me to combine. Unfortunately I could not create an unique cell, but was on the look out, then your video was in hand. That was wonderful Ashish. I could quickly learn the MS SQL Query method and worked well for me. Thank you and I appreciate your efforts in educating.

    • @excelenthusiasts
      @excelenthusiasts  9 ปีที่แล้ว

      +Ganesh Manchi You are most welcome. Sorry for the delay in replying.

  • @victorbrichaut9943
    @victorbrichaut9943 7 ปีที่แล้ว

    Brilliant video! This is incredibly useful.

  • @Arifkhan-oz1wb
    @Arifkhan-oz1wb 8 ปีที่แล้ว

    hi Ashish, very good explanation so that everyone can understand the content easily..i have been looking for this content frm a time being..finally i got it thru your tutorial..thank you for this and keep uploading differnt contents..

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      Thank you for your kind words. I am glad you liked the content.

  • @tomroberts7380
    @tomroberts7380 9 ปีที่แล้ว

    mate you are an absolute hero!

    • @excelenthusiasts
      @excelenthusiasts  9 ปีที่แล้ว

      Tom Roberts Thank you for your kind words.

  • @ssss855167
    @ssss855167 8 ปีที่แล้ว

    Thank you very much. learned a lot from your video.Thank Internet & youtube

  • @mannyfalaguerra5420
    @mannyfalaguerra5420 8 ปีที่แล้ว

    Great content! Thank you for posting this solution, great example of the power of Pivot tables and MS Excel Query!

  • @aravinds999
    @aravinds999 8 ปีที่แล้ว

    Superb.. Nice explanation, very much useful topic. Thank you for sharing.

  • @viranthacandor2391
    @viranthacandor2391 7 ปีที่แล้ว

    Thank you very much. This is a superb video

  • @RayRay-kd3bu
    @RayRay-kd3bu 10 ปีที่แล้ว +2

    very good and straight to the point. I like it. Thank you.

  • @narflethegarthok6013
    @narflethegarthok6013 6 ปีที่แล้ว

    Thank you for posting this! This has helped me so very much.

  • @manpreet.melbourne
    @manpreet.melbourne 9 ปีที่แล้ว

    Awesome tutorial Ashish.. Thanks for teaching this technique in such a short time.... Regards and keep doing the good work......

  • @semperdiscendum7439
    @semperdiscendum7439 7 ปีที่แล้ว

    Thank you so much Sir! That was awesome! Please keep educating us!

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      You are welcome. Thank you for your kind words.

  • @radivi2009
    @radivi2009 7 ปีที่แล้ว

    Thanks for the great Video. This is exactly what I was looking for today..you saved my day. I would like to understand whats the purpose of creating Dummys as well as table-names? and how are they related?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      You are welcome. When you create a Table, excel assign it a name automatically. Converting the range to a Table is necessary because this takes care of auto expansion. Table names cannot be used in MS Query and that is why we assigned a name called Dummy. Hope this clarifies.

  • @marketbeans
    @marketbeans 7 ปีที่แล้ว

    Excellent video and to the point ! 👌

  • @hajamohideen8363
    @hajamohideen8363 6 ปีที่แล้ว

    thank you so much for such very useful tutorial, great job

  • @mahaviswanathan6429
    @mahaviswanathan6429 7 ปีที่แล้ว

    Thank you so much Ashish.. It's very useful..

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      You are welcome. Thank you for the feedback.

  • @rogel080274
    @rogel080274 8 ปีที่แล้ว +1

    thank you for posting this tutorial....great job Sir!!

  • @TV-lr6xp
    @TV-lr6xp 8 ปีที่แล้ว

    thanks so much ...you make my project complete...

  • @nateshiyer4552
    @nateshiyer4552 8 ปีที่แล้ว

    awesome voice and well done explanation

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +Natesh Iyer Thank you for your kind words.

  • @MmPwsott
    @MmPwsott 5 ปีที่แล้ว

    Great!! you helped me a lot!! thanks

  • @upgradetechnicalskills3392
    @upgradetechnicalskills3392 5 ปีที่แล้ว

    Thanks sir good job
    It was too helpful

  • @shabchique7149
    @shabchique7149 8 ปีที่แล้ว

    Thank you sir! This is very helpful for my work. :)

  • @SachinThakur82
    @SachinThakur82 8 ปีที่แล้ว

    Thank you very much Ashish !!

  • @globalfoundry2912
    @globalfoundry2912 7 ปีที่แล้ว

    what if we want to link a particular cell range(IN VERTICAL) of 150+ sheets in to one master sheet HORIZONTALLY??? EXAMPLE APRIL 2016 TO MARCH 2017 WORKING DATA OF 150 EMPLOYS IS AVAILABLE IN THEIR RESPECTIVE 150 SHEETS VERTICALLY AND WE WANT TO EXTRACT THEM TO ONE MASTER SHEET IN APR TO MAR FORMAT BUT HORIZONTALLY ????

  • @yeesheenchua2922
    @yeesheenchua2922 9 ปีที่แล้ว

    Great!!! It helps me a lot.

  • @hengeveldbram
    @hengeveldbram 7 ปีที่แล้ว

    Thanks a bunch! Just what I needed :)

  • @SUR-NI-VARA
    @SUR-NI-VARA 6 ปีที่แล้ว

    thank you for your immediate response

  • @86nareshc
    @86nareshc 7 ปีที่แล้ว

    super information thanks a lot I really loved it.

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      You are welcome. Thank you for the feedback.

  • @sameeshbedi7022
    @sameeshbedi7022 7 ปีที่แล้ว

    You're awesome Ashish!! Great job

  • @johnfite1
    @johnfite1 9 ปีที่แล้ว

    Thank you, thank you, thank you.

    • @excelenthusiasts
      @excelenthusiasts  9 ปีที่แล้ว

      John Fite You are welcome.

    • @eliegoldberg1170
      @eliegoldberg1170 9 ปีที่แล้ว

      +Ashish Mathur
      Ashish.
      Your video Create a Pivot Table from multiple worksheets of a workbook was great. One question, if I add another worksheet, and create new tables, how do I add that to the MS Query and then to the pivot table output.
      Thanjks

    • @excelenthusiasts
      @excelenthusiasts  9 ปีที่แล้ว

      +Shick Yingel You are welcome. Please refer to the method (www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/) outlined under this heading "Update Table/Pivot Table for addition of new worksheets"

  • @sowmyakarre4460
    @sowmyakarre4460 7 ปีที่แล้ว

    Thanks for sharing the video. I have around 10 sheets.. and there is an error saying microsoft query has stopped working when adding the table. Please note, i have used system table. Please let me know if do the table mapping as mentioned in the video, will error go off?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Hi. Please read the steps here - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @786saga
    @786saga 8 ปีที่แล้ว

    GOOD IT HELPED ME A LOT THANKS...

  • @PRAKHERSINGHAL
    @PRAKHERSINGHAL 7 ปีที่แล้ว +1

    Wow.. I can make a Pivot Table out of data now. Thank you for making this video.
    Initially, I had faced problem creating PivotTable because one of my worksheet name is "DB2", which is a cell number.
    First, table name was not appearing on available tables. So, I had to select "System Table" from Query Wizard option and picked "DB2$" as table name. And, during union I had to double quote the table name else it gives syntax error.

  • @sammy0051
    @sammy0051 7 ปีที่แล้ว

    Thank for the great video on pivot table, however sum functionality is not working, upon selecting sum its just showing 0 but number are showing the accurate number.

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Hi. Refer to the steps at this link - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @sandip_bettereveryday
    @sandip_bettereveryday 3 ปีที่แล้ว

    Thanks a ton! It works.

  • @jeannedrake2432
    @jeannedrake2432 7 ปีที่แล้ว

    I am needing to write the formula in my reconciliation tab from the July tab. I keep getting an error. I have my monthly bills on each tab and then need the balances for the reconciliation tab. Do I need to find another tutorial for this?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Your question does not seem to be related to my video at all. Post your question in some MS Excel forum.

  • @dharani100
    @dharani100 10 ปีที่แล้ว

    HI Ashish -
    I tried to point my data source to excel. The options in the query will have the excel option but the pull down menu when it shows for the file name only shows "Data Sources" and does not see any excel int he list. What am I doing wrong here?
    Thanks,

    • @excelenthusiasts
      @excelenthusiasts  10 ปีที่แล้ว

      Hi,
      I do not understand. Please explain again.

  • @vipinsingh3935
    @vipinsingh3935 8 ปีที่แล้ว

    Thanks Ashish its really helpful :)

  • @TheMissklcd
    @TheMissklcd 4 ปีที่แล้ว

    Thank you for posting, very helpful.
    Quick question: could this technique be used to combine several pivot tables?

  • @minote282
    @minote282 3 ปีที่แล้ว

    I am running with an issue, I have two work sheets and I created tables for both separately but when I go to query wizard there it shows table of second sheet only.
    Can you please suggest why this is happening?

    • @excelenthusiasts
      @excelenthusiasts  3 ปีที่แล้ว

      I suggest that you solve this problem using Power Query and PowerPivot.

  • @Michrophoneic
    @Michrophoneic 9 ปีที่แล้ว

    Hi Ashish, may I know why the numbers cannot be captured when I refresh with a different columns? I need to redo the query to make it right. am I missing something in thr individual tabs?

    • @excelenthusiasts
      @excelenthusiasts  9 ปีที่แล้ว

      +Jean Neo Hi. I do not understand your question.

  • @jagdishchaurasia3891
    @jagdishchaurasia3891 7 ปีที่แล้ว

    Thank you for sharing this information
    I used this information and created a pivot table using multiple sheet, but I was not able to use the time line feature of pivot table. May you please help me. How can I use time line feature , if I will create pivot table using this multiple sheet .

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      I do not know. May be the timeline feature is not available on Pivot Tables created via this method.

  • @zdenekgargulak9454
    @zdenekgargulak9454 9 ปีที่แล้ว

    Hi, great with 6 sheets. Not working with 7. ([Microsoft][Ovladač ODBC pro Excel] Vnitřní chyba automatizace OLE. in Czech, something like [Microsoft][Controle ODBC for Excel] Inner error of OLE automatization.) Is there a limit for number of sheets? Thanks a lot. Zdenek

    • @excelenthusiasts
      @excelenthusiasts  9 ปีที่แล้ว

      Hi. I have tried it for upto 5 worksheets and it works fine. I would not be surprised if there is some internal limit in MS Query.

  • @ShahzadHassanBangash
    @ShahzadHassanBangash 5 ปีที่แล้ว

    Very informative video, do you know any way to implement the same technique in smartsheet ?

    • @excelenthusiasts
      @excelenthusiasts  5 ปีที่แล้ว

      Thank you. No, i do not know how to do it in Smartsheet

  • @deskoh85
    @deskoh85 7 ปีที่แล้ว

    Hi Mr Mathur, thank you for this video. I have similar data as you over 4 worksheets and would like to merge into one. I am stuck at step 1 as I realize I am simply unable to name my range cells as 'dummy'. I'm using excel 2016, is this causing the issue?

    • @deskoh85
      @deskoh85 7 ปีที่แล้ว

      Sir, I managed to get hold of Excel 2007, and your technique works perfectly in Excel 2007

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Hi. You are welcome. Please refer to the steps outlined here - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Good to know that. Thank you.

  • @غازيبنالأمين
    @غازيبنالأمين 7 ปีที่แล้ว

    Thank you for sharing this great work. I have 3 worksheets and I wanted to create a pivot tab which consolidate the data from the 3 worksheets. I followed all the steps as described in your video, and everthing went well. except at the end when I created the pivot tab. In fact it won't sum the values; instead it's giving me zero values...despite having numbers in all worksheets. Would appreciate if you can help me out with this one. THanks

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      You are welcome. Thank you for your kind words. Ensure that the first cell of every column which you have dragged to the value area section of the Pivot Table has a number in each source data worksheet. Then click on Refresh. If this still does not work, then share the link from where I can download your workbook.

    • @غازيبنالأمين
      @غازيبنالأمين 7 ปีที่แล้ว

      Hi, Thank you for your reply. All my data source sheets have numbers, but still not working.
      In the same time I have noticed something strange, actually when I double click on the pivot tab total for the data to get the details, in the column that has the numbers...the format of the numbers is coming as Standard/ General format and even if I change it to numbers it's not being actually converted, and when I select multiple cells excel is just counting the number of items and doesn't sum the values. So I guess there is a formatting issue here. but I'm sure my numbers in the data source are stored as numbers.
      How can I share my workbook privately with you? Thanks

    • @غازيبنالأمين
      @غازيبنالأمين 7 ปีที่แล้ว

      I just realized one more thing after I double clicked on the pivot tab total, in the details the numbers of one the worksheets are somehow converted to date and time figures!!! not sure why?

    • @غازيبنالأمين
      @غازيبنالأمين 7 ปีที่แล้ว

      Hi Ashish, never mind, I cleared off all the previous formatting of the entire data source and then reworked it. and repeated the same steps and it's working just fine now. Thank you for your help. Have a great day.

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Good to hear that the problem is now resolved.

  • @dhanrajshetty4876
    @dhanrajshetty4876 8 ปีที่แล้ว

    Hi Ashish, Do all the worksheets need to have the same number of columns? Will this work for different number of columns?

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      Hi. No, it wont. Please refer to all steps at this link - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @michaelbelow1415
    @michaelbelow1415 5 ปีที่แล้ว

    Can you easily add additional worksheets to the existing query?

    • @excelenthusiasts
      @excelenthusiasts  5 ปีที่แล้ว

      Hi. Follow the steps outlined in my Blog article - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @shivanin5022
    @shivanin5022 4 ปีที่แล้ว

    Hi Ashish I m facing problem at the end where it says could not add the table 'dummy', please suggest.

    • @excelenthusiasts
      @excelenthusiasts  4 ปีที่แล้ว

      Hi. Please follow the steps outlined here - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @NimishP
    @NimishP 7 ปีที่แล้ว

    Nice information. Just a thought. Can't we change SQL statement via testing IsNull function to replace null values with zero. That will eliminate problem of adding superficial 0 we added in the spreadsheet.

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Thank you. I do not know how to use the SQL programming language. Someone who does can try to use the IsNull.

  • @zvox70
    @zvox70 7 ปีที่แล้ว

    Thank you for this helpful tutorial. Can a pivot table be created from multiple sheets each with different column names, the majority with dates and some with phone numbers?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว +1

      You are welcome. No. The column names should be the same.

    • @zvox70
      @zvox70 7 ปีที่แล้ว

      Ok, thank you.

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      You are welcome.

  • @prasenjeetghosh1815
    @prasenjeetghosh1815 6 ปีที่แล้ว

    Awsm...

  • @mdzahedali52
    @mdzahedali52 8 ปีที่แล้ว

    Thanks for the Video sir...
    It's working for me with less data, but not working on huge data..........
    any reason........... Its not showing the data name i mean the one you named dummy....
    Plz help me...

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +Md Zahed Ali Hi. I need to see your workbook. Upload it to OneDrive and share the download link here.

  • @ishaq79
    @ishaq79 8 ปีที่แล้ว

    This is amazing and easy, however if I have two tables in same sheet and in multiple worksheets, how will I import data???
    Appreciate you reply. Thank you!

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +Abu Rayan Thank you. The tables could be anywhere on the workbook. Al Tables could be on the same worksheet or in different worksheets. As you can see in the video, the tables are being recognized by their assigned names (not by their worksheet location).

  • @Arifkhan-oz1wb
    @Arifkhan-oz1wb 8 ปีที่แล้ว

    and i have a one query, suppose there are more than 20 sheets in the workbook, then do we need to follow the union all process (copy n pasting "select * from abc") for 20 times? or do you have any simplified query that can be union all the sheet? please assist.

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      Yes, if there are 20 named ranges, then there will be 19 Union all statements.

    • @Arifkhan-oz1wb
      @Arifkhan-oz1wb 8 ปีที่แล้ว

      +Ashish Mathur - Thank you for the reply. Dont we have any short query like union all sheets?

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      Hi. Even if there is, I do not know that technique.

  • @knowyourstrength9738
    @knowyourstrength9738 7 ปีที่แล้ว

    Hi Ashish, by far the best video on this topic - hands down!!!
    May I bounce off a idea/question to you?
    I have 4 files with the same table structure of data. I (1.) created an named range and then (2.) a table of the name range.
    Using your method, I "queried" the 4 files/4 tables on 4 sheets in a new workbook in order to combine the 4 sheets on one (new) sheet.
    I now have the issue that I have 4 tables (2.) created before I created 4 named ranges (1.).
    (On creating the MS Query link the resulting table is MS table name Table_Query_from_Excel_Files)
    When I now combine the 4 tables into 1, MS Query cannot find tables in the this workbook. Is there something to the order of executing Step 1. and 2. in this order?
    I went and took the 4 system tables pointing at each sheet (paying attention to the '$' at the end of each system named element)
    Could I have gone straight from 4 files to one table w/o the intermittent step of 4 tables in one workbook?
    Thanks a lot in advance.
    Cheers
    Dirk

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Thank you. Please follow the steps outlined in the Blog article here - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @lionalmessi5769
    @lionalmessi5769 8 ปีที่แล้ว

    can we do the same if top row(labels) in one worksheet doesn't match with the other worksheets. 2. if voucher # is in 3rd column of the worksheet 1 and Voucher # is in 10th column of worksheet 2.is this still applicable

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +saima qaiser No. There has to be structural similarity across all worksheets.

  • @samkab677
    @samkab677 7 ปีที่แล้ว

    thank u..how to combine from multiple workbooks ?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Hi. See my solution here - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-different-workbooks/

  • @devangdesai6642
    @devangdesai6642 8 ปีที่แล้ว

    I get "Unrecognized Database" opening file into query. Could I have a setting off?

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +Devang Desai Hi. Please refer to the steps mentioned at this link - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @bridgetf2729
    @bridgetf2729 8 ปีที่แล้ว

    Great video! I had success in creating the pivot table but had issues when I renamed the file. Is there a way to remove old queries and create new ones within the same file?

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +Bridget F Hi. You may refer to my solution at this link (www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/). Go to the section at the bottom (Update Table/Pivot Table when files are mailed to someone else) and apply the steps mentioned there.

  • @arifuddin2942
    @arifuddin2942 8 ปีที่แล้ว

    This is an amazing tutorial.
    Thanks
    I am having a little problem. I am not being able to add more than 6 sheet. if i do so then I cannot the query sheet shows 6 box for the 6 sheet(for me they are months). but it doesnt show any data from the sheet.
    Please advise.

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +Arif Uddin Thank you. I need to see your workbook. Upload your workbook to OneDrive and share the download link here.

    • @arifuddin2942
      @arifuddin2942 8 ปีที่แล้ว

      +Ashish Mathur onedrive.live.com/redir?resid=B3DC16B8C34242B6!179&authkey=!AF0vLBObejdSTtY&ithint=file%2cxlsx
      also I tried this...
      i have added all the tables for 12 months (without $ sign table). clicked next but it doesnt go to the next level. I click cancelled. but it shows me the boxes of 12 month with all the field name and the * at the top. i clicked the SQL icon and applied the union all formula with the 12 tables name.
      double clicked all the * from all 12 table. it populated the data in the query.
      and then click file and return to table.
      and then I got he following message
      [Microsoft][ODBC Excel driver] Internal OLE Automation error.
      please advise.
      Kind regards,
      Arif

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +Arif Uddin I face the same problem when adding all 12 tables - it does not go to the next level. I do not know why this is happening. I try later and let you know if I come up with a valid reason.

    • @djnishu
      @djnishu 8 ปีที่แล้ว

      +Ashish Mathur thanks. I will wait for your reply. Appreciate a lot for your reply. Regards
      Arif

    • @arifuddin2942
      @arifuddin2942 8 ปีที่แล้ว

      Hi Ashish,
      Again I would like to say thank for teach me something amazing.
      Do you think there could be any solution for this? Please advise.
      Regards
      Arif

  • @vgoel78
    @vgoel78 8 ปีที่แล้ว

    Hi Ashish, I get error "no visible tables", however while i do CTRL F3 i saw list of 3 ranges and tables as well

    • @vgoel78
      @vgoel78 8 ปีที่แล้ว

      +Vikas Goel got the solution now, my mistake..i was ctrl shift arrow keys to select the data , it should have been Ctrl A.Nice tutorial ..thanks

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +Vikas Goel You are welcome.

  • @cuddle392
    @cuddle392 6 ปีที่แล้ว

    Hi, great tips, however i get an error message "ODBC excel Driver. Internal OLE automation error" :(

    • @excelenthusiasts
      @excelenthusiasts  6 ปีที่แล้ว

      Hi. Looks like some installation error. Sorry but cannot help here.

  • @kayleenmoodley5926
    @kayleenmoodley5926 8 ปีที่แล้ว

    Hi Ashish. Do all the worksheets need to be in the same workbook?

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      Hi. Yes. Please read all steps in this article - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @poiema16
    @poiema16 6 ปีที่แล้ว

    Hi Anshish,
    Thanks for this video. It will really be great if this works for my data. I followed all the steps till the SQL statements. I get the message that "The number of columns in the two selected tables or queries of a union query do not match".
    I have 91 columns and between 200 and 5000 rows in each table (5 of them) and they are all created from the same shell. I have even copied and re-pasted the column names from the first table to all the others and manually checked them but I still get the same error. Are my columns too much or what could be the problem?

    • @excelenthusiasts
      @excelenthusiasts  6 ปีที่แล้ว

      You are welcome. I cannot say. If you are absolutely sure that the number of columns in both datasets is the same, then it looks like there is a "number of columns" limitation. The best approach would be to use Data > Get & Transform to aggregate data from multiple worksheets into a single one.

  • @Symbianity
    @Symbianity 10 ปีที่แล้ว

    Thanks very much Ashish, great video! It's a bit tricky way, but I couldn't really find an easier one. Is there a way to put it all as VBA?

    • @excelenthusiasts
      @excelenthusiasts  10 ปีที่แล้ว

      You are welcome. Yes, one can write VBA code to append data from multiple worksheets into one and then create a Pivot Table.

  • @mehanazmohammad3768
    @mehanazmohammad3768 8 ปีที่แล้ว

    Hi, my work book is not allowing me to add insert as table.. why is that( what can be the reason)

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Please follow the instructions at the following link - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @weiweicheng6676
    @weiweicheng6676 7 ปีที่แล้ว

    May I know if there is table row limitation for MS query? I opened From MS query but don't see the table (76490 rows in the excel file) that I've created?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Hi. I think the number of rows per Table in MS Query is 65,000. Break that table into 2 tables and see if it works. A much better technique would be to use Power Query and PowerPivot.

  • @davitlomtadze6858
    @davitlomtadze6858 6 ปีที่แล้ว

    hi there
    I get
    "Syntex errir in query. Incomplete query clause"
    please help..

    • @excelenthusiasts
      @excelenthusiasts  6 ปีที่แล้ว

      Hi. Read my Blog article here and follow all steps mentioned there - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @MrLikegodlike
    @MrLikegodlike 7 ปีที่แล้ว

    Great video, but i have issue. Syntax error in FROM clause!

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Hi. Follow the instructions shared in this Blog article - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @abcathomas
    @abcathomas 6 ปีที่แล้ว

    What do I do if when I go to create a new sheet and dont find import from other sources?

    • @excelenthusiasts
      @excelenthusiasts  6 ปีที่แล้ว

      Have you tried going to Data > Get Data > From Other Sources.

  • @dineshashara9391
    @dineshashara9391 4 ปีที่แล้ว

    Very good

  • @jianmeng6682
    @jianmeng6682 7 ปีที่แล้ว

    Hi Ashish, Great Content! I tried to create my pivot table using more than 5 spreadsheets, but after I clicked "ok" in the final step of returning data to excel, it said "ODBC error" then "problems obtaining data" , any idea what's going on? Is there any limit of the number of spreadsheet we can use at one time?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Thank you. No, as far as I now there are no limits on the number of worksheets. Read the steps here and retry - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @stephanydiaz7400
    @stephanydiaz7400 7 ปีที่แล้ว

    Is there a limit on the amount of data sheets that you can connect? Thank you.

  • @rattle00000
    @rattle00000 7 ปีที่แล้ว

    Hi Ashish, I'm getting zero values even though there doesn't seem to be any blank cells. The data set is very large though and it's difficult to check if indeed there are empty cells but when I select the column, it does give me a sum. Can you please help?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Ensure that the first cell of every numeric column of all sheets has a value of 0. Then Refresh the Pivot Table.

    • @rattle00000
      @rattle00000 7 ปีที่แล้ว

      Hi, it seems to be working now. Thanks. Another thing though, my file has 15 sheets and only the first 4 sheets are being picked up in as available in the section where we choose columns. Any advice here?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      I cannot help unless you share the workbook.

  • @minote282
    @minote282 3 ปีที่แล้ว

    One question, what to do if total columns in worksheets are different ???? Right now it's not working with this method please suggest

    • @excelenthusiasts
      @excelenthusiasts  3 ปีที่แล้ว

      I do not understand. Please clarify.

    • @minote282
      @minote282 3 ปีที่แล้ว

      @@excelenthusiasts will it work if we have 8 columns in sheet 1 and 10 columns in sheet 2 ?

    • @excelenthusiasts
      @excelenthusiasts  3 ปีที่แล้ว

      @@minote282 I suggest that you solve this problem using Power Query and PowerPivot.

  • @bobnelson2800
    @bobnelson2800 3 ปีที่แล้ว

    If the Data sheets combined exceed the >1M+ row limit in Excel, will this still work?

    • @excelenthusiasts
      @excelenthusiasts  3 ปีที่แล้ว

      No, it wont. In that situation use the Power Query/Power Pivot.

    • @bobnelson2800
      @bobnelson2800 3 ปีที่แล้ว

      @@excelenthusiasts thank you!

    • @excelenthusiasts
      @excelenthusiasts  3 ปีที่แล้ว

      @@bobnelson2800 You are welcome.

  • @crajamath
    @crajamath 6 ปีที่แล้ว

    Hi Ashish,
    It was very useful. Thank you so much.
    Also I am working on more than 1 lakh records. Could you please help me to get any video for that ?

    • @excelenthusiasts
      @excelenthusiasts  6 ปีที่แล้ว

      You are welcome. This technique should work for 1 lakh records as well.

    • @crajamath
      @crajamath 6 ปีที่แล้ว

      Hi Ashish,
      Thanks for the reply. It is not working for me more than 65K in single sheet. wanted to create a table for more than 1 lakh records.

    • @excelenthusiasts
      @excelenthusiasts  6 ปีที่แล้ว

      Hi. This technique will work only for upto 65,000 rows of data per worksheet. You may split the rows into 2 worksheets and then it will work fine. An even better option is to use the BI tools of Excel, namely PowerPivot and Data > Get & Transform.

  • @meetusharma9140
    @meetusharma9140 8 ปีที่แล้ว

    Ashish I have assigned names to range, converted them to table , opened a new sheet saved everything , selected From other source and choose from Microsoft query, choose excel files , choose the xls I have saved post this I get an error stating unrecognised database format followed by the path where I have saved my excel. please suggest

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      Hi,I do not know why that is happening. From similar comments posted by other users in the Comments of TH-cam and my webpage, I understand that this problem happens when one "first converts to a table and then assigns a name". It should actually be to "first assign a name and then convert to a table". I cannot think of any other reason why this is happening.

  • @Michrophoneic
    @Michrophoneic 9 ปีที่แล้ว

    Hi this is a great tips! however I get an error message "syntax error, incomplete clause". what does it means exactly? where did I did wrong?

    • @excelenthusiasts
      @excelenthusiasts  9 ปีที่แล้ว

      +Jean Neo Hi, Thank you. Please share the query that you have written.

    • @Michrophoneic
      @Michrophoneic 9 ปีที่แล้ว

      My query :
      Select * from test1
      Union all
      Select * from test2
      Union all
      Select * from test3
      Union all
      Select * from test4
      Union all
      Select * from test5
      Union all

    • @excelenthusiasts
      @excelenthusiasts  9 ปีที่แล้ว

      +Jean Neo Remove the last union all. End the statement as test5.

  • @vvvenkatbe
    @vvvenkatbe 5 ปีที่แล้ว

    Hi Ashish, thanks for your video. If I have millions rows data in two sheets, can I do this pivot. Is there any restriction in rows criteria in sql query part while append

    • @excelenthusiasts
      @excelenthusiasts  5 ปีที่แล้ว

      Hi. If your data is that much, then it will be much better to use Power Query and PowerPivot.

    • @vvvenkatbe
      @vvvenkatbe 5 ปีที่แล้ว

      @@excelenthusiasts thank you for your reply, can I have any tutorial about power query or power pivot for the table having same column names

    • @excelenthusiasts
      @excelenthusiasts  5 ปีที่แล้ว

      @@vvvenkatbe Hi. See this video - th-cam.com/video/yL11ugShdrk/w-d-xo.html

  • @krrshiv
    @krrshiv 9 ปีที่แล้ว

    hi Ashish, can we do the same in Mac Excel 2016?

    • @excelenthusiasts
      @excelenthusiasts  9 ปีที่แล้ว

      +Shiv Raman Hi, I have not tried this on a Mac.

  • @carolinamaturana2318
    @carolinamaturana2318 7 ปีที่แล้ว

    it showed me an error message "Syntax error in FROM clause"????

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      What query have you typed? Also, read through the instructions in this Blog - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @atishbhagat4352
    @atishbhagat4352 4 ปีที่แล้ว

    Hi, Thanks for uploading this video, but i have one query when i tried to so many around 100 of column it doesn't work, stated "to many query's", can you pls. help with some other technique. OR i have three files with same header and i want to in one pivot.

    • @excelenthusiasts
      @excelenthusiasts  4 ปีที่แล้ว

      Hi. I suggest you use Power Query and PowerPivot to build a Pivot Table from such a large dataset.

  • @sipiripey
    @sipiripey 7 ปีที่แล้ว

    Why "Connecting to data source" takes so long? Is there any way to shorten it?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Should not be taking long unless your file is stored somewhere deep in the server.

  • @CleodeJonge
    @CleodeJonge 7 ปีที่แล้ว

    I really liked this video. Helped out a lot.
    But unfortunately, I get an error when I type the SQL statement. The error is saying: " Incorrect column expression: '*' ".
    Could you please help me out?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      I'll need to see your query. Also, follow the steps outlined here - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/

  • @aweshshaikh
    @aweshshaikh 5 ปีที่แล้ว

    Hi,
    Thanks for the video ,
    I got the error after Microsoft query "THIS data Source contains no Visible tables" as not able to mapped multiple worksheet, can u suggest

    • @excelenthusiasts
      @excelenthusiasts  5 ปีที่แล้ว

      Hi. Please follow the steps mentioned here - www.ashishmathur.com/create-a-pivot-table-from-multiple-worksheets-in-the-same-workbook/.

  • @vasarajulokeshkodati7386
    @vasarajulokeshkodati7386 7 ปีที่แล้ว

    Hi Ashish, i have select 2 source tables with blank rows (in future I may add data into that)..now the pivot table which i created using ms query also has blank rows..because of this my pivot charts also has extra blanks..how can I eliminate this

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Hi. Do not have blank cells in your data source initially. Since you have converted the source dataset into a Table, the rows will expand automatically as and when you add further rows.

  • @letsgetit2939
    @letsgetit2939 5 ปีที่แล้ว

    Does the pivot table update if the monthly sales data changes?

  • @vgoel78
    @vgoel78 8 ปีที่แล้ว

    Hi Ashish,
    Just a query, under pivots i can group a field to Months and week as well (days and set the index to 7) but if i require to group the data based on weeknum,how could i do it (like Wk 41). Using days in group will show the date range as 1/1/1990 to 8/1/1990 but i want to show Weeknumber.
    Need to do that in Pivot only else i could have done adding 1 extra column in data and putting there the weennum formula but if i have the huge data spanning across differnt sheets, adding a column is big pain and time consuming as well. Any suggestions. Please mail me if question is not clear

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +Vikas Goel Hi. You will have to create a separate column to extract the week number in your base data sheet and then drag that column to your Pivot Table.

  • @ais42me83
    @ais42me83 7 ปีที่แล้ว

    Omg you are my héroe!

  • @aamirarfin
    @aamirarfin 7 ปีที่แล้ว

    Does this require you to have microsoft sql server installed on your system?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว +1

      No. You just need MS Excel.

    • @aamirarfin
      @aamirarfin 7 ปีที่แล้ว

      Thank you Sir. Another query that I had was, in this case, you can filter data "worksheet wise"(that is jan, feb, march) in pivot chart because you have a date column. If suppose you had to create the same table but instead of the worksheets split month wise, It would be lets say store wise( for eg - Store A, Store B, Store C). How can you filter a pivot table or pivot chart then?
      The only thing I can think of is to have a separate column in all the worksheets with the name of the store repeated in each row. Any alternative?

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      You are most welcome. The column by which you want to filter should be in the base data. If it isn't and you want the worksheet name to be the slicer/filter, then it will be better to use Power Query/PowerPivot.

  • @manikandanpushparaj9428
    @manikandanpushparaj9428 7 ปีที่แล้ว

    Hello Sir, when i change the values from count to Sum im getting zero as result, there is no blank cells in the value columns please suggest

    • @excelenthusiasts
      @excelenthusiasts  7 ปีที่แล้ว

      Hi. I cannot say why that is happening unless I see the workbook. Upload your workbook to OneDrive and share the download link here.

  • @rasidkalim3832
    @rasidkalim3832 6 ปีที่แล้ว

    Hi .. I like to make another pivot table in the same sheet with my first pivot table but with different source data.. can you help me? I cant get it through..

    • @excelenthusiasts
      @excelenthusiasts  6 ปีที่แล้ว

      Hi. Not clear about your query. Please share more details.

  • @vgoel78
    @vgoel78 8 ปีที่แล้ว

    one more thing any tutorial you recommend for power pivot (basics to advances)

    • @excelenthusiasts
      @excelenthusiasts  8 ปีที่แล้ว

      +Vikas Goel I do not know of any such tutorial. I have answered a fair number of questions on using the PowerPivot tool in the Knowledge base section of my website - www.ashishmathur.com/corporate-interventions/

  • @cpr876
    @cpr876 7 ปีที่แล้ว

    Hi, I have tried this trick successfully in the past. Recently, I tried using it on a file with 21 data tabs. I got the message "The query wizard can not continue because it can not join the tables in your query. You must join the tables manually in Microsoft query by dragging the fields to join between the tables". and also "too many fields defined" Do you know what I'm doing wrong?