Excel Magic Trick 1357: Power Query Function to Repeat Clean & Transform Steps for Many Excel Files

  Рет қаралды 107,566

excelisfun

excelisfun

Күн бұрын

Пікірлер: 184
@MegaKarthik17
@MegaKarthik17 Жыл бұрын
Just brilliant.. solved a huge business problem using this as a backloading mechanism for power apps. Tysm
@excelisfun
@excelisfun Жыл бұрын
Glad this could help!!! How are you using Power App?
@MegaKarthik17
@MegaKarthik17 Жыл бұрын
Have a power automate setup to upload the clean data on Sharepoint list and then using a Canvas app for front end
@excelisfun
@excelisfun Жыл бұрын
@@MegaKarthik17 Cool!
@oviwan42
@oviwan42 3 жыл бұрын
ubelievable. This Video is from 2016 and i feel now like coming from the stone age. Exactly what i need from now!!
@excelisfun
@excelisfun 3 жыл бұрын
It is amazing what Power Query can do!
@evgeniam8882
@evgeniam8882 5 жыл бұрын
What a magnificent video! This was EXACTLY what I was looking for these days! Every subject, every problem, every challenge or question someone might have, will be solved and found in this channel masterfully explained by the Excel Guru of all times!! Thank you so so much!!!!! :)
@excelisfun
@excelisfun 5 жыл бұрын
Yes, with over 3000 videos, there are a lot of topics at excelisfun : ) I am just glad that you can find what you want, learn, have fun and solve your problem, Evgenia!!!
@ExcelInstructor
@ExcelInstructor 3 жыл бұрын
@@excelisfun Shame that there is no option for custom functions to be kept like macros. like in PersonalCustomqueryfunctins.xlsb :D that would rock!
@ExcelInstructor
@ExcelInstructor 3 жыл бұрын
@@excelisfun Would it be possible somewhere around here 15:32 to load each table to separe sheet using PQ? (everything b4 15:32 would stay as it is. just the loading option.
@danh2016
@danh2016 5 жыл бұрын
This was a great video. I just used it to solve a real business problem I had where expanding columns didn't quite cut it. Thank you.
@excelisfun
@excelisfun 5 жыл бұрын
You are welcome, Dan H!!!
@dapperlink
@dapperlink 3 жыл бұрын
Had to watch this 3 different times with some Power Query hands on in between, but 3rd time was the charm and I could anticipate your next move all the way through. That wasn’t you, it was me. This is excellent! Thank you!
@pravinshingadia7337
@pravinshingadia7337 5 жыл бұрын
Brilliant video Mike - keep coming back and referring to them! I managed to built a dashboard at work using all the knowledge I have learnt from you the past few months so thank you.
@excelisfun
@excelisfun 5 жыл бұрын
I love hearing that the videos hekp you!!!! Great work on building the dashboard : ) Thanks for your support each time you come back with your comments and thumbs ups : )
@dannyaguirre2309
@dannyaguirre2309 7 жыл бұрын
This is by far one of the best methods to consolidate sheets quickly using Power Query, I love it ! Now I see also the option to load the Data Table to my Power BI Data Catalog or load to my data gallery. Thanks Mr. Excel !!
@excelisfun
@excelisfun 7 жыл бұрын
You are welcome! -- excelisfun, Mr Excel is a different guy : )
@conobabino2471
@conobabino2471 7 жыл бұрын
ExcelIsFun is goldmine!! I plan to watch every episode with practice exercise. Thank you!
@excelisfun
@excelisfun 5 жыл бұрын
You are welcome, cono - thanks for your Support and Sub : )
@CraigHatmakerBXL
@CraigHatmakerBXL 8 жыл бұрын
First: Absolutely superb video. Just a note to viewers - When we MUST use crosstab tables scattered across worksheets for input (I see this often), Mike shows us how to transform them into data tables suitable for PivotTables and other reporting and analysis functions. Where we CAN avoid crosstab tables, we can avoid these steps too.
@excelisfun
@excelisfun 8 жыл бұрын
Glad you like it! Yes, I 100% agree. if you are serious, Proper Data Set all the time. In all of my courses and playlist, that is always day 1 teaching. As you suggest, it makes our lives much easier : )
@dcesano1
@dcesano1 3 жыл бұрын
I have been lookikg for this function for the last 2 months.. Can't thank you enough!
@excelisfun
@excelisfun 3 жыл бұрын
Glad it helps!
@cuba_rj
@cuba_rj 2 жыл бұрын
Hi, i wonder if you have any updated version of this given the recent changes to PQ since 2016. Maybe less steps are needed?
@tosaksettharungson
@tosaksettharungson 4 жыл бұрын
Excellent example of creating and using function + transforming multiple files in a single video. This goes to my favourite list for sure. Thanks so much!
@timmytesla9655
@timmytesla9655 2 жыл бұрын
Brilliant. I have always searched wondered how this could be done. Thank you!
@markhenderson3771
@markhenderson3771 2 жыл бұрын
Thanks. Duplicating and editing to create the function at 06:35
@sequa74
@sequa74 2 жыл бұрын
Excellent video, great learning to apply in day today office works, thanks a lot Mike.
@tunaikinyanguk5493
@tunaikinyanguk5493 2 жыл бұрын
This is precisely what I have been looking for. Thanks, Mike
@DougHExcel
@DougHExcel 7 жыл бұрын
Great example of using power query to do multiple unpivots!
@excelisfun
@excelisfun 7 жыл бұрын
Thanks, Doug !!! : )
@velinraivr
@velinraivr 4 жыл бұрын
Awesome! is there a way to do it without coding?
@negosyok
@negosyok Жыл бұрын
thank you for the detailed explanation in this video. just want to ask how to add date column based on file creation date? because the source content does not have date column in it.
@chuckhamdan1283
@chuckhamdan1283 4 жыл бұрын
I finally made it to work by inserting the missing transactions referring to my earlier message and it worked.
@BillSzysz1
@BillSzysz1 8 жыл бұрын
This is the best introduction to the functions of PQ i've ever seen. This video shows us that "the devil is not so black as he is painted". :-))
@excelisfun
@excelisfun 8 жыл бұрын
Thank you for the kind words, and for the PQ poetry!!! : )
@IdrisShenaee
@IdrisShenaee 8 жыл бұрын
Dear ExcellsFun I am new to excel I have a data to analyse it but I don't really no how to do it and where to start. Would you be able to help me please would be much appreciated, here the link of the data drive.google.com/file/d/0B5P6KT7My9fIVmMxTUNKSFlMbE0/view?usp=sharing Many thanks
@vananhnguyen6717
@vananhnguyen6717 2 жыл бұрын
Incredible! I wish I know this sooner
@excelisfun
@excelisfun 2 жыл бұрын
Glad it helps now, Van!!! : )
@johnborg6005
@johnborg6005 4 жыл бұрын
Great staff. Practise, Practice, Practice.
@excelisfun
@excelisfun 4 жыл бұрын
Yes, yes, yes!!!!!
@Sonwinlim
@Sonwinlim 4 жыл бұрын
This is great but I need one step further and I hope you can help. I need to create a custom column that refers to a cell value. I did it but the issue is for the rest of the files, the column refers to the cell value of the first file instead of taking the value of the cell in their own (aka the Date). I think I will have to create a dynamic source but I can't figure this out. Please help!
@mattschoular8844
@mattschoular8844 6 жыл бұрын
Power Query is truly powerful. Another great video. Thinks Mike
@excelisfun
@excelisfun 6 жыл бұрын
Glad it is great for you, Matt!!! Thanks for your awesome support : )
@MasterofPlay7
@MasterofPlay7 2 жыл бұрын
is this still relevant with excel 2019?
@haihathanh5061
@haihathanh5061 7 ай бұрын
Great! It's all what I need. Thank you ExcellsFun!
@vhc6600
@vhc6600 3 жыл бұрын
Hi Mike, is there a way to do this but not to combine the multiple files but process them and output them as separate files still?
@qiyixin6399
@qiyixin6399 7 жыл бұрын
Always have some new tricks found here, thanks so much for your work.
@excelisfun
@excelisfun 7 жыл бұрын
You are welcome!
@mueez89
@mueez89 4 жыл бұрын
One of the best videos ever!
@excelisfun
@excelisfun 4 жыл бұрын
Glad you like it!!!
@arunprasad72
@arunprasad72 6 жыл бұрын
Thanks so much, this is an excellent video showing how to use PQ to consolidate data from multiple files with multiple headers.
@excelisfun
@excelisfun 6 жыл бұрын
You are welcome, arunprasad n!!! Thanks for the support with your comment, thumbs Up and Sub : )
@Muuip
@Muuip 6 жыл бұрын
Role model for online tutorials.Very useful, many thanks!
@excelisfun
@excelisfun 6 жыл бұрын
You are welcome! I am happy that the videos help you! Thank you, muuip, for the support with your comment, Thumbs Up and Sub : )
@camiloag47
@camiloag47 4 жыл бұрын
Thanks a lot for this introducción to functions of PQ, I saw a lot of videos in spanish (I am from Colombia), but nobody tackles this topic, so I had to search in Inglish and your explanation is very clear and complete, excellent videos, again thanks a lot.
@excelisfun
@excelisfun 4 жыл бұрын
You are welcome, Juan!
@davidferrick
@davidferrick 2 жыл бұрын
Good to know a nice solution for a situation I hope I never run into. :)
@stevemorales
@stevemorales 7 жыл бұрын
Your videos are incredibly helpful and detailed. Thank you for taking the time and doing this
@АсетЖайлаубай
@АсетЖайлаубай 8 жыл бұрын
Thank you!!! You are best master of excel.
@excelisfun
@excelisfun 7 жыл бұрын
You are welcome!
@ContentedSoul
@ContentedSoul 7 жыл бұрын
A brilliant solution to an all too common work problem
@SamiElzaim
@SamiElzaim 4 жыл бұрын
Once again your one of your tutorials saved my day! Thanks a million for this Mike!
@pmsocho
@pmsocho 7 жыл бұрын
Awesome video!
@excelisfun
@excelisfun 7 жыл бұрын
Thank you, Awesome Teammate! : )
@retamapark
@retamapark 5 жыл бұрын
Well done! I appreciate the steps listed as text in the Excel tab. Nice.
@williamarthur4801
@williamarthur4801 2 жыл бұрын
Great and easy to follow only I couldn't get it to work , only one file returned an unpivoted table, the rest came up Expression.Error: The column 'Yanaki' of the table wasn't found. I've still learned a lot regarding basic principles and always enjoy working through your videos.
@rrrprogram8667
@rrrprogram8667 7 жыл бұрын
Why doesn't you tube allow to hit like button multiple times ... As usual ...Thanks for everything you are sharing ..
@stephenmakin5263
@stephenmakin5263 7 жыл бұрын
Un-pivot multiple columns! That is an amazing tip, thank you
@cecilrivera4241
@cecilrivera4241 7 жыл бұрын
Totally amazing. Great job, very insightful and helpful.
@lrhammar
@lrhammar 7 жыл бұрын
Holy Moly. I've done something similar with VBA macros but this workflow is much faster. I'm kinda excited to try this out with data pulled out of Revit software.
@excelisfun
@excelisfun 7 жыл бұрын
Love to hear it!!! Thanks for the Thumbs Up and Sub!
@MrVinayBN
@MrVinayBN 4 жыл бұрын
You are just incredible! I always learn a lot from your videos. Keep up your good work. Kudos to you ✌🏻😃
@excelisfun
@excelisfun 4 жыл бұрын
Glad the videos help!
@jamesmurdock7958
@jamesmurdock7958 7 жыл бұрын
I learn more from your videos than anywhere else. But even though I have the most recent download of 365 Pro, I don't have "Create Custom Function" in the menu bar. Any advice?
@excelisfun
@excelisfun 7 жыл бұрын
Do you mean "Invoke Custom Power Query Function" button? Anyway, it maybe that you need to get the latest update.
@maneshzaveri6277
@maneshzaveri6277 8 жыл бұрын
Super useful video for me....now need to implement it....Thanks
@excelisfun
@excelisfun 8 жыл бұрын
You are welcome!
@kamalnaserkroor4834
@kamalnaserkroor4834 4 жыл бұрын
Hello Mr. Girvin, Videos are very comprehensive. However, in this video if the product list is not at same as the main sheet product list, then, it will through an error:" An error occurred in the ‘’ query. Expression.Error: The column 'Sunspot' of the table wasn't found. Details: Sunspot)." Where 'Sunspot' is a product in main sheet. Best,
@reagannyadimo8742
@reagannyadimo8742 4 жыл бұрын
If you use any of the files and apply the function on the folder, then we get an error. Does it mean all products must be available?
@rococoanalytics-byasif2287
@rococoanalytics-byasif2287 7 жыл бұрын
Great learning and first time I learned creating function in Power Query...thanks @ExcelIsFun
@excelisfun
@excelisfun 7 жыл бұрын
You are welcome!
@learning_with_irving4266
@learning_with_irving4266 Жыл бұрын
Why do you need to use a separate function instead of just letting the initial query to do the applied steps for all files?
@moyaonne55
@moyaonne55 8 жыл бұрын
Thank you for your sharing knowledge. I help me a lots on excel work that I have to support my boss.
@excelisfun
@excelisfun 8 жыл бұрын
You are welcome!
@giuliolaudani1153
@giuliolaudani1153 5 жыл бұрын
@ExcellsFun; thanks for the amazing video! It is possible to use the some functionality "add column" + Excel.workbook(Content) to open a set of mail saved into a folder?
@himanshudalai1028
@himanshudalai1028 6 жыл бұрын
Thank you Mike for this excellent video. Great Learning as always.
@oliverbird8320
@oliverbird8320 7 жыл бұрын
Hi, Dr E have you seen pop up window said " Initialization of the data source failed. Check the database sever ..." ?
@AhmedAbdalalim
@AhmedAbdalalim 4 жыл бұрын
Very helpful Many thanks
@excelisfun
@excelisfun 4 жыл бұрын
You are welcome!
@luisfco.martymatos5431
@luisfco.martymatos5431 6 жыл бұрын
Could this be done without customs functions?
@ekaterinachurilova8299
@ekaterinachurilova8299 6 жыл бұрын
Brilliant explanation! Thank you so much. I have a trouble to apply function if I don't need to transpose and unpivot. In my files that had to be consolidated there is 1 raw on top with column names. But I need to consolidate only table from the sheet without other data on it. And I cannot manage to import it. I import only the whole sheet. It seems I don't modify correctly query to function.
@DragonsTaco
@DragonsTaco 7 жыл бұрын
Good Video, thank you. What did you use to create the video of your screen? The automatic zooming is very effective. Thanks!
@excelisfun
@excelisfun 7 жыл бұрын
That is not automatic zooming, that is all hands on editing done in Camtasia Studio. : )
@kamranb1369
@kamranb1369 6 жыл бұрын
Hi Mike, Great tip, Thanks for that.I am getting one issue though it only works if products are same in all the tables if there is something different it doesn't run the custom function.Is there a way to make this process dynamic?
@excelisfun
@excelisfun 6 жыл бұрын
I thought in this video that the example I showed had products that WERE different. Maybe you could send a small sample of the problem you are having, both how data looks at the start and what it should look like at the end to excelisfun at gmail?
@zxyzxyzyzyugfd
@zxyzxyzyzyugfd 5 жыл бұрын
Could we also create the query from New Query -> Create from Folder (where all the excel files are ) without using a function ?
@excelisfun
@excelisfun 5 жыл бұрын
Not that I know of. We need to build the function the first time so we have all the steps that we can save and use for all the files.
@nishantkumar9570
@nishantkumar9570 6 жыл бұрын
Thank you very much! It's an awesome and very useful technique.
@jacksonhz
@jacksonhz 7 жыл бұрын
you´re the best! always outstanding explanations!
@excelisfun
@excelisfun 7 жыл бұрын
Thank you for the kind words!! Thanks for the Sub, comment and Thumbs Up : )
@FRANKWHITE1996
@FRANKWHITE1996 4 жыл бұрын
I like this video a lot! I mean A LOT!!!!
7 жыл бұрын
Nice videos man. I have learnt a lot with them. One question about this one: Couldn't you just have created the unpivot steps right in PQ without creating/calling the function? In that case will it work when adding additional files to the folder?
@excelisfun
@excelisfun 7 жыл бұрын
I am not sure how to repeat M Code without making a function. That is not to say that it cannot be done, though...
@fakarullahyusop3992
@fakarullahyusop3992 3 жыл бұрын
Thank you....really helpful
@excelisfun
@excelisfun 3 жыл бұрын
Glad it helps!
@epinedoh
@epinedoh 3 жыл бұрын
Perfect! Thanks
@alinmiklos
@alinmiklos 7 жыл бұрын
Awesome. Happy New Year !
@excelisfun
@excelisfun 7 жыл бұрын
Happy New Year to you too : )
@nishantkumar9570
@nishantkumar9570 6 жыл бұрын
I have a question, is there any way to link the folder path with a cell value to make it dynamic? Thank You
@msmith3090
@msmith3090 6 жыл бұрын
Ken Puls has covered this at his blog. You'll have to read through carefully and refer to the linked blogs posts. It works. - www.excelguru.ca/blog/2015/03/25/prompt-for-a-folder-at-refresh/ ~Mt
@sebfromgermany3819
@sebfromgermany3819 3 жыл бұрын
Heya, I love your channel, kept me occupied while I was in COVID quarantine last month. Fortunately COVID is over, but my fascination for PQ continues. Your videos of merging Excel files or Excel worksheets are a great inspiration. There is one detail I could not figure out. I would like to have a column referencing the source e.g. workbook name or file name. Does anybody have an idea how to do this smartly?
@FRANKWHITE1996
@FRANKWHITE1996 4 жыл бұрын
Its a kind of magic 👍
@excelisfun
@excelisfun 4 жыл бұрын
It is!!!! I think that is why we can have so much fun, FRANKWHITE1996 : )
@meditubebrand
@meditubebrand 11 ай бұрын
Repeat Clean & Transform Steps for Many Excel Files
@tableaupro3233
@tableaupro3233 5 жыл бұрын
Mike, I like the way you start with a picture to show the End. Beautiful. I found an error when I applied the function on the files in Start Folder. Given the good intro I got in MSPTDA09, I was able to find the error and fix it. It is happening because the text "Date" is appearing as the first cell in the files in the start Folder, where in the start Excel where you have pasted the data to start transformation steps, that first cell is empty. Though it took a bit of time to figure out the issue, it was a great learning experience - maybe, you should fix it so that others could avoid getting the error I got.
@mattnyman9933
@mattnyman9933 5 жыл бұрын
is FX at the beginning of the name of the function due to naming convention or does Power Query look for FX?
@excelisfun
@excelisfun 5 жыл бұрын
I just named it that for me. Power Query does not require it.
@excelisfun
@excelisfun 5 жыл бұрын
Hopefully the videos are helpful! Thanks for your support with your comments, Thumbs Up and Sub : )
@mattnyman9933
@mattnyman9933 5 жыл бұрын
@@excelisfun Been your fan for years. recommend you to my friends all the time.
@excelisfun
@excelisfun 5 жыл бұрын
@@mattnyman9933 Thanks for the support - it helps me to keep posting : )
@rockrick820
@rockrick820 7 жыл бұрын
Great video! Thank you so much!
@excelisfun
@excelisfun 7 жыл бұрын
You are welcome!
@EricGiroux
@EricGiroux 8 жыл бұрын
Hi Mike, Thanks you so much for these tutorials, I"m actually reading M is for (DATA) Monkey, your PowerQuery (Get & Transform) video series is a wonderful complement. By the way, today I finally received your updated C-S-E book, I now have both! ;-)
@excelisfun
@excelisfun 8 жыл бұрын
You are welcome! Yes, Data Monkey is a great book! Thanks for buying both of my books and supporting the cause : )
@djkhmerchild
@djkhmerchild 8 жыл бұрын
Awesome tutorial..... Thanks for the post.
@excelisfun
@excelisfun 8 жыл бұрын
You are welcome!
@argokusumandani9773
@argokusumandani9773 4 жыл бұрын
Thank you sir
@excelisfun
@excelisfun 4 жыл бұрын
Welcome!!!!
@muntean9010
@muntean9010 3 жыл бұрын
this video just gave me a a "hard reset" on what i thought i knew...So you did this only so you catch the name of the sheet in the table? otherwise you could have just done the same PQ steps for the whole folder at once having the same result(if the name of the sheet is the same at least)
@excelisfun
@excelisfun 3 жыл бұрын
It is fine to do it with a function or with user interface steps. It is all amazing : )
@zaighamuddinfarooqui1705
@zaighamuddinfarooqui1705 8 жыл бұрын
Excellent.
@excelisfun
@excelisfun 8 жыл бұрын
EXCELlent comment!! ; )
@johandryreyes
@johandryreyes 8 жыл бұрын
WooooW that's Amazing. Thank you!!!!
@excelisfun
@excelisfun 8 жыл бұрын
You are welcome!
@sushmagupta9976
@sushmagupta9976 6 жыл бұрын
Hi - the piece that I'm still confused is that how do I use this over and over again? I close excel, shutdown for the night. I come in tomorrow. I receive new files to shape and transform. Do i have to rewrite the steps?
@excelisfun
@excelisfun 6 жыл бұрын
No, but you would have to copy and paste the M Code.
@joffrimpong7720
@joffrimpong7720 3 жыл бұрын
Please after invoking Custom Power Query function I received an error msg of" An error occurred in the ‘’ query. Expression.Error: The column 'Column1' of the table wasn't found. Details: Column1 " could you help you help me out?
@shaddwatson2673
@shaddwatson2673 3 жыл бұрын
Same
@andresfrancojunor
@andresfrancojunor 8 жыл бұрын
Genius, thanks
@excelisfun
@excelisfun 8 жыл бұрын
You are welcome!
@bitechmacrobitechmacro5066
@bitechmacrobitechmacro5066 8 жыл бұрын
Spectacular :O Magical Video. Thank you So Much!!!!
@excelisfun
@excelisfun 8 жыл бұрын
You are welcome so much! : )
@a14266
@a14266 8 жыл бұрын
amazing.... but zip folder is not available for download.
@excelisfun
@excelisfun 8 жыл бұрын
Oh no... I am not at work right now to post it, I will have to do it soon. I will comment here as soon as I get it posted... Sorry about forgetting to post the zipped folder. : (
@excelisfun
@excelisfun 8 жыл бұрын
I just posted the zipped folder. : ) Sorry for the delay.
@a14266
@a14266 8 жыл бұрын
Thanks for reply.. ... Thanks for all your effort to educate us.
@excelisfun
@excelisfun 8 жыл бұрын
You are welcome!
@Tagenarine1987
@Tagenarine1987 6 жыл бұрын
I recently started using power query in excel 2013 and the expand button works on excel files so I guess something changed from the time this video was uploaded.
@excelisfun
@excelisfun 6 жыл бұрын
I wouldn't use the expand button on Excel files because there are too many potential objects in Excel files, whereas with Text Files each file has just one object. I just posted a video about this here: kzbin.info/www/bejne/qIS0qI1nmZiVZ8k Thanks for the support with your comment, Thumbs Up and Sub : )
@Tagenarine1987
@Tagenarine1987 6 жыл бұрын
Just watched the video and now I get what you meant by the different objects in the excel files. I will be using the Excel.Workbook function from now on :)
@chuckhamdan1283
@chuckhamdan1283 4 жыл бұрын
When using the downloaded files and executing step by step following the video I get an error saying the following: An error occurred in the "query.expression.error the column 'Crested Beault of the Table was not found. The same for Yanaki and then the same for sunset and sunshine. How to correct this? I would appreciate your feedback. Sincerely
@reagannyadimo8742
@reagannyadimo8742 4 жыл бұрын
Experiencing similar challenge too
@vananhnguyen6717
@vananhnguyen6717 2 жыл бұрын
I have same problem. How did you solve that?
@AbhayGadiya
@AbhayGadiya 8 жыл бұрын
This function will work if I have one of the file open and it is not saved in the same folder. If I create a new blank file, I would need to amend some steps in this function a little bit for source data. Else I will have to copy the steps from advanced editor into the blank file created and then invoke that function.
@excelisfun
@excelisfun 8 жыл бұрын
I am not sure I understand what you have said. But the purpose of the Consolidating Query was to get all the similarly cross tabulated tables in various Excel Files files that are in a specific folder.
@Telecomm2004
@Telecomm2004 8 жыл бұрын
awesome one :) thanks for sharing
@excelisfun
@excelisfun 8 жыл бұрын
You are welcome!
@wmfexcel
@wmfexcel 8 жыл бұрын
Simply awesome! :)
@excelisfun
@excelisfun 8 жыл бұрын
Glad you like it! : )
@gaid81
@gaid81 8 жыл бұрын
Fantastic
@excelisfun
@excelisfun 8 жыл бұрын
Glad you like it!
@Telecomm2004
@Telecomm2004 8 жыл бұрын
I have an excel sheet, I need to attach PDF documents to it in the certain cell. no preview is required. then I need to convert excel sheet(which contains PDF attachment) into one PDF file. So, when I open it I will see (excel sheet converted to pdf) and the attachment (in pdf) as a one pdf document Can I have VBA code for that? Thanks in advance.
@excelisfun
@excelisfun 8 жыл бұрын
I am not good with VBA. Try posting question here: mrexcel.com/forum
@annelauricecastro214
@annelauricecastro214 7 жыл бұрын
amazing
@yolindaburns3447
@yolindaburns3447 4 жыл бұрын
I am not sure why but this did not work for me. I got this error "1 arguments were passed to a function which expects 2" any feedback as to what I did wrong?
@excelisfun
@excelisfun 4 жыл бұрын
What function? What does your M Code look like?
@yolindaburns3447
@yolindaburns3447 4 жыл бұрын
@@excelisfun Thanks for your reply!! I tried to replicate the function in your video to transform 6 identical excel files so I could append them into 1. This is the code: (Fx_Transformation_HC_WD)=> let #"Removed Top Rows" = Table.Skip(Fx_Transformation_HC_WD), #"Promoted Headers" = Table.PromoteHeaders(#"Removed Top Rows", [PromoteAllScalars=true]), #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{{"Location Address - Country", type text}, {"Market", type text}, {"Cost Center - ID", Int64.Type}, {"Cost Center - Name", type text}, {"Company", type text}, {"Worker", type text}, {"Legacy ID", Int64.Type}, {"Associate ID", Int64.Type}, {"Job Title", type text}, {"Job Code", Int64.Type}, {"Time Type", type text}, {"CF - LRV Business Area Band (Text) [From Worker]", type text}, {"Pay Rate Type", type any}, {"Exempt", type any}, {"Original Hire Date", type datetime}, {"Hire Date", type datetime}, {"Date of Birth", type any}, {"Effective Date for Current Position", type datetime}, {"Job Family", type text}, {"Gender", type any}, {"Manager Name", type text}, {"Manager ID", Int64.Type}, {"CF INT5023 Manager Title LRV", type text}, {"Supervisory Organization", type text}, {"Race", type any}, {"Scheduled Weekly Hours", Int64.Type}, {"Job Grade", type text}, {"Compensation Grade", type any}, {"Annual Salary", Int64.Type}, {"Hourly Rate", Int64.Type}, {"Veteran Status", type any}, {"Protected Veteran", type any}, {"Self-Identification of Disability Status", type any}, {"EEO-1 Category", type any}, {"Location", type text}}), #"Removed Columns" = Table.RemoveColumns(#"Changed Type",{"Location Address - Country", "Market", "Legacy ID", "Time Type", "CF - LRV Business Area Band (Text) [From Worker]"}), #"Changed Type1" = Table.TransformColumnTypes(#"Removed Columns",{{"Original Hire Date", type date}, {"Hire Date", type date}, {"Effective Date for Current Position", type date}}), #"Removed Columns1" = Table.RemoveColumns(#"Changed Type1",{"Manager Name", "Manager ID", "CF INT5023 Manager Title LRV", "Supervisory Organization", "Scheduled Weekly Hours", "Location"}), #"Filtered Rows" = Table.SelectRows(#"Removed Columns1", each ([Company] = "US0066 Sysco New Mexico (Division of USA I)") and ([Worker] "Purged Person")), #"Changed Type2" = Table.TransformColumnTypes(#"Filtered Rows",{{"Date of Birth", type date}}), #"Replaced Value" = Table.ReplaceValue(#"Changed Type2",null,"No",Replacer.ReplaceValue,{"Exempt"}), #"Removed Columns2" = Table.RemoveColumns(#"Replaced Value",{"Job Family"}), #"Changed Type3" = Table.TransformColumnTypes(#"Removed Columns2",{{"Annual Salary", Currency.Type}, {"Hourly Rate", Currency.Type}}), #"Reordered Columns" = Table.ReorderColumns(#"Changed Type3",{"Associate ID", "Worker", "Cost Center - ID", "Cost Center - Name", "Company", "Job Code", "Job Title", "Pay Rate Type", "Exempt", "Original Hire Date", "Hire Date", "Date of Birth", "Effective Date for Current Position", "Gender", "Race", "Job Grade", "Compensation Grade", "Annual Salary", "Hourly Rate", "Veteran Status", "Protected Veteran", "Self-Identification of Disability Status", "EEO-1 Category"}) in #"Reordered Columns" I created the function just like you did on the video but unfortunately it does not work.
@luisfco.martymatos5431
@luisfco.martymatos5431 6 жыл бұрын
This is magic! :^)
@excelisfun
@excelisfun 6 жыл бұрын
Glad you like the magic! Thanks for the support with your comment, Thumbs Up and Sub : )
@AGmAGicman
@AGmAGicman 6 жыл бұрын
I'm getting this error when I invoke the custom function An error occurred in the ‘’ query. Expression.Error: The column 'Yanaki' of the table wasn't found. Details: Yanaki
@salahaddin2009
@salahaddin2009 5 жыл бұрын
I have the same, I re did the excercise 3 times now.
@reagannyadimo8742
@reagannyadimo8742 4 жыл бұрын
@@salahaddin2009 has it worked?
@kevzgu
@kevzgu 4 жыл бұрын
In the function query, remove all the change types steps. Then the Error will go away
@seasinealbarran807
@seasinealbarran807 8 жыл бұрын
Hey! How are you? I have 11 employees.. 10 nml week is M-F, 1 is S-Thurs. The 10 that works M-F must rotate Sat and Sun based on seniority factoring in days unavailable days per employee to include approved leave, etc. All 11 employee also rotation federal holidays base on seniority (date of hire). I want the worksheet to be automated if an unavailable date changes , or a new employee comes on board for example. Where do I start? I know nothing about excel. If you cant help me. where can I fine a reliable professional excel person to make to for me? Thank you!!
@excelisfun
@excelisfun 8 жыл бұрын
Try this great Excel question site: mrexcel.com/forum
@SuperAshraf1972
@SuperAshraf1972 5 жыл бұрын
HI Mike, could you please help me to create a pivot table from a folder that has multiple excel files with huge data more than a million rows in each excel file
@SuperAshraf1972
@SuperAshraf1972 5 жыл бұрын
my email ( ashraf.albasel@gmail.com )
I Turned My Mom into Anxiety Mode! 😆💥 #prank #familyfun #funny
00:32
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 36 МЛН
Power Query Unpivot - fix 4 common data layouts (incl. workbook)
19:24
MyOnlineTrainingHub
Рет қаралды 231 М.
How to easily automate boring Excel tasks with Power Query!
17:10
MyOnlineTrainingHub
Рет қаралды 1,6 МЛН
3 Essential Excel skills for the data analyst
18:02
Access Analytic
Рет қаралды 1,5 МЛН