Quick Excel Trick to Unstack Data from one Column to Multiple Columns

Поділитися
Вставка
  • Опубліковано 16 жов 2024

КОМЕНТАРІ • 886

  • @LeilaGharani
    @LeilaGharani  8 місяців тому +1

    Grab the file I used in the video from here 👉 pages.xelplus.com/unstack-file

  • @allisonbell8721
    @allisonbell8721 2 роки тому +8

    This might be the most brilliant video ever posted on UA-cam. If the Nobel Prize people had a prize for software use advice, you should get that Nobel prize.

  • @tennesseemashed
    @tennesseemashed 5 років тому +69

    One of the simplest and smartest things I’ve seen in excel. Wow

  • @dbookmarker9524
    @dbookmarker9524 5 років тому +5

    This is not Excel, this is Magic! TY!

  • @lijikumarbalan6038
    @lijikumarbalan6038 2 роки тому

    unbelievable shortcut you created Ms Leila..... Hats off !!!

  • @TheNabob57
    @TheNabob57 4 роки тому

    Wow. I have been using Excel since 1997, and am pretty proficient. But I have never seen this *most excellent* hack! Kudos to you! I have subscribed to your vids because your explanations are spot on, simple and your voice is measured and quite pleasant. Yay Leila!

    • @TheNabob57
      @TheNabob57 4 роки тому

      Oh. and I will use YOUR initials too :)

  • @iankr
    @iankr 4 роки тому +1

    Brilliant! Another, similar trick I learned was to disguise formulae if you want to copy a large block of cells with formulae that don't have absolute references, but where you *don't* want the references to change when you copy. Select the range, do +H to Find "=" and Replace with "%%"; copy the range to where you want it, then reverse the Find and Replace to put them back to formulae preceded by "=". I need to do this so often, that I've put the two stages into macros, triggered by buttons on my customised ribbon.

  • @niyanaknowledgecave3277
    @niyanaknowledgecave3277 5 років тому +19

    Best excel tutor I have ever seen in my life...!! Thank you!!

  • @glennvd7622
    @glennvd7622 2 роки тому

    O.M.G. The simplicity of this is pure genius!

  • @mauriciomolinahn
    @mauriciomolinahn 5 років тому +7

    Leila is one the most wonderful and gifted teacher of all times! It's so awesome to watch her videos!!!

  • @jamieeru3519
    @jamieeru3519 2 роки тому

    Every time! If I'm stuck, you come through. You're awesome. Thank you!!

  • @Amr-Ibrahim-AI
    @Amr-Ibrahim-AI 5 років тому +34

    Wow! Simplicity is the mother of beauty! This is an awesome trick

  • @tombic6373
    @tombic6373 4 місяці тому

    Clear, clever solution to a frequently difficult and time consuming problem. Awesome.

  • @babaktftf8925
    @babaktftf8925 4 роки тому

    Thank you dear Leila, it's so simple

  • @rasoulkhoshravan5912
    @rasoulkhoshravan5912 4 роки тому

    Leila your are really smart. Your simple solutions to very hard issues are really amazing.

  • @debbiegaydos
    @debbiegaydos 5 років тому +4

    I needed to put a single column of 300 values into a 10x30 grid. Googled and googled and tried to figure out a simple way to do it. So glad I found this, what a great (and simple) trick! Thanks!

  • @richardveloz923
    @richardveloz923 5 років тому +1

    Hi,Im working in a call center where I use excel a lot.I just want to let you know that your tutorials are very helpful and easy to understand.Thank you so much for your videos.

    • @LeilaGharani
      @LeilaGharani  5 років тому

      I'm very happy to hear that Richard!

    • @01chippe
      @01chippe Рік тому

      Kudos for making scammer’s jobs easier.

  • @deepbhatta1743
    @deepbhatta1743 3 роки тому

    One of the simplest and smartest things I’ve seen in excel. Excellent

  • @abhisekmaheswari3707
    @abhisekmaheswari3707 5 місяців тому

    Saved my hours! Thanks a ton. Wish you good health and prosperity

  • @thedr00
    @thedr00 3 роки тому +4

    This is immense, and do simple. It was taking me hours to manually move cells around, your tips had me finished inside of 10 minutes.
    Thank you thank you thank you!

  • @yousifmohammed4841
    @yousifmohammed4841 5 років тому

    Wow.. Very simple, smart, and non-obvious workaround

  • @spamdump4459
    @spamdump4459 5 років тому

    Thank You. I have my tricks to unstack, but what you show here will work for so many other applications. I totally overlooked the custom formatting to hide 0's. That tip alone is worth a whole lot for so many things I do. I owe you a drink if you're ever in the San Diego area.

    • @LeilaGharani
      @LeilaGharani  5 років тому

      That's great! I'm glad to hear that. I've been to San Diego ....beautiful place...but that was 20 years ago :)

  • @DerickPitcher
    @DerickPitcher 5 років тому

    What an awesome way to unstack data! I got your notification on this when I was about 10% through unstacking over 1000 rows of imported text. I saw the other ways but I was spending too much time configuring and not getting work done. Your way ISN'T the lazy way but the most productive way that I've seen. 1574 rows done in under a minute. Thank you, thank you and thank you.

    • @LeilaGharani
      @LeilaGharani  5 років тому +1

      That's GREAT! I'm really happy to hear that! I'm glad you saw this at 10% and not right after 100% :)

    • @DerickPitcher
      @DerickPitcher 5 років тому

      So true. That wouldn't have been a good thing. Thanks again.

  • @bennettdejoya2
    @bennettdejoya2 3 роки тому

    Thanks, Leila. You're a time saver.

  • @raghuv7114
    @raghuv7114 5 років тому

    No matter which topic you post on excell learning.it is always best and well received.

  • @1gopalakrishnarao
    @1gopalakrishnarao 5 років тому

    Excellent. Every video you make us to learn, learn & learn. God only knows your brilliance. Thank God. We are very lucky to get a teacher like you. Saluatations to my beloved Teacher.

    • @LeilaGharani
      @LeilaGharani  5 років тому

      Thank you Gopala for always commenting and liking the videos. I am very blessed to have a wonderful audience. Thank you!

  • @TamraShorts
    @TamraShorts 5 років тому

    Such a clever way to unstack. So simple but never came into my mind. Thanks for the trick Leila.. you are great.

  • @solomongebremariam427
    @solomongebremariam427 2 роки тому

    Smart and easy method to follow. Thank you very much!

  • @rajanghadi1982
    @rajanghadi1982 5 років тому

    I am speechless. I know almost same as you know. I also have good logic. But you are far ahead in terms of great ideas. Hats off.

    • @LeilaGharani
      @LeilaGharani  5 років тому

      I'm glad you find the tutorial useful.

  • @graphguy
    @graphguy 4 роки тому

    This EXTREMELY valuable for me! I have data pulls in the tens of thousands that this fixes an issue we have.
    What would be further value that I can figure out is; how to do the same thing but with the twist that the stacked data can have variable amounts of entry, not just the set of 3 like you have in the example. So Record A might be 3, Record B might be 6, Record C might be 2, etc, etc.

  • @musicsang4882
    @musicsang4882 7 місяців тому

    Thanks a lot..you saved my tons of hours and efforts..I will be indebted to you.

  • @kaaa3485
    @kaaa3485 5 років тому

    Wow, very simple and very clever. Thanks, Leila.

  • @JayEastward
    @JayEastward 3 роки тому

    This is brilliant. I had exactly this problem, my usual spreadsheet jockey was running an errand out of the office, and I needed this done asap. Found you with Google and said to myself: "Really? That simple?" I tried it and BAM! A total of 3,976 rows (copied and pasted from a table on a website) transformed into a 497x8 array just like that. G.E.N.I.U.S.

  • @shadrackawunyo7786
    @shadrackawunyo7786 5 років тому

    Excellent solution. I have not thought of the replacement technique as a workable solution. It is an eye opener. Many many thanks

  • @sarfarajkureshi6569
    @sarfarajkureshi6569 5 років тому

    You are my favorite teacher for excel......

  • @tawhidulislam3440
    @tawhidulislam3440 5 років тому

    Wow!! I'm just getting addicted to your tutorial. May Allah give you the better return and solve your problems like you do for us!

    • @LeilaGharani
      @LeilaGharani  5 років тому

      I'm happy to hear the tutorials are helpful!

  • @cheriesmewengkang7004
    @cheriesmewengkang7004 5 років тому

    Ha....ha... I remember when I faced this problem, when working as accountant. And how happy am I to found unpivot features in power query. And now you show the very simpla-easy way without Power Query. Nice.....

    • @LeilaGharani
      @LeilaGharani  5 років тому

      :) Sorry this came a bit late....but unpivoting with Power Query is great too.

  • @stanly462u
    @stanly462u 3 роки тому

    One of the finest things I've leaned today.

  • @ramamohanpathapati7694
    @ramamohanpathapati7694 4 роки тому

    To me Leila is excellent teacher, Thank you for many things i learnt from you

  • @sjn7220
    @sjn7220 5 років тому +3

    Cool trick! I have to do this quite often but have always used =index(array, column(A1)+(row(A1)-1)*3). Column and row can be switched whether you're destacking vertically or horizontally (and 3 would change depending on the group size). At first I had to always think it out but now it is so ingrained in my head it comes out somewhat naturally.

  • @christoskyriacou7036
    @christoskyriacou7036 2 роки тому

    A great and very smart way of doing it. Thanks, you are a treasure.

  • @walieast7896
    @walieast7896 4 роки тому

    When you used your initials and cell reference I knew where this was going! That was sooooo crafty!! I literally was putting together dynamic chart for a dashboard last night and could have used this tip lol. You're the best Mrs Gharani !!!!

  • @amysutton8238
    @amysutton8238 5 років тому

    Oh.My.Gosh! You are my hero. I have used a few of your videos when i needed to learn something quickly. I discovered this one by accident and I can't wait to watch them all. Thank you for all of your hard work.

  • @peluso_palit
    @peluso_palit 5 років тому

    I always come back to watch your video to learn new tricks. Happy new year to you, from Malaysia.

  • @aperkinsvt
    @aperkinsvt 5 років тому

    Thank you for a great tip. I bump into the need to unstack periodically - sometimes with much larger data sets. This way is the best!

    • @LeilaGharani
      @LeilaGharani  5 років тому

      Thank you! Glad you can make use of this trick.

  • @anshuiway
    @anshuiway 5 років тому +2

    Really mind blowing trick for stuck data converted to proper format
    Thanks for sharing this video

  • @joydeeppurkayastha8015
    @joydeeppurkayastha8015 5 років тому

    What a smart way to unstack,thanks Leila

  • @eks007
    @eks007 5 років тому +6

    So glad I found your channel, Leila. As an IT professional constantly working in excel, your videos are extremely useful. Question: what if your stack of data has no clear pattern? In your example, you had a new title every 3 rows from the previous title. What if you're working in a sheet, where the title appears randomly? Thanks in advance!

  • @ToddBeck
    @ToddBeck 3 місяці тому

    Brilliant. Saved me a ton of time.

  • @Fitimth
    @Fitimth 2 роки тому

    The LG idea replecment , just saved me a ton of time ... thank you veeery much :)

  • @timotiusriady6298
    @timotiusriady6298 4 роки тому

    Thanks leila, i found this in 2020, aftert these years. U make my life easier

  • @Boudico
    @Boudico 5 років тому

    Leila,
    This is perfect timing! I was just discussing FILL/SERIES and FIND/REPLACE with an employee this morning and how powerful they both are...now to combine them, even more so. Thank you!

  • @basilyang3862
    @basilyang3862 4 роки тому

    Genius! Thanks for all your excel help

  • @qblakesnappit
    @qblakesnappit 4 роки тому

    Just what i need... Very simple... Thanks LG

  • @joep9617
    @joep9617 5 років тому

    Very nice! Wow, I'm still learning simple tricks after 20 years of Excel.
    Tried and it works with other patterns as well (restacking, rearranging data).
    Thank You!

    • @LeilaGharani
      @LeilaGharani  5 років тому

      Welcome to the club. I’m also learning new stuff every day :) let me count how may years I’ve had ---18 years!

  • @rymabenhimi1589
    @rymabenhimi1589 Рік тому

    Your channel is a life saver!

  • @fenderdaw
    @fenderdaw 8 місяців тому

    Thank you! I was working through it knowing there had to be a better way. I’ll take a quick hack over M code any day!

  • @marwandeen
    @marwandeen 5 років тому

    I use excel a lot specially dashboard creation and I really find your videos very helpful
    Thank you

  • @hudsville
    @hudsville 3 місяці тому

    This was great! Thanks so much.

  • @SARAN_NEW
    @SARAN_NEW 7 місяців тому

    thank you ! very helpful method

  • @robertflynn7416
    @robertflynn7416 5 років тому

    Great trick Leila, I run into this all the time and this is a really fast method to properly format the data. Thanks for another great video!

    • @LeilaGharani
      @LeilaGharani  5 років тому +1

      Thank you Robert. I'm glad you can make of use of this :)

  • @mahmoudbasheti3551
    @mahmoudbasheti3551 5 років тому

    You are a Clarity Queen, this is really handy and useful. Nice trick.. Thumbs up!

  • @MalinaC
    @MalinaC 5 років тому

    OMG it's BRILLIANT!!! Absolutely brilliant!!! Thanks for sharing, Leila.

  • @lpanades
    @lpanades 6 місяців тому

    Really brilliant, like said before. Astonished.

  • @iestynjones5796
    @iestynjones5796 4 роки тому

    Simply brilliant. Thank you.

  • @zedzpan
    @zedzpan 5 років тому +7

    This blew my mind. What a great tip!

  • @karimarafa
    @karimarafa 5 років тому

    I'm so glad that I saw this video, it saved me hours of work. Many thanks Leila

    • @LeilaGharani
      @LeilaGharani  5 років тому

      My pleasure Karim. I'm glad the tutorial is helpful.

  • @ZeratulX
    @ZeratulX 4 роки тому

    Very nice trick!!! it's only about being creative and using the right tools.

  • @vetman98
    @vetman98 Рік тому +1

    Thank you I have been looking for solving this problem for a long time. Your videos are amazing

  • @superhiway
    @superhiway 2 роки тому

    A BRILLIANT resolution to my exact problem. I am now a new subscriber and I will be back soon to probe your brain some more. Thanks so much.!!

  • @MrAbhishek1109
    @MrAbhishek1109 5 років тому

    Your tricks are helping me a lot...
    Thanks for this..

    • @LeilaGharani
      @LeilaGharani  5 років тому

      My pleasure. I'm glad the video is helpful.

  • @angus68655
    @angus68655 4 роки тому

    I've only recently come across your videos in the last couple of weeks and abolsutely love them. Your succinct and easy to following teaching style is great. Thank you.

  • @shubhsjbp
    @shubhsjbp 5 років тому

    I did use a few easy tricks, but this one is away wave more easy and efficient than anything I have ever used, I watch your videos everytime to get amazed and definitely improve my teaching skills !!

    • @LeilaGharani
      @LeilaGharani  5 років тому

      I'm glad to hear you find the tutorial helpful.

  • @gaultztaguinod9289
    @gaultztaguinod9289 4 роки тому

    OMGoodness! I would've used offsets and rows and columns to do achieve this, but this trick is badass!!! I'm a fan. Subscribed!

    • @LeilaGharani
      @LeilaGharani  4 роки тому

      Glad you like it. It's great to have you here :)

  • @fayi85
    @fayi85 3 роки тому

    I don’t know how to thank you Leila, this is amazing trick made my life easy, 🌹🌹🌹

  • @runwiththerunners8152
    @runwiththerunners8152 3 роки тому

    Excellent! Thank you again. You are brilliant and totally enchanting!

  • @stevenarias717
    @stevenarias717 3 роки тому

    One of the best shortcuts I have seen!

  • @mireillecantrell4638
    @mireillecantrell4638 4 роки тому

    Getting back into Excel from older version and I love this method. I usually write VBA macro.

  • @waynejensen7689
    @waynejensen7689 4 роки тому

    Simply BRILLIANT!

  • @jamesdemaio5234
    @jamesdemaio5234 4 роки тому

    I stumbled across your UA-cam channel by accident and I have to say that I've learned more in the last week then from all of the Excel courses I've attended. Great tips and tricks!! Well done!

    • @LeilaGharani
      @LeilaGharani  4 роки тому

      Thanks for the kind feedback James. I'm happy the tutorials are useful for you.

  • @juliejoseph2486
    @juliejoseph2486 2 роки тому

    Girl, you rock. Thanks for all you do.

  • @davidbinder8360
    @davidbinder8360 5 років тому

    Hi Leila - as this is my first ever comment, I first just want to say how impressed I have been with the quality of these videos. Not only do you explain things clearly and concisely, you always choose practical and innovative ways to solve real-life problems. I wanted to get your thoughts on an alternate approach that I thought you might try for this example to see if you saw any downside to it.
    Using your data, I propose starting with the following formula in cell C3:
    =OFFSET($A$4,3*(ROW(D4)-ROW($D$4))+COLUMN(D4)-COLUMN($D$4),0)
    You can then drag this formula down as far as you need. As with your example, users may want to format zeroes not to display within the relevant area. You could make this even more dynamic and generic by parameterizing the 3 after the first comma, which represents the number of columns of output data you want to produce.
    What do you think?

    • @LeilaGharani
      @LeilaGharani  5 років тому

      Thank you David for your first wonderful comment. Your OFFSET method looks great! Love it! Thanks for sharing :)

  • @mohammadashiq9996
    @mohammadashiq9996 4 роки тому

    thank you leila like this simple method .

  • @nelipottery
    @nelipottery 4 роки тому

    Thank you! You are my new favourite channel to come to for excel challenges. Great video - clear, concise, and excellent screen presentation!

    • @LeilaGharani
      @LeilaGharani  4 роки тому

      Thanks for the kind feedback Catherine. Glad you like it.

  • @heather7461
    @heather7461 3 роки тому

    Wow this is mind-blowing ! Thank you so much

  • @ssrao3825
    @ssrao3825 4 дні тому

    this is really great technique

  • @edmundobiglia1238
    @edmundobiglia1238 4 роки тому

    I was struggling with this and was so frustrated, thinking "how can this NOT be so easy to do?". Well, now it is. Thank you so much! :)

  • @anikther
    @anikther 4 роки тому

    You just saved me, probably, hours of work. I absolutely LOVE Excel for situations like this!

  • @russellhare2881
    @russellhare2881 2 роки тому

    Absolutely brilliant! This is exactly what I was looking for.

  • @SandipBanerjee
    @SandipBanerjee 4 роки тому

    Excellent idea! Thank You :)

  • @zakaralli
    @zakaralli 5 років тому

    You are top! your teachings way is such easy to follow.

  • @nanookdan
    @nanookdan 5 років тому

    Sorcery!!! You continue to amaze Leila!

  • @diegovinicius1987
    @diegovinicius1987 5 років тому

    This is ridiculously easy and useful. Best video I have seen in UA-cam

  • @wayneedmondson1065
    @wayneedmondson1065 5 років тому

    Hi Leila.. thanks for the great lg-replacement trick for unstacking data. Forgive me if I call it the we-replacement trick.. haha!! Your tips are always so valuable and useful.. top notch! Thumbs up!!

  • @96seya
    @96seya 10 місяців тому

    This is Gold! You've saved me a whole load of time 👏👏👏

  • @bahirvm4437
    @bahirvm4437 5 років тому

    This is really helpful for me. Thanks a lot for this shortcut method

  • @sguchait
    @sguchait 5 років тому

    I always like all your videos, you make things so simple .. wish i had found your channel earlier, i could have learned a lot by now.. I am getting addicted to this channel now.

    • @LeilaGharani
      @LeilaGharani  5 років тому

      That's great to hear! Good to have you here.

  • @leroyguillot481
    @leroyguillot481 5 років тому

    THANK YOU!!!!! Leila, I can't tell you how many times I have tried to figure this out!!! WOW!! I am already thinking of other ways to use this trick. You are the Best.
    P.S You and Mike Gavin need to have an Excel battle like he does with the Excel Guy. You two would make a great team!!

  • @m.p259
    @m.p259 2 роки тому

    really smart function!!! thanks for sharing:) I enrolled your lesson already!

  • @waleethmohamedismail4543
    @waleethmohamedismail4543 5 років тому

    Obviously... Very useful shortcut method. Thank you very much

    • @LeilaGharani
      @LeilaGharani  5 років тому

      You're very welcome. Glad it's useful.