Members-only tutorial

Watch the video and get the practice sheet with membership.

See membership options

How To Select an Image based on Text in a Dropdown Menu

About this Tutorial

This video is a tutorial on how to create a dynamic weekly planner in Google Sheets with drop-down menus that change images based on selections. Here are three key takeaways:

Avoid Hidden Rows/Columns for Clarity

The speaker advises against using hidden rows or columns in Google Sheets. They suggest that this practice often leads to confusion and inefficiency, especially when sharing sheets with others. As an alternative, they recommend placing such data on a separate sheet.

Dynamic Dropdown Lists and Image Insertion

The tutorial demonstrates how to create dropdown lists where selecting a subject (e.g., English, Math, Study) changes the image displayed in another cell. This is achieved through data validation for dropdowns and using VLOOKUP or INDEX MATCH functions to link the chosen subject to its corresponding image.

Flexibility and Ease of Updates

The approach shown allows for easy updates and additions to the planner. For instance, adding new subjects or changing images is straightforward. The speaker emphasizes the versatility of the INDEX MATCH function over VLOOKUP, as it offers more control and adaptability, particularly when rearranging data.

The video also touches on the specifics of resizing rows for better image visibility, the importance of unique identifiers for dropdown options, and the benefits of expanding dropdown lists for future additions.






Featured Formulas

Video Transcript

<div>00:01 Hello. Welcome. Today's question comes from the Facebook group Learn how to group data effectively in Google Sheets. Opens in new tab . I love Google sheets, which is run by me and better sheets.co.<br>00:10 Uh, you can join. I love Google sheets for free it's facebook.com/groups/i love Google sheets, no spaces, nothing. Uh, just join and you can either share Discover how to share your Google Sheets with others. Opens in new tab sheets you're working on or questions like these.<br>00:28 Get your answer. So what Elizabeth is doing here is, um, she was wondering, she's got a drop down list of, I guess, subjects.<br>00:39 And she's trying to create a little schedule inside of Google sheets.

And once, once you select Understand the query select clause for data retrieval. Opens in new tab the prop, the class show an image Find out how to insert and manage images in Google Sheets. Opens in new tab .<br>00:48 So here she says, uh, in B two is a dropdown Explore data validation techniques for dropdowns. Opens in new tab menu English. And in B3, she wants the contents of eight, 12.<br>00:58 So there's a couple of things going on here.

Um, one is she's using the hidden row Learn the implications of using hidden rows in your sheets. Opens in new tab , which I strongly recommend not to do, uh, hidden rows Understand the challenges of managing hidden rows. Opens in new tab and hidden columns Discover the issues related to hidden columns. Opens in new tab are a little bit of a pet peeve of mine because of this every single time that you hide Get tips on formatting your Google Sheets for better readability. Opens in new tab a row or hide Get tips on formatting your Google Sheets for better readability. Opens in new tab a column, you cannot note Learn how to add notes to your cells for better context. Opens in new tab what is hidden Get tips on formatting your Google Sheets for better readability. Opens in new tab , nor will anyone else know what is hidden Get tips on formatting your Google Sheets for better readability. Opens in new tab .<br>01:22 So if you share that sheet with someone, the very first thing they'll do is they'll see that there's a hidden row or a hidden column and unhide it and then see what's there and then hide it again.<br>01:31 Cause they're like, oh, I need to hide this or they won't remember to hide it.

So what I always recommend is if you ever find yourself needing to hide rows Find out how to hide rows effectively in Google Sheets. Opens in new tab or hide columns Understand how to hide columns and when to use this feature. Opens in new tab , you probably want to put that information on another sheet.<br>01:45 Now, the fact that Google sheets has the ability to hide columns Understand how to hide columns and when to use this feature. Opens in new tab in Hydro's is totally okay. I, I, I imagine there are use cases for it, but 100% of the time that I've ever seen a hidden row Learn the implications of using hidden rows in your sheets. Opens in new tab or a hidden column Explore the impact of hidden columns on data visibility. Opens in new tab might unhide Get tips on formatting your Google Sheets for better readability. Opens in new tab it.<br>01:59 I look at it, then I hide Get tips on formatting your Google Sheets for better readability. Opens in new tab it again and it's complete waste of time. Uh, what you can do is take that information, put it on a separate tab or a separate sheet.<br>02:08 And so we'll do that.

Uh, first we'll also as one of the parts of this answer. Um, but first I'm going to go through the dropdown Explore data validation techniques for dropdowns. Opens in new tab , which she actually got the dropdown Explore data validation techniques for dropdowns. Opens in new tab done.<br>02:18 Um, but I just want to show in this answer, that one way to do a dropdown Explore data validation techniques for dropdowns. Opens in new tab is to do a range Learn about selecting ranges in Google Sheets for various functions. Opens in new tab of cells Get to know how to manipulate cells in your spreadsheets. Opens in new tab and that's what we're going to do so we can make it, uh, easy to do.<br>02:31 All right, let's do a dropdown Explore data validation techniques for dropdowns. Opens in new tab .

