3 Ways to Switch Data in Columns to Rows in Excel (Multiple Values)

Поделиться
HTML-код
  • Опубликовано: 9 янв 2025

Комментарии • 220

  • @LeilaGharani
    @LeilaGharani  3 года назад +10

    Grab the file I used in the video from here 👉 pages.xelplus.com/transform-table-file
    Also, just curious if anyone recognized these project names?

    • @prof.code-dude2750
      @prof.code-dude2750 3 года назад +2

      Yes, they are all sports and I think from Olympics... Correct??

    • @SeanGHOB
      @SeanGHOB 3 года назад +4

      They appear to be James Bond references. I recognised Grand Slam from Goldfinger and Thunderball is, obviously, from Thunderball.

    • @vm9278
      @vm9278 3 года назад

      Abcdefg

    • @rayhanhossain7999
      @rayhanhossain7999 3 года назад +1

      Expect a Dax course from you

    • @deepakadroja6065
      @deepakadroja6065 3 года назад

      RC Communication

  • @snkhan6878
    @snkhan6878 3 года назад

    Super solution. Was stuck at work with one file for a long time. And got it resolved with this solution .... just like magic

  • @prof.code-dude2750
    @prof.code-dude2750 3 года назад +7

    I really like your videos where you explain every possible question people ask! Your answer everything, so smart!! No wonder you won the MVP prize in Microsoft!!! Your are the best, i have seen your website too!!! 🙏🙏👍👍🔥🔥🔥

  • @miracleugwu5603
    @miracleugwu5603 2 года назад

    You are life saver. I have looking for this solution for the past three days. Thank you so much

  • @afshindejbodi6702
    @afshindejbodi6702 3 года назад +8

    Wow, it’s amazing Leila… query method looks like the easiest way. I had to rewire my brain 🧠 after I watched the DAX version! Too hard for me 🔥🧠🔥

    • @LeilaGharani
      @LeilaGharani  3 года назад +5

      Thanks Afshin! Agree with you about the DAX part. I wasn't going to add it, but someone asked about it and I couldn't resist 😊

    • @afshindejbodi6702
      @afshindejbodi6702 3 года назад

      @@LeilaGharani Legend.
      I was wondering if you could make a video for someone who has to deal with a new datasets. Basically the approaches he/she has to take to build up the meaningful reports.
      For instance, someone who recently hired as a demand planner in a company and wants to impress the managers with figures and facts the person can takeout from row data.
      I also have another idea (to make video) you maybe interested.
      Thanks again

  • @ijgosling9670
    @ijgosling9670 Год назад

    Using the combination of Unique, Transpose and Filter functions has helped me transform a very large data set which would have taken me hours to format. I very much appreciate this video so thank you for posting this. Have been an avid watcher of your channel but I am very much a novice with Excel but love it. Thanks again Ian

  • @dragonshadow1902
    @dragonshadow1902 3 года назад

    Man, I been looking for formulas for ages to do this. Never knew about power queries either.
    Gonna have to rewatch this video multiple times. Shame I can't thumbs up for each method.

  • @mattschoular8844
    @mattschoular8844 3 года назад

    Thanks Leila. I have multiple use cases for each of these three methods. Thanks for sharing them in one concise video.

    • @LeilaGharani
      @LeilaGharani  3 года назад

      Thank you Matt! Glad you find it useful.

  • @kaushiksekar845
    @kaushiksekar845 3 года назад

    Wow, nice tutorial. No need for special paid classes. YT is best teacher. And for excel Leila is best.

  • @andrewmoss6449
    @andrewmoss6449 3 года назад +9

    Almost at the magic million mark now. Hope there’s a special video lined up!

    • @LeilaGharani
      @LeilaGharani  3 года назад +3

      Thanks Andrew! Yes - planning something different.... I'll post on the community tab later this week. Thank you so much for all your support, comments & likes!

    • @AnilKumar-vi8oe
      @AnilKumar-vi8oe 3 года назад +1

      Expecting a big one here

    • @harmonicbell
      @harmonicbell 3 года назад

      Same here.. Never been this excited before following a very useful RUclips channel (for me of course..) and feel very excited to see it grow..

  • @juanpablorossi6038
    @juanpablorossi6038 6 месяцев назад

    The truth is brilliant, your videos are incredible with the practicality you explain, I use each of the things you show in the day-to-day life of my profession!!!!!!!

    • @LeilaGharani
      @LeilaGharani  6 месяцев назад +1

      Wow, thank you!

    • @juanpablorossi6038
      @juanpablorossi6038 6 месяцев назад

      @@LeilaGharani I challenge you with something. It works magic as we are used to with cube formulas. But be careful, I give you a challenge...... use some variant with mdx to, for example, filter the members of the cube that only present records.....

  • @nurinuri1703
    @nurinuri1703 9 месяцев назад

    Thank you!! I've been struggle for so long, and finally found this video! Your explanation is really easy to understand. Thank you again :)

  • @johnjacobs3160
    @johnjacobs3160 3 года назад

    Thanks!

  • @patihrizal9880
    @patihrizal9880 3 года назад

    I got a job just by learning from your videos. Thank you, may happiness comes with you

  • @SeanGHOB
    @SeanGHOB 3 года назад +7

    I like the formula method best, as it doesn't require the user to right-click & refresh to update the report. Those new formulas that spill values are very cool.

    • @davmelchi4308
      @davmelchi4308 2 года назад

      Power query is better when you are working on huge data and specially form different sources

  • @kejmil1992
    @kejmil1992 3 года назад

    Leila you are the best! You encourage me to learn VBA, DAX and and Power Query!

  • @tayyabqamar6601
    @tayyabqamar6601 3 года назад

    From all the RUclipsrs I subscribed... You are the one from whom I learned a lot and continue this journey along with you.. Lot of positives things besides the subject matter makes your video very interesting and interactives... Lot of well wishes for you and thumbs up for your efforts... Keep rocking

  • @vijayarjunwadkar
    @vijayarjunwadkar 3 года назад +12

    Loved this, though the DAX version was difficult! Formula and PQ rock! Thank you Leila for another great tutorial! 😊👍

  • @runwiththerunners8152
    @runwiththerunners8152 3 года назад

    I used to think Excel was for nerds until I stumbled across Lella. Now I am captivated and signing up for a course with her. Who would have thought! There should be mug with the encryption 'Excel with Lella.' She is enchanting.

  • @JonathanExcels
    @JonathanExcels 3 года назад +1

    I learned a couple things from this video. Thank you.

  • @hussainakhtar1094
    @hussainakhtar1094 3 года назад

    This is really amazing, especially the CONCATENATEX part.. I have applied these formula and other tricks to my data and it worked. Leila you're just on the next level's next level...

  • @AhmedMIbrahim
    @AhmedMIbrahim 3 года назад

    Magic, you are reaching new levels now .. solving a problem in different ways .. all new to me 🤪.. i feel dumb

  • @dsreddy0210
    @dsreddy0210 3 года назад

    Thanks

  • @remars-xcel
    @remars-xcel 3 года назад

    I actually miss your Excel videos , as usual great teachings

  • @isyarakhairani8017
    @isyarakhairani8017 3 года назад

    you are my savior! thanks for this so much helping video, hope more people discover you.

  • @oyekunlesopeju9312
    @oyekunlesopeju9312 3 года назад

    Hi Leila,
    Pivot the table by adding below step after the Changed Type in applied steps:
    Table.Pivot( #”Changed Type” , List.Distinct(#”Changed Type”[Department]) , “Department” , “Project” , (Person) => Text.Combine( Person , “#(lf)” ) )
    I LOVE Power Query 😘

  • @IvanCortinas_ES
    @IvanCortinas_ES 3 года назад

    Spectacular demonstration of knowledge of the subject. Thank you Leila!

  • @saboorahmad9895
    @saboorahmad9895 3 года назад +1

    Eager to see a full course on DAX next. I have learnt various skills from a lot of courses and video lectures, but the confidence and level of comfort in their use I was able to build were only once I went through yours. Truly unmatchable!

  • @vida1719
    @vida1719 3 года назад

    Great example and comparison of 3 different methods to achieve the result

  • @gmakwana22
    @gmakwana22 3 года назад

    You always Teach very easily miss.
    Appreciate it

  • @tharmendransukumaran6626
    @tharmendransukumaran6626 3 года назад

    Great video with great instruction Miss Leila.

  • @Sri-Nivas
    @Sri-Nivas 3 года назад +14

    Hey Leila, you can add this video to your PowerQuery & Advance Excel courses as update. Just my thought since I've subscribed both in Udemy. Thanks for this wonderful video.

  • @paolosoloperto4948
    @paolosoloperto4948 3 года назад

    what can I say, you are very good at explaining, you teach me many beautiful tricks. congratulations Leila 👍

  • @Franceskineos
    @Franceskineos 3 года назад +5

    In the PQ approach you can also use a dummy criteria in the pivot aggregation (for example count) and then with the query editor hack the pivot line substituting the “count” with “text.combine”

  • @wayneedmondson1065
    @wayneedmondson1065 3 года назад +1

    Hi Leila. An awesome lesson! My first pass on the FILTER function solution was: =FILTER(TProject[Person],(TProject[Project]=$F2)*(TProject[Department]=G$1),""). I like your use of "&" to concatenate the two conditions of the include argument.. very nice! PQ and DAX solutions are great too. Thanks for sharing these useful techniques and solutions :)) Thumbs up!!

  • @abiodunonadeji7549
    @abiodunonadeji7549 3 года назад

    Leila Gharani the great! Massive love from Nigeria.

  • @Ms.Charles
    @Ms.Charles 3 года назад

    Leila's Tshirt: "Excel can do it! Now what's the question?" 🤣🤣
    You have definitely taught me that! Thank you Ms.Leila 🙏🏾

  • @G3nM
    @G3nM 3 года назад +19

    Random Guy: I'm good at Excel.
    Leila: Okay, please hold my glass!

  • @samemardini
    @samemardini 3 года назад

    Congratulations on approaching one million subscribers. You are awesome and deserve the best. Thank you for all the expert information you provide.

  • @saazmath
    @saazmath Год назад

    Hi, Thank you very much for sharing all these guides and tips... I wonder is there any way to move multiple cells together from one column to another please

  • @Dev_Bartwal
    @Dev_Bartwal 3 года назад

    Always best Teacher
    lots of love from India

  • @ajiko079
    @ajiko079 2 года назад +1

    4th way: add to data model in pivot table, add concatenatex in dax measure, remove grand total for rows and columns in design tab. That's all

  • @IvanCortinas_ES
    @IvanCortinas_ES 3 года назад

    Thank you for the method3, using DAX. That's very important!

  • @s.y.daniel2137
    @s.y.daniel2137 3 года назад

    Thanks for the additional formula functions introduced here, got to rewatch and study it

  • @KamleshKumar-lg9xo
    @KamleshKumar-lg9xo 3 года назад

    Coming soon 1M🥳🥳🥳🥳 congratulations in advance

  • @Noble.Hustler
    @Noble.Hustler 2 года назад

    Leila, you totally rock! Happy weekend otherwise

  • @fredzfranz09
    @fredzfranz09 3 года назад +2

    As always Leila, you're amazing! I learned something new again today from you! Really awesome! ❤

  • @pascalejacquelinepetit5131
    @pascalejacquelinepetit5131 3 года назад

    Excellent tutorial! Many thanks for sharing Leila

  • @AlexKasper
    @AlexKasper 3 года назад

    Thank you for the tutorial. I'd go with the Formulas approach.

  • @PradeepKumar-eq6wl
    @PradeepKumar-eq6wl 3 года назад

    Recently, i got assign to make dynamic table and i was struggling since 3days and atlast your video helped me alot and how to make a dynamic table👏👏🏆I wanna say Big Thank you!!!!for showing us a dynamic table best example😊😊@Leila

  • @vergitube
    @vergitube 3 года назад +1

    the first two solution is great, third one was overkill :)

  • @김율리아-g7w
    @김율리아-g7w 7 месяцев назад

    Omg, thank you so much! You saved my life.

  • @MoonlightingwebCoUk
    @MoonlightingwebCoUk 3 года назад +7

    You can fix a table reference when dragging or copying, you just need to double up your column reference and surround with extra square brackets e.g. TProject[[Person]:[Person]]. Don’t forget to separate the two instances with a colon.

  • @pvsraaaa865
    @pvsraaaa865 3 года назад

    Leila another great video. For me formulas are hands down in this case

  • @ljubicar1987
    @ljubicar1987 3 года назад

    Great video! I vote for Power Query.

  • @martyc5674
    @martyc5674 3 года назад

    Excellent video Leila-- I am learning DAX currently and your explanantion was really concise. Would love to see more DAX videos from you!!

  • @flootsy
    @flootsy 3 года назад

    I like the PQ version better. Thanks for an awesome video as always "You Rock".

  • @priyankachourasiya9712
    @priyankachourasiya9712 2 года назад

    Thank you so much mam to give us too knowledge 🙏🏻🙏🏻😊

  • @snjd962
    @snjd962 3 года назад

    Thanks for explaining it "Simply".....

  • @JJ_TheGreat
    @JJ_TheGreat 3 года назад

    Wow! I knew the first method - but I learned a lot about the other 2 methods, especially the DAX/Power Pivot method!
    Is DAX the same as Excel formulas - if not, could you please continue doing videos on DAX? I am very fascinated by it!
    Also, I didn't know how to use Power Query to create and extract a list of values! Very interesting!

  • @samuelkodjoe1645
    @samuelkodjoe1645 3 года назад

    i really love the Dax approach

  • @halimjsc271
    @halimjsc271 3 года назад

    Thank a lot for the lesson 👍👍👍🙋🙏

  • @jaredervin2808
    @jaredervin2808 3 года назад

    I really could have used this 2 days ago. I've been trying to dev a cause and effect diagram for instrumentation I/O and this is way easier than using an access database.
    Thank you!

  • @saugata2
    @saugata2 9 месяцев назад

    Thanks for the video. It really helps. I have a question though. I have table of data which has unique data for different cases. like in your video, there are three variables / columns but in my case instead of third column I have 6 more column of data. Now I need to switch my rows into columns keeping the 6 columns as they repeat for each row with unique values. I am not sure, if I am able to explain my problem or not but hoping to hear from you.

  • @yvandorier5133
    @yvandorier5133 3 года назад

    You are Amazing! 👌

  • @sunilsharmacricketgyan
    @sunilsharmacricketgyan 3 года назад

    I like your all videos helped me alot

  • @prakavids
    @prakavids 3 года назад

    Excellent tutorial. Power Pivot looks much effective. Though I am familiar with PQ, found this method little difficult

  • @Quickgait
    @Quickgait 3 года назад

    Congratulations! for 1 Million and Thanks for these very impressive and useful tutorials. Sharing knowledge is the best job ❤️

  • @deepakadroja6065
    @deepakadroja6065 3 года назад

    Very interactive and intelligent way👌🕸

  • @CaribouDataScience
    @CaribouDataScience 2 года назад

    I really like this series. A quick question. How can I add the UNIQUE function to Excel 2016?

  • @samoptimizer
    @samoptimizer 2 года назад

    that's amazing. thank you very much.

  • @theegalavenkatesh
    @theegalavenkatesh 2 года назад

    It's really helped me...tq

  • @englishwithabdullahsafi5034
    @englishwithabdullahsafi5034 Год назад

    Great explanation

  • @marisareis1780
    @marisareis1780 3 года назад +1

    thank you!

    • @dineshsingh9392
      @dineshsingh9392 3 года назад

      Dear Marisa
      You can also visit our channel to learn ms Excel and macros for free.
      ruclips.net/channel/UC8WvuiN2SfVA8p6Uhx8UmpQ

  • @chrism9037
    @chrism9037 3 года назад

    So helpful, thanks Leila!

  • @Morgenj
    @Morgenj 3 года назад +1

    I find the Power Query and Dax options actually the easiest to understand and to get my head around. The Formula option was next level.
    Do you need to go all the way to suppress the totals or will it not be easier to just switch the grand totals off on the Pivot Design?

  • @chevymusclecar1970
    @chevymusclecar1970 3 года назад

    Dang, I ❤️ you! Truly awesome! Thank you for this!

  • @aorapanthongnuam8947
    @aorapanthongnuam8947 2 года назад

    Thank you very much

  • @bharatjd7429
    @bharatjd7429 3 года назад +1

    for grand total hide - simply go to design >grand total>off rows and columns

  • @Shinupp
    @Shinupp 3 года назад

    Thanks for sharing

  • @dilipinamdarpatil6301
    @dilipinamdarpatil6301 3 года назад

    Nice Video thanks

  • @DhanushMunasinghe2008
    @DhanushMunasinghe2008 3 года назад

    Hey Leila Congratulations on 1M subscribers

  • @vm9278
    @vm9278 3 года назад

    Beautiful and tempting

  • @ronaksurana8
    @ronaksurana8 3 года назад

    Hi Leila, when is Dax course coming out eagerly waiting for it to learn more about it

  • @sureshpandey4092
    @sureshpandey4092 3 года назад

    Outstanding. Thank you

  • @muhammadshalah8724
    @muhammadshalah8724 3 года назад

    I am looking for this type of tutorial.Cute

  • @arturoguzman5230
    @arturoguzman5230 3 года назад

    Super Amazing!

  • @ashokkumar-qy3ph
    @ashokkumar-qy3ph 3 года назад

    Bravooo 👏👏👏👏

  • @cenevspeed_CARS
    @cenevspeed_CARS 3 года назад +1

    I have been noticing that your subscribers are growing very fast!! Could you please make a video on how to grow on RUclips as a small channel? It would be useful.... And Great Video 🔥🔥🔥

  • @anto_nahak
    @anto_nahak 3 года назад

    Leila, love so much your video.. thanks a lot, those help me so much. but how if more than 2 workers in the same depart and project if I use first method? thank you Leila...

  • @SportsNetwork1122
    @SportsNetwork1122 3 года назад

    Good job

  • @1-ey8ty
    @1-ey8ty Год назад

    That's great!!!! how can I transfer (textjoin/filter) into VBA? so update the table anytime it's needed

  • @v.vivekthamilarasan990
    @v.vivekthamilarasan990 3 года назад

    Wow... Great learning

  • @dlep9221
    @dlep9221 3 года назад

    Wouah, amazing !!!

  • @CideeStudio
    @CideeStudio 3 года назад

    Thank you

  • @hanbinwifey1723
    @hanbinwifey1723 8 месяцев назад

    This is a great video, but my question is how do we turn it back from table number two, into table number one? I am currently cleaning dataset where it has too many columns and too many rows where it shows blank and "1". For example, sarah is a marketing person, hence the row marketing and column named sarah is marked "1", while the rest of the columns are blank

  • @ruroshinzynaruto
    @ruroshinzynaruto 2 года назад

    Amazing :)

  • @ISK_VAGR
    @ISK_VAGR 3 года назад

    Hi, nice channel. I learned a lot thanks. Btw, could you please explain power query for Mac. I haven’t managed to get it for Mac. I will really love to use it.

  • @stevenhopwood8195
    @stevenhopwood8195 3 года назад

    Love your videos. I have a question is there a way to make xlookup dynamic when looking up from a pivot table, that is constantly being updated as currently I’m having to change range each time. I don’t know if you have a video regarding this problem. 🤔🤗

  • @alanmedows2624
    @alanmedows2624 3 года назад

    Hi Leila, this is all good stuff but like any solution I would always like to know which is the quickest method when dealing with volumes.