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

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 885

  • @LeilaGharani
    @LeilaGharani  Před 7 měsíci +1

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

  • @allisonbell8721
    @allisonbell8721 Před 2 lety +6

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

  • @tennesseemashed
    @tennesseemashed Před 5 lety +68

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

  • @niyanaknowledgecave3277
    @niyanaknowledgecave3277 Před 5 lety +19

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

  • @Amr-Ibrahim-AI
    @Amr-Ibrahim-AI Před 5 lety +34

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

  • @dbookmarker9524
    @dbookmarker9524 Před 5 lety +5

    This is not Excel, this is Magic! TY!

  • @mauriciomolinahn
    @mauriciomolinahn Před 5 lety +7

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

  • @debbiegaydos
    @debbiegaydos Před 5 lety +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!

  • @thedr00
    @thedr00 Před 3 lety +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!

  • @iankr
    @iankr Před 3 lety +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.

  • @richardveloz923
    @richardveloz923 Před 4 lety +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  Před 4 lety

      I'm very happy to hear that Richard!

    • @01chippe
      @01chippe Před 11 měsíci

      Kudos for making scammer’s jobs easier.

  • @spamdump4459
    @spamdump4459 Před 5 lety

    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  Před 5 lety

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

  • @rajanghadi1982
    @rajanghadi1982 Před 5 lety

    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.

  • @anshuiway
    @anshuiway Před 5 lety +2

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

  • @sjn7220
    @sjn7220 Před 5 lety +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.

  • @JayEastward
    @JayEastward Před 3 lety

    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.

  • @DerickPitcher
    @DerickPitcher Před 5 lety

    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  Před 5 lety +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 Před 5 lety

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

  • @abhisekmaheswari3707
    @abhisekmaheswari3707 Před 4 měsíci

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

  • @amysutton8238
    @amysutton8238 Před 5 lety

    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.

  • @zedzpan
    @zedzpan Před 5 lety +7

    This blew my mind. What a great tip!

  • @mikoajkomorowski1290
    @mikoajkomorowski1290 Před 5 lety +46

    You could also use the OFFSET formula:
    =OFFSET($A$4,(ROWS($A$1:A1)-1)*3+(COLUMNS($A$1:A1)-1),0)
    this would make it more automatic and easier to extend in case you have to get more data input

    • @AbuTalha-eo7pr
      @AbuTalha-eo7pr Před 5 lety

      Super; thanks

    • @BondiMacF
      @BondiMacF Před 4 lety +2

      Great thanks. I was just going to try to work on something similar.
      Instead of ROWS($A$1:A1), how about simply ROW(A1)?
      Now you have =OFFSET($A$4,(ROW(A1)-1)*3+(COLUMN(A1)-1),0) which works out as the same thing but less typing

  • @raghuv7114
    @raghuv7114 Před 5 lety

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

  • @eks007
    @eks007 Před 5 lety +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!

  • @graphguy
    @graphguy Před 4 lety

    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.

  • @lijikumarbalan6038
    @lijikumarbalan6038 Před 2 lety

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

  • @mattias5063
    @mattias5063 Před 5 lety +3

    As always with your examples and tutorials; straight to the point in an easy to understand way and quite simply (no doubt) the best solution. As I´ve said before, never a dull moment watching your tutorials. You rock! :)

  • @TheNabob57
    @TheNabob57 Před 4 lety

    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 Před 4 lety

      Oh. and I will use YOUR initials too :)

  • @walieast7896
    @walieast7896 Před 4 lety

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

  • @cheriesmewengkang7004
    @cheriesmewengkang7004 Před 5 lety

    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  Před 5 lety

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

  • @christoskyriacou7036
    @christoskyriacou7036 Před 2 lety

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

  • @Fitimth
    @Fitimth Před 2 lety

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

  • @jamieeru3519
    @jamieeru3519 Před 2 lety

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

  • @Boudico
    @Boudico Před 5 lety

    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!

  • @joep9617
    @joep9617 Před 5 lety

    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  Před 5 lety

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

  • @niuean22kid
    @niuean22kid Před 5 lety +3

    Amazing ! I would normally just use power query but this is even quicker

  • @mozgus79ify
    @mozgus79ify Před 5 lety +1

    So simple. Thank you.
    I love Excel, but after watching your videos i love it even more.

  • @glennvd7622
    @glennvd7622 Před 2 lety

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

  • @musicsang4882
    @musicsang4882 Před 6 měsíci

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

  • @juliejoseph2486
    @juliejoseph2486 Před 2 lety

    Girl, you rock. Thanks for all you do.

  • @tombic6373
    @tombic6373 Před 3 měsíci

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

  • @solomongebremariam427
    @solomongebremariam427 Před 2 lety

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

  • @babaktftf8925
    @babaktftf8925 Před 4 lety

    Thank you dear Leila, it's so simple

  • @yousifmohammed4841
    @yousifmohammed4841 Před 5 lety

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

  • @timotiusriady6298
    @timotiusriady6298 Před 3 lety

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

  • @rymabenhimi1589
    @rymabenhimi1589 Před rokem

    Your channel is a life saver!

  • @marwandeen
    @marwandeen Před 5 lety

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

  • @ramamohanpathapati7694

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

  • @deepbhatta1743
    @deepbhatta1743 Před 3 lety

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

  • @shubhsjbp
    @shubhsjbp Před 5 lety

    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  Před 5 lety

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

  • @tawhidulislam3440
    @tawhidulislam3440 Před 5 lety

    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  Před 5 lety

      I'm happy to hear the tutorials are helpful!

  • @vetman98
    @vetman98 Před rokem +1

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

  • @superhiway
    @superhiway Před 2 lety

    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.!!

  • @sarfarajkureshi6569
    @sarfarajkureshi6569 Před 5 lety

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

  • @shadrackawunyo7786
    @shadrackawunyo7786 Před 5 lety

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

  • @leroyguillot481
    @leroyguillot481 Před 5 lety

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

  • @1gopalakrishnarao
    @1gopalakrishnarao Před 5 lety

    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  Před 5 lety

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

  • @TamraShorts
    @TamraShorts Před 5 lety

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

  • @fenderdaw
    @fenderdaw Před 6 měsíci

    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!

  • @basilyang3862
    @basilyang3862 Před 4 lety

    Genius! Thanks for all your excel help

  • @ToddBeck
    @ToddBeck Před 2 měsíci

    Brilliant. Saved me a ton of time.

  • @LobanRahman
    @LobanRahman Před 5 lety +2

    Love your hacks. Love your instructional style!

  • @rathinagirisubbiah79
    @rathinagirisubbiah79 Před 5 lety

    Wow! This is the first video I have seen recently where there are no dislikes. Kudos.

    • @LeilaGharani
      @LeilaGharani  Před 5 lety

      Thank you! The dislikes have arrived. Not everyone likes the lazy approach :)

  • @qblakesnappit
    @qblakesnappit Před 4 lety

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

  • @96seya
    @96seya Před 9 měsíci

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

  • @davidbinder8360
    @davidbinder8360 Před 5 lety

    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  Před 5 lety

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

  • @lpanades
    @lpanades Před 4 měsíci

    Really brilliant, like said before. Astonished.

  • @jamesdemaio5234
    @jamesdemaio5234 Před 4 lety

    I stumbled across your CZcams 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  Před 4 lety

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

  • @DavidPerez-bf4cp
    @DavidPerez-bf4cp Před 3 lety

    i've been trying to figure this out for the last 2 days to solve a problem i had and boom! thank you

  • @waynejensen7689
    @waynejensen7689 Před 4 lety

    Simply BRILLIANT!

  • @gaultztaguinod9289
    @gaultztaguinod9289 Před 4 lety

    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  Před 4 lety

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

  • @iestynjones5796
    @iestynjones5796 Před 4 lety

    Simply brilliant. Thank you.

  • @rasoulkhoshravan5912
    @rasoulkhoshravan5912 Před 4 lety

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

  • @aperkinsvt
    @aperkinsvt Před 5 lety

    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  Před 5 lety

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

  • @diegovinicius1987
    @diegovinicius1987 Před 5 lety

    This is ridiculously easy and useful. Best video I have seen in CZcams

  • @nanookdan
    @nanookdan Před 5 lety

    Sorcery!!! You continue to amaze Leila!

  • @MelMario
    @MelMario Před 9 měsíci

    Genius. Yet so simple.

  • @ranjanadissanayaka5390
    @ranjanadissanayaka5390 Před 3 lety +1

    That's extremely useful... I thank you

  • @edmundobiglia1238
    @edmundobiglia1238 Před 4 lety

    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 Před 4 lety

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

  • @hudsville
    @hudsville Před měsícem

    This was great! Thanks so much.

  • @heather7461
    @heather7461 Před 3 lety

    Wow this is mind-blowing ! Thank you so much

  • @ZeratulX
    @ZeratulX Před 4 lety

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

  • @ABG_7
    @ABG_7 Před 2 lety

    This is brilliant. Helped me just now, thanks a bunch :)

  • @mlflanker
    @mlflanker Před 3 lety

    Wooow! How simple and how Fan-tas-tic! at the same time! Amazing job!

  • @russellhare2881
    @russellhare2881 Před 2 lety

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

  • @stevenarias717
    @stevenarias717 Před 3 lety

    One of the best shortcuts I have seen!

  • @zakaralli
    @zakaralli Před 5 lety

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

  • @ramya3928
    @ramya3928 Před 5 lety +1

    Perfect! Thanks daily I come across this kind of separation and since I am unaware I was doing all these days manually or via other formula..

  • @angus68655
    @angus68655 Před 4 lety

    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.

  • @mireillecantrell4638
    @mireillecantrell4638 Před 4 lety

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

  • @mahmoudbasheti3551
    @mahmoudbasheti3551 Před 5 lety

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

  • @joshuamanampiu6489
    @joshuamanampiu6489 Před 5 lety +1

    Extremely useful. I actually had a database like this and I had no clue on how to proceed.

  • @willlewis5011
    @willlewis5011 Před 2 lety

    This is the best video ever, thank you so much

  • @mohammadashiq9996
    @mohammadashiq9996 Před 4 lety

    thank you leila like this simple method .

  • @karimarafa
    @karimarafa Před 5 lety

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

    • @LeilaGharani
      @LeilaGharani  Před 5 lety

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

  • @MalinaC
    @MalinaC Před 5 lety

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

  • @SuckMyGreasyPrick
    @SuckMyGreasyPrick Před 5 lety

    Very good trick.
    I actually have to unstack a large amount of data that looks exactly like this on a regular basis.
    I created a simple piece of vba code in order to do it, however on large data sets it takes a about 10 seconds to complete.
    Using this nice and easy formula method would take no time at all!! That's for the video

    • @LeilaGharani
      @LeilaGharani  Před 5 lety

      That's great! I'm glad you can make use of this :)

  • @TRX2015
    @TRX2015 Před 5 lety +1

    Now why didn’t I think of that! Thank you Leila! Loving this channel.

  • @rameshm1145
    @rameshm1145 Před 2 lety

    So Easy to follow all your course

  • @IRanOutOfPhrases
    @IRanOutOfPhrases Před 2 lety

    Ah of course! Thanks!
    I actually needed to do the opposite, go from multiple to one column. Can just do this trick in one column, and seems to work pretty well :)