Members-only tutorial
Watch the video and get the practice sheet with membership.
About this Tutorial
Video Transcript
<div>0:00 Hey, better sheet members, just a really quick video, because I discovered something new today that I had been doing a different way, uh, which is how to turn many columns into one column.<br>0:12 I've found a new way to do this. And I think it's pretty fun.
Um, but that does take a little bit of explaining.<br>0:18 So how I explained it before and in another video here on vendor sheets is basically, we're trying to get all of these numbers into the order that they are in, but, you know, generally speaking, you might have some data Learn how to manage and manipulate your data effectively in Google Sheets. Opens in new tab in different columns and you need to move that into one column.<br>0:36 So you see here, 1, 2, 3, 4, 5, 6, 7, 8, 9, uh, let's just clean this up 11, 12, 13, 14, 15.
And, and that's the order we want it to go, but we want it to all be in one column.<br>0:48 So how I used to tell you to do this and which is the simplest sorta to show and explain is you do a three colon use this, um, curly bracket, which is sort Discover sorting techniques to organize your data in Google Sheets. Opens in new tab of like a Ray formula Understand the syntax rules for writing formulas in Google Sheets. Opens in new tab .<br>1:02 We do a three to eight, five with a colon in between. We use a semi-colon if you are in a non us, um, placing sometimes you'll have semi-colons in formulas and not Colin's then, uh, I think this might be different for you because this semi-colon is different than normal for US-based Google sheets.<br>1:24 All right.
And then we're going to do B three, colon B five, and let's just right now, take that and see what happens.<br>1:32 So see 1, 2, 3, 4, 5, 6, and we can go in and we can add with a semi-colon in between here C three, colon C five, and we get this right.<br>1:43 We, this is a pretty simple way, um, to get all of these columns, but you have to sort Discover sorting techniques to organize your data in Google Sheets. Opens in new tab of know, you know, that we want all of these columns, we need to know which columns we need.<br>1:55 Um, we can't really array this. Like, uh, let's see what happens when we do this. That's not the correct answer.<br>2:04 Right.
So we really have to use that trick of, of having the semi-colon in between them. Right. Um, we can't just do that simply.<br>2:13 This is the same thing as this. Okay. Well, I've just recently discovered flood and what flattened does, let's do a three to E 15.<br>2:23 We're going to get the wrong answer, but for the right reason. So one second. Oh sure. Not 15 five. Very well.<br>2:31 So flatten Find out how to use the FLATTEN function to combine data into a single column. Opens in new tab what it's doing, let's just look at it right here. So we want 1, 2, 3, 4, 5, 6. It goes 1, 4, 7.
So it's going 1, 4, 7, 10, 13.<br>2:42 So it's going to cross here and then across here, 2, 5, 8, 11, 14. Okay. So that's the that's how fun does we just need to add one more thing to fix this and right in the middle, what we're going to do, I'll do it right over here.<br>2:58 So you can see the difference flat. And then in the middle, we're going to do transpose, uh, a three same, uh, range Explore how to define ranges in your Google Sheets formulas. Opens in new tab , a three to five, and we're going to end it with two parentheses.<br>3:12 Let's see what happens now. Okay. We have only one.
We have 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, exactly the order we want. All right. Let's look at what happened.<br>3:24 There is an edge case. We start the leading numbers in the middle, right. Which is very, very common. Um, when we have some data Learn how to manage and manipulate your data effectively in Google Sheets. Opens in new tab , uh, we might not fill out everything we might have maybe copied and pasted from another, uh, program.<br>3:39 And that program didn't have any data validation Learn how to create dropdown menus for better data entry in Google Sheets. Opens in new tab . So like some people missed out. Um, let's just delete that. And so now you see a bunch of, um, blanks, right?<br>3:49 Empty rows. Okay. We're going to do one more thing.
Uh, and, and we'll fix this now. What am I about to say and what I'm, I'm going to read it off of another screen.<br>3:59 So don't think I've memorized this at all. I did not. Um, but what we're going to add is a query Get insights on SQL-style queries for advanced data manipulation. Opens in new tab around here.<br>4:05 Um, queries pretty robust. It does a lot of cool things. People find a lot of cool things to do with it.<br>4:12 And this is one of those cool things.
So we're going to have query Get insights on SQL-style queries for advanced data manipulation. Opens in new tab and we're going to say, oh, we're going to put the same thing, flan that we had before flat, and then transpose And pause.<br>4:24 And If you don't remember this, it can just go to the sheet in the description of this video. I have a link to the sheet, go and grab this and you can use it.<br>4:32 So we have transposed a three to E five. All right. So we have our normal, um, what we got here, but we have those planks, right?<br>4:42 So we just do comma. We do where Understand how to use the WHERE clause in queries to filter data. Opens in new tab , and this is where Understand how to use the WHERE clause in queries to filter data. Opens in new tab query Get insights on SQL-style queries for advanced data manipulation. Opens in new tab goes off the rails.
If you've never used it before column one, which is called C O L one call one call is column is not no.<br>4:57 So w what does it say in real language is where Understand how to use the WHERE clause in queries to filter data. Opens in new tab we get in th this is going to end up in one single column.<br>5:06 So that's column one and where Understand how to use the WHERE clause in queries to filter data. Opens in new tab column one is not, no, we want that information. If it's no meaning, there is nothing there.<br>5:13 We don't want it. So we're going to hit enter. And there we go. We got 1, 2, 3, 4, 5, 7, 8, 9. Right?
All of those blanks turned into nothing instead of a blink cell.<br>5:25 Um, this is pretty cool because if you don't even have to memorize this, right, just come to this sheet, I have put the, uh, link in the description from this sheet and grab this all you have to do to change that range Explore how to define ranges in your Google Sheets formulas. Opens in new tab .<br>5:39 Uh, you can come here, grab this formula Understand the syntax rules for writing formulas in Google Sheets. Opens in new tab .
It's query Get insights on SQL-style queries for advanced data manipulation. Opens in new tab flattened, transpose, and now you can take a bunch of different Columns and move them into one column.<br>5:50 Again, another Way to do that is, uh, This Array, the, um, query Get insights on SQL-style queries for advanced data manipulation. Opens in new tab , not query Get insights on SQL-style queries for advanced data manipulation. Opens in new tab the curly brackets, a three, uh, a five and check out what happens.<br>6:09 B three B five. All right. So in there, we don't have a blank. Actually. We might have like one second, let's see there, we have a blank.<br>6:20 So, right. So same thing here.
If you don't want to use the flatten Find out how to use the FLATTEN function to combine data into a single column. Opens in new tab transpose, let's just double-check that around this, uh, we can Do this where Understand how to use the WHERE clause in queries to filter data. Opens in new tab one is not, not, And it works the same way.<br>6:41 So you have your option. If you want to use the curly brackets, or if you want to use query Get insights on SQL-style queries for advanced data manipulation. Opens in new tab flattened, transport query Get insights on SQL-style queries for advanced data manipulation. Opens in new tab , curly record Learn about records and how they relate to data organization. Opens in new tab still works.<br>6:51 Go, thanks for watching.
And if you have a really interesting use case for it, if you've already used this, if you see it and like, oh, I need to use this right away.<br>7:00 And you have a really interesting use case, just, uh, leave a comment Discover how to leave comments in Google Sheets for collaboration. Opens in new tab in the description below for others so they can see, um, how to use this.<br>7:08 I think there's a really cool thing. I just discovered very recently, like.</div>
Topics