+ Reply to Thread
Results 1 to 9 of 9

How to display dropdown only if corresponding cell is empty?

  1. #1
    Registered User
    Join Date
    04-15-2014
    Location
    Sydney
    MS-Off Ver
    Excel 2013
    Posts
    4

    Question How to display dropdown only if corresponding cell is empty?

    Hi

    I have a working dropdown ( select, pc, notebook, mobile) but I want to display it only if corresponding cell in column A is empty. I am creating a spreadsheet for inventory list and I don't want to display the dropdown in case there is no data for the row. Once somebody starts entering new item in the inventory list, the dropdown would appear.

    Is that possible in Excell 2013

    Thank you

    R

  2. #2
    Forum Contributor
    Join Date
    02-22-2014
    Location
    Winthrop, ME
    MS-Off Ver
    Excel 2010
    Posts
    420

    Re: How to display dropdown only if corresponding cell is empty?

    cimenta,

    Welcome to the forum. I'm quite new around here myself but I'm learning that you get the best help if you're able to post a sample of the worksheet you are creating. In my short time working with Excel I've learned that just about anything is possible.

    Matthew

  3. #3
    Registered User
    Join Date
    04-15-2014
    Location
    Sydney
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: How to display dropdown only if corresponding cell is empty?

    Quote Originally Posted by moosetales View Post
    cimenta,

    Welcome to the forum. I'm quite new around here myself but I'm learning that you get the best help if you're able to post a sample of the worksheet you are creating. In my short time working with Excel I've learned that just about anything is possible.

    Matthew
    Hi Matthew

    thank you for such quick reply. Please find attached simple xls file.

    What I want to achieve is that if the there is no data in column B then column C is empty. If there is something in corresponding row of column B then C will display the dropdown. In my case B4 is empty so I want C4 to be empty.

    I hope I explained it well :-)

    Thank you

    R.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-27-2009
    Location
    Surat,India
    MS-Off Ver
    Excel 2007
    Posts
    52

    Re: How to display dropdown only if corresponding cell is empty?

    Hi, Cemanta,

    Write below formula in your DV list.
    IF(B2<>"",DeviceType)

    Regards,
    Vishnu

  5. #5
    Forum Contributor
    Join Date
    02-22-2014
    Location
    Winthrop, ME
    MS-Off Ver
    Excel 2010
    Posts
    420

    Re: How to display dropdown only if corresponding cell is empty?

    Cemanta,

    Not sure if this will do it for you but a REAL simple way of accomplishing your goal (or at least what I believe to be your goal) is to add a single quote ( ' ) at the top of your data validation list on the "data" worksheet. The single quote shows up in your drop down as a blank. I've add the single quote to your device type list on the "data" worksheet and redefined the named range DeviceType.

    Hope this helps.

    Matthew
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    04-15-2014
    Location
    Sydney
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: How to display dropdown only if corresponding cell is empty?

    Quote Originally Posted by moosetales View Post
    Cemanta,
    I've add the single quote to your device type list on the "data" worksheet and redefined the named range DeviceType.

    Hope this helps.

    Matthew

    Hi Mathew

    but I want the first option to be "select" so user knows that have to select something.

    Thank you

    R.

  7. #7
    Registered User
    Join Date
    04-15-2014
    Location
    Sydney
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: How to display dropdown only if corresponding cell is empty?

    Quote Originally Posted by hifliers View Post
    Hi, Cemanta,

    Write below formula in your DV list.
    IF(B2<>"",DeviceType)

    Regards,
    Vishnu
    Hi Vishnu

    it doesn't work for me
    - it displays a value in case B2 is not empty not the dropdown
    - in case the B2 is empty I can see FALSE in C2 cell

    Note: that I want the drowdown to be displayed once something is entered into b2 and the first value "select" will be visible. Of course user is able to select the correct option.
    Note2: that I am using excel 2013

    Thank you

    R
    Last edited by cimenta; 04-16-2014 at 12:29 AM.

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,649

    Re: How to display dropdown only if corresponding cell is empty?

    I think you will need a vba code to achieve this......

    Try this code......
    Please Login or Register  to view this content.
    For detail see the attached sheet.
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  9. #9
    Forum Contributor
    Join Date
    02-22-2014
    Location
    Winthrop, ME
    MS-Off Ver
    Excel 2010
    Posts
    420

    Re: How to display dropdown only if corresponding cell is empty?

    cimenta,

    Yes, I see my error in understanding your original post. Looks like sktneer has you on a productive path.

    Matthew

+ 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. Display Cell Data from a cell after selecting option from dropdown list.
    By RoyalleSky in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-20-2014, 06:04 AM
  2. [SOLVED] Prevent selection of a dropdown option if a different cell is empty
    By pemb3545 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 12-02-2013, 07:08 AM
  3. [SOLVED] Making reference to an empty cell display empty rather than zero
    By John007 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-12-2012, 11:13 AM
  4. Select Empty Cell Within a DropDown List Box's Range
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2010, 06:58 PM
  5. Replies: 1
    Last Post: 02-06-2010, 11:09 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