+ Reply to Thread
Results 1 to 6 of 6

Cell auto-populated by dropdown list shows error but I would like it blank

  1. #1
    Registered User
    Join Date
    03-15-2013
    Location
    London
    MS-Off Ver
    Excel 2016 (Mac)
    Posts
    69

    Cell auto-populated by dropdown list shows error but I would like it blank

    Good morning,

    Cell I1 is auto-populated with the content selected in the dropdown list in A1.
    When I choose the blank option in the drop down list, I1 shows an error message (#N/A).

    However, what I would like is for I1 to also be blank/empty when the blank is selected in the dropdown list.

    Any advice is appreciated; thanks.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    02-09-2021
    Location
    New York
    MS-Off Ver
    Office 2019
    Posts
    145

    Re: Cell auto-populated by dropdown list shows error but I would like it blank

    Hi schroeder70,

    You can use if statement. Please see: https://exceljet.net/formula/vlookup...rns%20a%20zero.

    Hope this helps.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,597

    Re: Cell auto-populated by dropdown list shows error but I would like it blank

    As above

    =IF(A1=" ","",VLOOKUP(A1,'Sheet 2'!$A$2:$A$18,1,FALSE))

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,504

    Re: Cell auto-populated by dropdown list shows error but I would like it blank

    =IF(A1="","",VLOOKUP(A1,'Sheet 2'!$A$2:$A$18,1,0))
    Quang PT

  5. #5
    Forum Contributor
    Join Date
    05-16-2012
    Location
    Latina, ITALY
    MS-Off Ver
    Excel 2010--2016
    Posts
    947

    Re: Cell auto-populated by dropdown list shows error but I would like it blank

    Hi
    Try:
    =IF(A1=" ";"";....

  6. #6
    Registered User
    Join Date
    03-15-2013
    Location
    London
    MS-Off Ver
    Excel 2016 (Mac)
    Posts
    69

    Re: Cell auto-populated by dropdown list shows error but I would like it blank

    thanks; reps added.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Select Yes from the Dropdown list if the other cell is not blank
    By rakotonirinas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2019, 04:52 AM
  2. [SOLVED] How to make a dropdown list cell default to blank, after another cell selection is made
    By chardsmith in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-30-2013, 03:46 AM
  3. Combobox Dropdown List only shows first Item
    By Guido Meng in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2013, 09:49 PM
  4. Replies: 0
    Last Post: 02-03-2013, 06:33 PM
  5. Dropdown list cell populated automatically
    By processchip in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2011, 03:22 PM
  6. Blank cell shows error on division.
    By Hatchiman in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-28-2010, 01:20 PM
  7. [SOLVED] Can a cell have a drop down list and can also be auto populated
    By Adrian in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2005, 02:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1