So I only saw in her question English, I'm going to make up a, some other, um, some other subjects here, but what I'm going to do is I'm actually going to make this list of potential subjects on a separate page.<br>02:46 I did call it images, but you'll see why in a second. So I have English study, um, and math we'll we'll do those.<br>02:55 So there might be a study session in English session in our math session, we're going to go back to our first sheet.<br>03:01 We're going to right. Click view more cell actions, data validation Master the creation and use of dropdown menus in Google Sheets. Opens in new tab list from a range Learn about selecting ranges in Google Sheets for various functions. Opens in new tab .

Now this is what comes up normally.<br>03:09 And I use this a lot. We'll just select Understand the query select clause for data retrieval. Opens in new tab the range Learn about selecting ranges in Google Sheets for various functions. Opens in new tab manually. Uh, I'm going to include some extra column, uh, rows here, because I want to make sure if you ever want to add any, uh, subjects, you can easily do that.<br>03:24 You don't have to go back and redo Understand how to redo actions in Google Sheets. Opens in new tab this range Learn about selecting ranges in Google Sheets for various functions. Opens in new tab right here. We'll add some more. If we probably don't have more than 10 subjects.<br>03:30 And so now we have English available. We also have study and we can then copy and paste this to Tuesday and Wednesday.<br>03:39 Now the next thing is we need to put in B3 here, an image Find out how to insert and manage images in Google Sheets. Opens in new tab .

Now, what image Find out how to insert and manage images in Google Sheets. Opens in new tab are we going to do?<br>03:45 I'm going to go and I'm going to grab, uh, a few images and I'm going to insert them into the cell.<br>03:51 So I will insert here image in cell Discover how to insert images directly into cells. Opens in new tab . I'm going to upload, uh, I'm going to pause the video. I'm going to upload some actually, no, we won't even do that.<br>04:03 We'll do, we'll just find them here, but I will pause the video cause it might take awhile. Okay. So I found some Google search image Find out how to insert and manage images in Google Sheets. Opens in new tab results here from images.<br>04:13 I can't really tell what these images are. So here's one way to do that, to make that better.

So we're going to resize these rows.<br>04:23 Actually. I think we need to elect the row. So I'm going to select Understand the query select clause for data retrieval. Opens in new tab the entire row Learn about selecting and managing entire rows in your sheets. Opens in new tab and resize rows. We're going to resize it to 63 times as much so we can see the image Find out how to insert and manage images in Google Sheets. Opens in new tab a little bit better.<br>04:36 And the text is in column a, the images in column B. We're going to go back to our sheet one.<br>04:43 And in this B3, we're going to do V lookup search key Understand the concept of search keys in data functions. Opens in new tab is going to be B2. So we're going to just click there.<br>04:52 Our range Learn about selecting ranges in Google Sheets for various functions. Opens in new tab that we're looking in is images, uh, sheet or the tab images, exclamation point.

And we're looking in a colon B, we want the range Learn about selecting ranges in Google Sheets for various functions. Opens in new tab of both of those columns in the images sheet.<br>05:06 Now the index Explore how to use index functions in Google Sheets. Opens in new tab is going to be two because we want to get the second column. And is it sorted? I always put false here and now we have an image Find out how to insert and manage images in Google Sheets. Opens in new tab .<br>05:18 And again, we just need to go to three, five and seven, and we're going to increase the size of this.<br>05:24 And then when we have an image Find out how to insert and manage images in Google Sheets. Opens in new tab , we can then take this entire, uh, cell command, see, copy and paste it in.<br>05:34 &lt;inaudible&gt;. Now the only thing that changes is the before and here in B seven, I'm going to paste it again.

And the B6 see that B6 changes to show that it's this column or sorry, this cell.<br>05:48 So if we do study the image Find out how to insert and manage images in Google Sheets. Opens in new tab changes. If we do math, the image Find out how to insert and manage images in Google Sheets. Opens in new tab changes.

And now we have a pretty cool weekly planner with images based on the dropdown Explore data validation techniques for dropdowns. Opens in new tab selection Learn about making selections in Google Sheets. Opens in new tab that we have.<br>06:02 One roadblock you might get into, or one challenge you might end up with is if you insert cell, uh, insert the image Find out how to insert and manage images in Google Sheets. Opens in new tab over the cell, you won't be able to address that B one on this sheet or on images is an image Find out how to insert and manage images in Google Sheets. Opens in new tab and it won't transfer over.<br>06:18 If you want to replace the image Find out how to insert and manage images in Google Sheets. Opens in new tab , say like this math one doesn't do well, right? Like we can't really tell, or this study one, we want to replace.<br>06:28 Uh, we can go to this cell.

