How to fill a list based on cell value in Excel (2023)

emMicrosoft Excel, sometimes we need to determine or find values ​​from a list based on certain criteria or conditions. It is not an impossible task to accomplish. In fact, we can easily do it using different methods. In this article, I will explain 6 smart waysFill a list based on cell value in Excel. I hope this is helpful if you are looking for an efficient way to do this.

Index to hide

download exercise book

6 Clever Ways to Populate a List Based on Cell Value in Excel

1. Autocomplete list based on cell value

2. Apply FILTER function to populate a list based on cell value

3. Use the INDIRECT function on the dependent dropdown list

4. Restrict changes to the first dropdown list

5. Adopt SINGLE function to populate a list based on cell value

(Video) How to use an excel dropdown list and vlookup to auto-populate cells based on a selection

6. Use array formula to populate list based on cell value

Diploma

more reading

download exercise book

Download this workbook to practice while reading this article.

Population list based on cell value.xlsx

6 Clever Ways to Populate a List Based on Cell Value in Excel

Among many other methods, here I will share 6 clever ways to populate a list based on cell value instanding outwith the help ofINDIRECTLY,SEERRO,INDEX,FIT,SE,FILTER,EXCLUSIVE,and some other functions. The methods are described in the next section.

How to fill a list based on cell value in Excel (1)

1. Autocomplete list based on cell value

Using a formula combined with theSEERRO,INDEX, miFITfunctions, we can automatically fill a list based on the cell value. Let's get into the details.

Steps:

  • First, create an organized data set. Here I created a dataset with players from different clubs. My goal is to autocomplete the player name with the club name.
  • To create the list of club names, select the cellC14and goes toDataAba.
  • Then clickvalidity dateLove.

How to fill a list based on cell value in Excel (2)

  • now chooseListoutsideTo allowunderIdeasAba.
  • Then set up the cells (ie.B4:D4) with the name of the club.
  • after that clickOK.

How to fill a list based on cell value in Excel (3)

(Video) How To Auto Populate Other Cells When Selecting Values In Excel Drop Down List

  • You can now select any club name from the list.

How to fill a list based on cell value in Excel (4)

  • Now select a cell where you want to have the names of the players and enter the following formula in this cell.

=IF.ERROR(INDEX($B$4:$D$12,LINE(B3:D12),MATCH($C$14,$B$4:$D$4.0)),"")

Formula Explanation

  • HereADJUSTED ($C$14, $B$4: $D$4.0) This part matches the club name entered with the registration and is considered an exact match only.
  • LINE (B3:D12) counts the line number of the record.
  • INDEX($B$4:$D$12,ROW(B3:D12),CORRESP($C$14,$B$4:$D$4.0)) is the part of the formula used to find matching player names. If no data is found in the specified record, it will be passed by#N/DError.
  • Span,SEERROis to deal with any kind of error.

How to fill a list based on cell value in Excel (5)

  • finally pressureFORBIDDENhave the names of the club's players defined.

How to fill a list based on cell value in Excel (6)

  • You can change the name of the club from the list in the cellC14and the player names will update automatically.

How to fill a list based on cell value in Excel (7)

2. Apply FILTER function to populate a list based on cell value

We can also use theseFILTERFunction to fill a list based on a cell value. See details in the section below.

Steps:

  • First create an associated data set. Here I have the name of the project along with the name of the person on that project. I want to find projects based on a person's name.
  • Enter a person's name in theC19
  • Now paste the following formulaC20to find projects related to that person's name.

=FILTRO(B5:B17, C19=C5:C17)

Formula Explanation

  • I amFILTERFunction,B5:B17is the area from which we extract the data.
  • C19give input name and compare with namespaceC5:C17.

How to fill a list based on cell value in Excel (8)

  • press nowFORBIDDENto get the desired output.

How to fill a list based on cell value in Excel (9)

3. Use the INDIRECT function on the dependent dropdown list

To create a bound dropdown based on a cell value, we can use theINDIRECTLYFunction. To do this, simply follow the steps below.

(Video) Dynamic Excel Table Inputs Based on Cell Value

Steps:

  • First, organize some lists. Here I created 4 lists.

How to fill a list based on cell value in Excel (10)

  • In the second step, name these lists. I named the cells belowshopping listcongroceries.

How to fill a list based on cell value in Excel (11)

  • I also nameddairy,Vegetables, mifruitfor the other three members of the column.

How to fill a list based on cell value in Excel (12)

  • Now select all the cells below thatkind of foodColumn to create a dropdown list in each selected cell with theshopping listTo share.
  • then go tovalidity dateoutsideData.

How to fill a list based on cell value in Excel (13)

  • now chooseListoutsideTo allowunderIdeasAba.
  • Enter the following formulaThoseand pressureOK.

= food

How to fill a list based on cell value in Excel (14)

  • Now, in the same way, create a dropdown menu in theArticleTo share.

How to fill a list based on cell value in Excel (15)

  • Here, paste the following formula inThose.

= INDIRECT(B14)

How to fill a list based on cell value in Excel (16)

  • A warning message is displayed. Pressmi.

