Skip to main content

How to display default value based on anther cell in Excel?

Author: Sun Last Modified: 2020-11-19

Supposing there is a one-to-one correspondence between two lists in a worksheet, which means that choose one value from list 1, then its corresponding value in list 2 will be displayed automatically as below screenshot shown. How can you quickly solve this job in Excel?
doc default value by another cell dropdown list 1

Display default value based on another cell with VLOOKUP

Display default value based on another cell with dependent drop-down list


Display default value based on another cell with VLOOKUP

In Excel, you can use the VLOOKUP function to quickly show value based on the corresponding value.

Select a cell which will display the default value, type this formula

=VLOOKUP(D1,A1:B7,2,0)

D1 is the value you look up based on, A1:B7 is the data range you look for, 2 indicates to find the value in second column of the looking for range. Press Enter key, the value is displayed.
doc default value by another cell dropdown list 2


Display default value based on another cell with dependent drop-down list

If you want only the default value can be displayed while its corresponding value is selected, you can create a dependent drop-down list to handle it.
doc default value by another cell dropdown list 3

1. Give a name to the list which you want to display value based on.
doc default value by another cell dropdown list 4

2. Name the default value with its corresponding value one by one.
doc default value by another cell dropdown list 5

3. Now select a cell such as D1, click Data > Data Validation > Data Validation.
doc default value by another cell dropdown list 6

4. In the Data Validation dialog, under Settings tab, choose List from Allow section, then type =Country in the Source textbox, Country is the name you give to the list you based on in step 1.
doc default value by another cell dropdown list 7

5. Click OK. Then go to E1, the cell you will place the default value, click Data > Data Validation > Data Validation.

6. Then in the Data Validation dialog, choose List from Allow section, then type =INDIRECT($D$1) in the Source textbox, $D$1 is the cell contains the first drop-down list.
doc default value by another cell dropdown list 8

7. Click OK. Now while you selecting one value from first drop-down list, only its corresponding value can be selected and displayed in second drop-down list.
doc default value by another cell dropdown list 9

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thanks! How can I extend the formula without it changing the numbers of the data range? I want the formula to be active on all cells of a column but I don't want to have to keep entering the formula every time!
This comment was minimized by the moderator on the site
Hi, just change the table_array in the formula to absolute reference, =VLOOKUP(D1,$A$1:$B47,2,0), then drag auto fill handle to the cells you want to used this formula in the column, now the formula can be auto changed when you change the lookup values.
https://cdn.extendoffice.com/images/stories/comments/sun-comment/doc-VLOOKUP-for-a-column.png
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations