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

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ม.ค. 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

  • @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

  • @miracleugwu5603
    @miracleugwu5603 2 ปีที่แล้ว

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

  • @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

  • @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.

  • @G3nM
    @G3nM 3 ปีที่แล้ว +19

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

  • @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 TH-cam channel (for me of course..) and feel very excited to see it grow..

  • @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!!! 🙏🙏👍👍🔥🔥🔥

  • @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.

  • @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...

  • @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!

  • @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.

  • @vijayarjunwadkar
    @vijayarjunwadkar 3 ปีที่แล้ว +12

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

  • @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 😘

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

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

  • @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 :)

    • @LeilaGharani
      @LeilaGharani  9 หลายเดือนก่อน

      Glad it was helpful!

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

    From all the TH-camrs 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

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

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

  • @johnjacobs3160
    @johnjacobs3160 2 ปีที่แล้ว

    Thanks!

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

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

  • @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”

  • @remars-xcel
    @remars-xcel 3 ปีที่แล้ว

    I actually miss your Excel videos , as usual great teachings

  • @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

  • @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.....

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

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

  • @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!!

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

    Thanks

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

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

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

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

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

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

  • @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

  • @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.

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

    Always best Teacher
    lots of love from India

  • @s.y.daniel2137
    @s.y.daniel2137 3 ปีที่แล้ว

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

  • @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.
      th-cam.com/channels/8WvuiN2SfVA8p6Uhx8UmpQ.html

  • @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 🙏🏾

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

    Leila Gharani the great! Massive love from Nigeria.

  • @fredzfranz09
    @fredzfranz09 3 ปีที่แล้ว +2

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

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

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

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

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

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

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

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

    Great video with great instruction Miss Leila.

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

    You always Teach very easily miss.
    Appreciate it

  • @KamleshKumar-lg9xo
    @KamleshKumar-lg9xo 3 ปีที่แล้ว

    Coming soon 1M🥳🥳🥳🥳 congratulations in advance

  • @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.

  • @김율리아-g7w
    @김율리아-g7w 7 หลายเดือนก่อน

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

  • @Noble.Hustler
    @Noble.Hustler 2 ปีที่แล้ว

    Leila, you totally rock! Happy weekend otherwise

  • @priyankachourasiya9712
    @priyankachourasiya9712 2 ปีที่แล้ว

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

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

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

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

    Thank a lot for the lesson 👍👍👍🙋🙏

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

    Great video! I vote for Power Query.

  • @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.

  • @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!!

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

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

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

    i really love the Dax approach

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

    Excellent tutorial! Many thanks for sharing Leila

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

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

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

      Thanks for watching, Robert!

  • @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!

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

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

  • @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.

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

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

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

    You are Amazing! 👌

  • @englishwithabdullahsafi5034
    @englishwithabdullahsafi5034 ปีที่แล้ว

    Great explanation

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

    Very interactive and intelligent way👌🕸

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

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

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

    I like your all videos helped me alot

  • @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

  • @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!

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

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

  • @theegalavenkatesh
    @theegalavenkatesh 2 ปีที่แล้ว

    It's really helped me...tq

  • @samoptimizer
    @samoptimizer 2 ปีที่แล้ว

    that's amazing. thank you very much.

  • @CaribouDataScience
    @CaribouDataScience 2 ปีที่แล้ว

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

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

    So helpful, thanks Leila!

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

    Thanks for sharing

  • @aorapanthongnuam8947
    @aorapanthongnuam8947 2 ปีที่แล้ว

    Thank you very much

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

    Beautiful and tempting

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

    Hey Leila Congratulations on 1M subscribers

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

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

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

    Nice Video thanks

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

    Outstanding. Thank you

  • @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 TH-cam as a small channel? It would be useful.... And Great Video 🔥🔥🔥

  • @ashokkumar-qy3ph
    @ashokkumar-qy3ph 3 ปีที่แล้ว

    Bravooo 👏👏👏👏

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

    Good job

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

    Super Amazing!

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

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

  • @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?

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

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

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

    I am looking for this type of tutorial.Cute

  • @v.vivekthamilarasan990
    @v.vivekthamilarasan990 3 ปีที่แล้ว

    Wow... Great learning

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

    Thank you

  • @mahmoudalsaadawy
    @mahmoudalsaadawy 2 ปีที่แล้ว

    Thanks for this video and all the rest. Very interested to see the whole DAX and Data Modelling in Udemy 😍

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

    If you want your structured references to be absolute you can use this syntax
    TableName[[Column1]:[Column1]]
    In case of this video it would be
    TProject[[Project]:[Project]]

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

      Yeah I used this in my last dashboard and it was a really life saver

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

    Wouah, amazing !!!

  • @SaketDeshpande29
    @SaketDeshpande29 3 หลายเดือนก่อน

    Hey Leila, instead of having the data concatenated in same cell, is it possible to have it displayed in multiple rows. Is there a solution to achieve this result?

  • @kenigwe9261
    @kenigwe9261 2 ปีที่แล้ว

    @leilagharani can I use still use the concatenatex as a Dax function if I just want to return just one text?

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

    Obrigado 👏👏👏👏👏👏👏

  • @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.

  • @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...