Members-only tutorial
Watch the video and get the practice sheet with membership.
About this Tutorial
Sheet Resources
Featured Formulas
Video Transcript
<div>0:01 Hello. So Anika a member of better sheets asked this question.
She asks, uh, so she has a cell, this D one, in which it says, for instance, another array or a row or column in this case, a column, a on sheet one where Learn how to filter data using the query where clause effectively. Opens in new tab we're on and she's referencing that from another cell.<br>0:23 She's trying to sort Discover techniques to sort your data in Google Sheets. Opens in new tab that, but when she sorts D one, uh, what she assumes is going to happen is that if indie one is written sheet one, a colon, a, uh, correct array or reference Understand how to reference cells and ranges in your formulas. Opens in new tab to another set of cells Get insights on how to work with cells in Google Sheets. Opens in new tab that Google sheets would be smart enough to know that this D one is not necessarily what she wants to sort Discover techniques to sort your data in Google Sheets. Opens in new tab , but rather she wants to sort Discover techniques to sort your data in Google Sheets. Opens in new tab in D one, but Google sheets is not that smart.<br>0:51 Google sheets is doing exactly what we are writing here, which is saying sort Discover techniques to sort your data in Google Sheets. Opens in new tab D one, uh, sorted by the first column, the only column that exists and sorted true ascending from a to Z Find out how to sort your data from A to Z effortlessly. Opens in new tab .<br>1:05 And it's looking at D one and saying, or sorting that, and there it is, she wasn't, <inaudible> the text, but that's not what we want to do now.<br>1:14 What saves us and what comes to the rescue is a formula called indirect.
So if we literally just wrap Learn how to wrap text in cells for better readability. Opens in new tab indirect Explore the indirect function to reference cells dynamically. Opens in new tab around the one, now we have what we wanted done, which is it is sorting this a column from a to Z Find out how to sort your data from A to Z effortlessly. Opens in new tab .<br>1:34 Now this might sound really weird, right? Like, why would you ever, why, why would you do this? Right? And I'll give you some examples.<br>1:43 Like the question is, why would I ever do that? Well, first off, we've answered a Nika question, right? Just wrap Learn how to wrap text in cells for better readability. Opens in new tab it in indirect Explore the indirect function to reference cells dynamically. Opens in new tab .<br>1:52 But then you might be asking what, like, why would you ever do this?
So we say, what if it was indirect Explore the indirect function to reference cells dynamically. Opens in new tab ?<br>2:01 So, so why would you not just do this sheet one exclamation point a colony. You're getting the exact same issue without what you're getting the exact same result without having to do this <inaudible> stuff, right?<br>2:18 We don't have to reference Understand how to reference cells and ranges in your formulas. Opens in new tab another cell with it written in, but there are a few reasons you might want to do this.<br>2:24 Say, this is not, maybe this is not vertical. Maybe this is horizontal.
Maybe this house, so has a transpose in here right now, we're taking this list, sorting it to the right.<br>2:39 And we want sheet one eight to, we want B to B here. We want sheet one C to C. And if we copy paste this right, we are not getting, we have to go in here and do exactly the sheet, but we wrote it all here already.<br>2:57 So we could actually just do this. We can go here, wrap Learn how to wrap text in cells for better readability. Opens in new tab this around in direct. And I think we have to add one more print Learn how to convert your Google Sheets to PDF format. Opens in new tab .<br>3:08 You know, we don't now copy and paste this and we are perfectly fine right now.
This might be on a different sheet, right?<br>3:17 We might add another sheet here. And now we can say in the first column, second column, third column. And we, all we have to do is write this.<br>3:26 So maybe we have a programmatic way to write this, or it's not just an entire, um, right. Or maybe the name of the sheet changes.<br>3:36 We want to change that for a variety of reasons. We want to have an indirect Explore the indirect function to reference cells dynamically. Opens in new tab thing.
We want to make sure that we can edit it as text.<br>3:46 There's a few other reasons let's go back to here where Learn how to filter data using the query where clause effectively. Opens in new tab we have just one and we have this sort Discover techniques to sort your data in Google Sheets. Opens in new tab of result.<br>3:54 And we're saying here, well, what if we want to select Understand the query select clause for data retrieval. Opens in new tab it? Maybe we have this in a dropdown Discover how to validate data entries in your sheets. Opens in new tab menu, a few more cells Get insights on how to work with cells in Google Sheets. Opens in new tab , data validation Create dropdown menus to streamline data entry in your sheets. Opens in new tab .<br>4:04 We go list of items Learn how to create a list of items for data validation. Opens in new tab , sheet one, a colon, a sheet, one B to B, move my face, click, save my face back.<br>4:17 Now, as we select Understand the query select clause for data retrieval. Opens in new tab this drop down menu, our results are changing. That's pretty cool.
We can also maybe add another one here for true and false.<br>4:29 We're going to list of items Learn how to create a list of items for data validation. Opens in new tab . True. False save. It's like true. And instead of this part saying true, yes, we're doing ascending.<br>4:41 Maybe we want it descending or, well, we want to choose. Right. And in this case, we're going to do D two.<br>4:47 So now we can switch Explore the switch function to simplify multiple conditions. Opens in new tab the sort Discover techniques to sort your data in Google Sheets. Opens in new tab isn't that cool. So now we have the ability to switch Explore the switch function to simplify multiple conditions. Opens in new tab . What are we sorting?<br>4:56 Then we have the ability to switch Explore the switch function to simplify multiple conditions. Opens in new tab . What, how is it sorting now that that's cool.
So now we have two things where Learn how to filter data using the query where clause effectively. Opens in new tab we must use that indirect Explore the indirect function to reference cells dynamically. Opens in new tab when referencing another cell that has the cell written or an array inside of that cell.<br>5:11 Um, we can, this is really cool. This allows us to do some pretty cool things in our Google sheets. Thanks so much for a Nika ask.<br>5:20 If you are looking, uh, for other questions, if you have a question and you want to ask just like a Nica, did I do have a video called how to ask or how to ask questions, how you can help just a search through the better sheets.co for how to ask.</div>
Topics