+ Reply to Thread
Results 1 to 4 of 4

=IF(Q5="Apple Sauce",List1," ") - #Value Error ???

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    iourc
    MS-Off Ver
    2010
    Posts
    2

    =IF(Q5="Apple Sauce",List1," ") - #Value Error ???

    So have been struggling on this one for a bit. The issue comes up with the "List" element.

    Current Q5 is a list that works fine. Of the options there "Apple Sauce" is one of them. If Q5 isn't apple sauce, this targeted cell remains clear (which I want).

    The issue is when it IS Apple Sauce its not creating the drop-down list I want.

    Verging on head-banging-desk. Can anyone help me avoid a self-concussion? :P

  2. #2
    Forum Contributor
    Join Date
    07-07-2005
    Location
    England
    MS-Off Ver
    Office 2019 Enterprise
    Posts
    473

    Re: =IF(Q5="Apple Sauce",List1," ") - #Value Error ???

    Hi, an IF statement can't create a drop down list (As far as I am aware). It just returns a single item.

  3. #3
    Registered User
    Join Date
    05-11-2015
    Location
    iourc
    MS-Off Ver
    2010
    Posts
    2

    Re: =IF(Q5="Apple Sauce",List1," ") - #Value Error ???

    Well.... can you offer me an alternative to produce the effect I'm attempting to achieve? I kinda already know that this isn't working

  4. #4
    Forum Contributor
    Join Date
    07-07-2005
    Location
    England
    MS-Off Ver
    Office 2019 Enterprise
    Posts
    473

    Re: =IF(Q5="Apple Sauce",List1," ") - #Value Error ???

    The code below works for me (Office 2003)

    1. The code assumes you have 'Named' your range of cells with your list items in as 'MyList'
    2. The code is placed in the required sheet in VBA under 'Microsoft Excel Objects'

    Please Login or Register  to view this content.

+ 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. = EMBED("Forms.ComboBox.1","") error "Reference not valid."
    By CatharinaCatharina in forum Excel General
    Replies: 2
    Last Post: 12-11-2014, 09:58 AM
  2. [SOLVED] If Not ActiveSheet.Range("A1").Value Like "apple" Then MsgBox "Error"
    By HerryMarkowitz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-18-2014, 02:16 PM
  3. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  4. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  5. [SOLVED] How to Count number of "Error" and "OK" after the word "Instrument" found in table row
    By eltonlaw in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-17-2012, 06:26 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