How to fill a list based on cell value in Excel (17)

  • use nowfiller handleForautocompletarlist the remaining cells noArticlecolumns.

How to fill a list based on cell value in Excel (18)

  • Now select a typekind of foodand the associated options are displayed on theArticle.
  • To understand it easily, take a look at the followingGIF.

How to fill a list based on cell value in Excel (19)

Keep reading: Data validation autocomplete dropdown in Excel (2 methods)

4. Restrict changes to the first dropdown list

It is almost similar to the one mentioned inMethod 3. The difference, however, is that once you've selected a food type, you can't change it later. It will be restricted. See the section below for more details.

Steps:

  • Give the lists a specific name as mentioned inMethod 3.
  • Now select all the cells below thatkind of foodColumn to create a dropdown list in each selected cell with theshopping listTo share.
  • then go tovalidity dateoutsideData.

How to fill a list based on cell value in Excel (20)

(Video) Extract Data Based on a Drop Down List Selection in Excel | Filter Data With Drop Down List Excel

  • After that, paste the following formula in theThosesection and clickOK.

=IF(B14="",Food, INDIRECT("False Range"))

How to fill a list based on cell value in Excel (21)

  • A warning message is displayed. then pressMI.

How to fill a list based on cell value in Excel (22)

  • Now you can see that once you select a food type, you can't change it later. It will be blocked.

How to fill a list based on cell value in Excel (23)

Keep reading: How to autocomplete lists in Excel (4 easy ways)

5. Adopt SINGLE function to populate a list based on cell value

There is another clever way to populate a list based on cell value using theEXCLUSIVEfeature with the includedFILTERFunction. Let's get into the details.

Steps:

  • First, create a related record. Here I have a project name along with the name of the contributor to that project. I want to find the name of the project based on the name of the contributor.
  • Enter the name of an employee in theC25
  • Now paste the following formulaC26and pressureFORBIDDENto find the project related to this employee's name.

=UNIQUE(FILTER(B5:B23,C5:C23=C25))

How to fill a list based on cell value in Excel (24)

6. Use array formula to populate list based on cell value

We can also use an array in the combined formula to get a populated list. The defined array iterates through several functions and returns the satisfied ones. To do this, simply follow the steps below.

Steps:

  • Create an organized registry. I have a record of phone models with associated specifications. I want to populate a list based on tag names where I define tag names as an array.
  • Write the brand names on thebrandTo share.
  • Now paste the following formula in the cellC19and pressureFORBIDDENto find the corresponding information in the matrix.

= INDEX($B$5:$E$16, SMALL(IF(CONT. IF($B$19:$B$20,$C$5:$C$16), MATCH(LINE($B$5). : $E$16), LINE($B$5:$E$16)), ""), ZEILEN(C19:$C$19)), SPALTEN($B$4:B4))

How to fill a list based on cell value in Excel (25)

  • Now,autocompletarcomfiller handlehorizontally and vertically for other details.

How to fill a list based on cell value in Excel (26)

things to remember

common mistakeswhen they appear
#WERT!error inFILTERThe include argument must have dimensions compatible with the array argument, otherwiseFILTERreturn#WERT!
#N/D!ErrorIf the formula doesn't find any data from the data set, it will return this error. We must have the help ofSEERROFunction to handle this error.
list designationWhen naming the list, we cannot use spaces. If a name contains a space, we could use "_“.

Diploma

At the end of this article, I would like to add that I tried to explain 6 smart waysFill a list based on cell value in Excel. I would be very happy if this article could help all Excel users a little bit. If you have any further queries, please comment below. Visit our site for more articles on how to use Excel.

more reading

  • Use AutoComplete in Excel (4 easy ways)
  • How to Plot an Equation in Excel (6 Easy Ways)
  • Enable AutoComplete in Excel (3 Easy Ways)
  • How to Edit AutoComplete in Excel (4 Easy Methods)

Videos

1. Excel Magic Trick 400: Show List of Values In Cells After Using Data Validation Drop-Down
(ExcelIsFun)
2. Fill Blank Cells in Excel With Value from Above
(Contextures Inc.)
3. How To Auto Populate Text From A Drop-Down List Selection in MS Excel - Create Fillable Forms
(Sharon Smith)
4. Realistic Case: Dependent Drop-Down Lists in Excel with Multiple Words & Spaces in 1st List
(Leila Gharani)
5. Select All Cells with a Specific Value - Excel Trick
(Computergaga)
6. Excel Simple Dependent Drop down List based on numbers (Index without match)
(Leila Gharani)
Top Articles
Latest Posts
Article information

Author: Fr. Dewey Fisher

Last Updated: 03/21/2023

Views: 6521

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Fr. Dewey Fisher

Birthday: 1993-03-26

Address: 917 Hyun Views, Rogahnmouth, KY 91013-8827

Phone: +5938540192553

Job: Administration Developer

Hobby: Embroidery, Horseback riding, Juggling, Urban exploration, Skiing, Cycling, Handball

Introduction: My name is Fr. Dewey Fisher, I am a powerful, open, faithful, combative, spotless, faithful, fair person who loves writing and wants to share my knowledge and understanding with you.