We were going to insert image Find out how to insert images into your Google Sheets. Opens in new tab , image Find out how to insert and manage images in Google Sheets. Opens in new tab and cell let's pick another Google image Find out how to insert and manage images in Google Sheets. Opens in new tab , search English class.<br>06:41 Maybe we want a happy person. And now let's go back to our sheet one and see that updated. Not cool.<br>06:55 So we can replace these images as we need to. If we want to add more, uh, subjects, maybe we want science.<br>07:04 If we spell science correctly, we can do science and let's insert an image Find out how to insert and manage images in Google Sheets. Opens in new tab again. Let's look for a science class.<br>07:20 Yeah, this is good. Just double click on that.

You're going to increase the size of this so we can see it.<br>07:28 Now, go back to our sheet and say, we want to add a Thursday. And we have science here and our drop down already.<br>07:37 All we have to do is copy and paste this cell. And we have the science image Find out how to insert and manage images in Google Sheets. Opens in new tab . And if we say, oh, we don't want English first.<br>07:44 We want science first. There we go. We've got science and we have English. There we go.

Um, this is a possibility because our dropdowns, as we did before view more actions, data validation Master the creation and use of dropdown menus in Google Sheets. Opens in new tab list from a range Learn about selecting ranges in Google Sheets for various functions. Opens in new tab , because we did to 10, we can also do just the entire row Learn about selecting and managing entire rows in your sheets. Opens in new tab .<br>08:07 We can even just take the numbers out and say images eight to eight, save that. And we can paste this, um, data validation Master the creation and use of dropdown menus in Google Sheets. Opens in new tab .<br>08:19 And now, no matter where Understand the query where clause for filtering data. Opens in new tab we are on the sheet, we should be able to add another thing. So math to see if that happens.<br>08:29 There we go. Math too.

So we might have up to a thousand or 10,000 subjects, maybe, uh, you might be able to rename them.<br>08:37 One thing that might happen though, is if you have the same name science and science, and let's say, we have this image Find out how to insert and manage images in Google Sheets. Opens in new tab as well there for science and you put in science and you're like, oh, science looked good.<br>08:51 It didn't add another science because what data validation Master the creation and use of dropdown menus in Google Sheets. Opens in new tab is doing is looking at the amount of options and picking out it's unique Learn how to find unique values in your data sets. Opens in new tab .<br>09:01 So it's you looking at the unique Learn how to find unique values in your data sets. Opens in new tab ones that exist?

So we cannot add science, science, science, and have five different photos and select Understand the query select clause for data retrieval. Opens in new tab the photo.<br>09:09 We need to assign this a completely different name, science, two science, three biology. And now we can select Understand the query select clause for data retrieval. Opens in new tab that out of the data validation Master the creation and use of dropdown menus in Google Sheets. Opens in new tab on our drop down menu.<br>09:23 Now it shows up. So those are some issues you might run into with this solution. Um, also make sure that the, uh, formula Get familiar with the syntax used in Google Sheets functions. Opens in new tab here B look up, it always uses the first, uh, column as its index Explore how to use index functions in Google Sheets. Opens in new tab , basically index Explore how to use index functions in Google Sheets. Opens in new tab one.<br>09:43 It always, or it always uses that as the left unique Learn how to find unique values in your data sets. Opens in new tab options.

So, um, images a to B, we can also do index match Discover the power of index-match for advanced lookups. Opens in new tab .<br>09:54 Let me try to show you that real quick. Here. We can do that as well. There's another option index Explore how to use index functions in Google Sheets. Opens in new tab . We want, uh, images, B2B comma, and we want to match Learn how to use the match function for data comparison. Opens in new tab the search.<br>10:09 Key will be this, uh, drop down menu. The same thing we're doing is we're looking at the V lookup keep, and what are we matching?<br>10:17 We're matching images, a colon, a our search type here is zero in parentheses. And we get the same exact thing.<br>10:30 We can select Understand the query select clause for data retrieval. Opens in new tab image Find out how to insert and manage images in Google Sheets. Opens in new tab English. We can select Understand the query select clause for data retrieval. Opens in new tab study and it changes that. So also index match Discover the power of index-match for advanced lookups. Opens in new tab .

I like a lot more because you have a little bit more control over it.<br>10:39 You can actually change this. So you have images first. Let's do that. Let's just make the images first. And the text.<br>10:50 Second, all of the V lookup will be broken and you can not use a V lookup, but index match Discover the power of index-match for advanced lookups. Opens in new tab actually met.<br>10:57 Once you said it actually magically changes. Um, so you can move this stuff around and you can still use index match Discover the power of index-match for advanced lookups. Opens in new tab for these as well.<br>11:09 So we can change this to let's say English. There we go. So index match Discover the power of index-match for advanced lookups. Opens in new tab . I like a lot more.

I hope you got a lot out of this video from, uh, I love Google sheets.<br>11:19 If you want to join, feel free to join our Facebook group Learn how to group data effectively in Google Sheets. Opens in new tab . I love Google sheets. Thanks.</div>