


Detailed steps for creating a three-level linkage drop-down menu in Excel
How to create a complete three-level linkage drop-down menu in Excel? PHP editor Xiaoxin brings detailed steps! This article will provide an in-depth introduction on how to use Excel's INDIRECT function, OFFSET function, and COUNTIF function to seamlessly connect three levels of data to realize an interactive and dynamic three-level linkage drop-down menu, helping you effectively manage complex multi-level data structures.
1. Prepare data
First write all levels of menus and their contents in Execl for later use
2. Create a single-level drop-down menu
Press ctrl F3 to open the [Name Manager], create a new field named [Project Type]
Click the [Table Icon] to the right of [Reference Location], Select the value in the [Project Type] field (equivalent to the selection item in the menu), and then [OK]
If you want to create a drop-down menu in the cell in column C, row 3, Then first select the cell in row 3 of column C
Open [Data]->[Data Validity], in Excel2010 it is [Data]->[Data Validation]
Select [Allow] value as [Sequence], [Source] value as [=Project Type], and then [OK]. At this time, [Source] refers to the file named just created. The value corresponding to the field of [Project Type].
Click on the cell in column C, row 3, and a drop-down arrow will appear. The options include [Tower Project] and [Room Classification Project] included in the [Project Type] field. , the single-level drop-down menu is now created
3. Multi-level drop-down menu
Create a drop-down menu that links the project type and the construction method. The above has been created [Project Type] drop-down menu, there are two options in the project type: [Tower Project] and [Room Classification Project]. Different project types have different construction methods. Below we create names named [Tower Project] and [Room Classification Project] 】The field
created the [Project Type] drop-down menu in the cell in column C, row 3. In order to achieve the linkage effect, we created the [project type] in the cell in column D, row 3. Construction method] drop-down menu, first select the cell in row 3 of column D, then turn on data validity, and set the value as shown below:
Note: The [source] value here is [ =INDIRECT($C3)], indicating that the value in the [Construction Method] drop-down menu is the value corresponding to the [Field] with the same name as the value in the [C3] cell
Key points of menu linkage: The [domain name] of the second-level menu should correspond one-to-one with the selection items in the first-level menu, so that when the first-level menu selects a different selection, the second-level menu will look for the [domain name] with the same name. Field], and assign the value in [Field] to the drop-down menu. The third-level menu linkage is the same as the second-level menu linkage
4. Multi-line and multi-level menu linkage
To achieve multi-line and multi-level menu linkage, first create a multi-line multi-level menu linkage Level menu linkage, and then drag down to achieve multi-line and multi-level menu linkage.
Note:
In order to achieve multi-line and multi-level menu linkage, there is one thing to pay attention to when setting the source of sub-levels (secondary, third-level...), the second-level drop-down menu The value in [Construction Method] (cell D3) changes according to the change of the first-level drop-down menu [Project Type] (C3). The source must be written as [=INDIRECT($C3)]. If cell E3 creates a third-level For drop-down menus, the source of E3 should be written as [=INDIRECT($D3)], so that three-level drop-down menu linkage can be achieved. If the source is written as [=INDIRECT($C$3)], multi-line and multi-level menu linkage cannot be achieved when dragging down in Excel.
The above is the detailed content of Detailed steps for creating a three-level linkage drop-down menu in Excel. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Ditch the Calculator: Why and How to Use Excel for All Your Calculations I haven't touched a calculator in ages. Why? Because Microsoft Excel handles all my calculations with ease, and it can do the same for you. Why Excel Trumps a Calculator While

Excel web version features enhancements to improve efficiency! While Excel desktop version is more powerful, the web version has also been significantly improved over the past year. This article will focus on five key improvements: Easily insert rows and columns: In Excel web, just hover over the row or column header and click the " " sign that appears to insert a new row or column. There is no need to use the confusing right-click menu "insert" function anymore. This method is faster, and newly inserted rows or columns inherit the format of adjacent cells. Export as CSV files: Excel now supports exporting worksheets as CSV files for easy data transfer and compatibility with other software. Click "File" > "Export"

Creating tables in Word, although improved, is still cumbersome and sometimes brings more problems. This is why you should always create tables in Microsoft Excel. Why is it better to create tables in Excel? In short, Word is a word processor, while Excel is a data processor. So Word is not built for the best table creation, but its similar product, Excel. Here are just some of the reasons why creating tables in Excel is better than using Microsoft Word: Although it is surprising that you can use many Excel-like features in Microsoft Word tables, in Excel you

Enhance Your Excel Charts: Reducing Gaps Between Bars and Columns Presenting data visually in charts significantly improves spreadsheet readability. Excel excels at chart creation, but its extensive menus can obscure simple yet powerful features, suc

Quick View of AVERAGEIF and AVERAGEIFS Functions in Excel Excel's AVERAGEIF and AVERAGEIFS functions can be used to calculate the average value of a dataset. However, unlike simpler AVERAGE functions, they are able to include or exclude specific values in the calculation. How to use the AVERAGEIF function in Excel Excel's AVERAGEIF function allows you to calculate the average value of a filtered dataset based on a single condition set. AVERAGEIF function syntax The AVERAGEIF function contains three parameters: =AVERAGEIF(x,y,z)

Excel's LAMBDA Functions: An easy guide to creating custom functions Before Excel introduced the LAMBDA function, creating a custom function requires VBA or macro. Now, with LAMBDA, you can easily implement it using the familiar Excel syntax. This guide will guide you step by step how to use the LAMBDA function. It is recommended that you read the parts of this guide in order, first understand the grammar and simple examples, and then learn practical applications. The LAMBDA function is available for Microsoft 365 (Windows and Mac), Excel 2024 (Windows and Mac), and Excel for the web. E

Master Microsoft Excel with these essential keyboard shortcuts! This cheat sheet provides quick access to the most frequently used commands, saving you valuable time and effort. It covers essential key combinations, Paste Special functions, workboo

Quick Links Why Use the Camera Tool?
