+ Reply to Thread
Results 1 to 4 of 4

Data Validation List Formula causing Error - List source must be a delimited list

  1. #1
    Registered User
    Join Date
    07-20-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    3

    Data Validation List Formula causing Error - List source must be a delimited list

    I am trying to used nested if statements with AND and OR functions within a data validation list and am getting the following error:

    "List source must be a delimited list,or reference to a single row or column"

    I had the formula working previously but am unsure of what is causing the error.

    Formula:

    =IF(OR(ProgramCode="GMT561",ProgramCode="GMT967",ProgramCode="GMT968"),SOD_SW_Version,IF(AND(RST="ESS",MYC="2014"),K2xx_SW_Version,IF(RST="SBZA",SBZA_SW_Version,IF(AND(RST="ESS",MYC="2013"),ESS_SW_Version,""))))

    ProgramCode, MYC and RST are names for cells on the main sheet of the workbook.
    SOD_SW_Version, ESS_SW_Version, SBZA_SW_Version, and K2xx_SW_Version are names of lists in columns on another sheet within the workbook.

    All names are global in that their scope is the entire workbook not just a single sheet.

    The purpose of this forumula is to populate the validation list with one of the named colums based on the values in either MYC, RST, and ProgramCode or a combination of the 3 with the OR and AND functions.

    Can anyone help me to figure out what is causing the error?
    Last edited by JBeaucaire; 07-20-2012 at 10:24 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Data Validation List Formula causing Error - List source must be a delimited list...

    Formulas like that will give an error when first entered unless you have set the other cell values such that this formula resolves to one of the named ranges in the formula, at least temporarily. Do that, enter values in the other cells, then enter you DV formula, then you can clear the other cells and start using it.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    07-20-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Data Validation List Formula causing Error - List source must be a delimited list...

    Not sure I completely follow what you're saying. I entered values into RST, MYC, and ProgramCode, then went to data validation and tried to paste my formula in. I am still gettting the same error? Is this what you mentioned in the previous post?

  4. #4
    Registered User
    Join Date
    07-20-2012
    Location
    Michigan
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Data Validation List Formula causing Error - List source must be a delimited list...

    Nevermind I got it...I ended up having to choose RST, MYC, and ProgramCode to resolve the FIRST IF condition. That seems to have solved the problem. Thank You!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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