+ Reply to Thread
Results 1 to 6 of 6

Data Validation "The list source must be a delimited list, or a reference to single......"

  1. #1
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2016
    Posts
    140

    Data Validation "The list source must be a delimited list, or a reference to single......"

    Hi,

    I have data validation setup on cells in a column, the data validation is 'List' and the source is currently;
    Please Login or Register  to view this content.
    ....and this works fine.

    I am trying to add a new condition in so the code will then be (addition is in red);
    Please Login or Register  to view this content.
    ....but this keeps coming back with the error "The list source must be a delimited list, or a reference to single row or column".

    The different drop down lists that the formula is calling are all in the same column on a Validation sheet within the same workbook.

    I have 3 or 4 different workbooks with similar 'List Source' and I do quite a bit of editing on it, occasionally I do get this error but it's a case of one moment I get the error, I try again and it works so I don't actually know how it resolved itself.

    Can someone give me a hint please.?
    Thank you.
    Last edited by mowens74; 01-31-2013 at 03:58 AM. Reason: Missing tags

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Data Validation "The list source must be a delimited list, or a reference to single...

    If those are all named ranges that get returned, then you will need to put INDIRECT( ... ) around your existing expression. It might be easier to set up a little table somewhere with:

    CSC ........ CSCall
    CQC ....... CQC
    Findus .... Findus
    and so on

    and then you can use VLOOKUP instead of all those IFs.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2016
    Posts
    140

    Re: Data Validation "The list source must be a delimited list, or a reference to single...

    Thanks,

    Yes, they are named ranges located on a different worksheet within the same workbook;

    Rest = Validation!E7..E8
    CSCcall = Validation!E11..E13
    Findus = Validation!E16..E18

    etc....

    I have tried the suggestion above regarding <Index> but it errored, I may have the formula wrong....
    Please Login or Register  to view this content.

    How would I use VLOOKUP to display a list rather than return a cell value.?



    Thanks.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Data Validation "The list source must be a delimited list, or a reference to single...

    You need to build up a table like this:

    CSC .......... CSCcall
    CQC .......... CQC
    Findus ....... Findus
    Motorola .... Motorola
    Freescale .... Rest
    TFL ............ Rest
    UK AEA ...... Rest
    SFL ............ Rest
    RBFT ......... Rest
    Telent ....... Telent
    NYSE ..........NYSE
    NSN .......... NSN

    (That probably won't format very well, but hopefully you get the idea). Suppose this is in columns A and B of Sheet1, then you could do this:

    =INDIRECT(VLOOKUP($G$7,Sheet1!$A:$B,2,0))

    in your DV List box.

    Hope this helps.

    Pete

  5. #5
    Forum Contributor
    Join Date
    11-08-2012
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2016
    Posts
    140

    Re: Data Validation "The list source must be a delimited list, or a reference to single...

    Thanks Pete,

    Understood and done ... Now working. I did have to change one thing though - I couldn't reference a worksheet in a 'List' Data Validation so the table has had to go onto the worksheet itself.

    Don't know if there IS a way of referencing different worksheets in Data Validation but that is something I will look into at a later date.



    Thanks again,
    marc.

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Data Validation "The list source must be a delimited list, or a reference to single...

    hm it worked for me just fine
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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