+ Reply to Thread
Results 1 to 2 of 2

Name cells which is not a range

  1. #1
    Registered User
    Join Date
    12-13-2012
    Location
    Norway
    MS-Off Ver
    Microsoft 365 MSO Version 2205 Windows 11
    Posts
    23

    Name cells which is not a range

    I want to name cells A3, A7, A10 and A12 as "Træ". I now how to do this, and in the "define name" box there is a name in the workbook wich says "Træ" and refers to the right cells. But when I in the workbook select "Træ" in the name box it also marks the right cells, but after selected Træ it says A12 in the namebox. I wonder if this is the problem as i can not get it right when i am using the Indirect function in data validation.

    I have uploaded my document so you can see what i mean.

    What i want is in sheet "data" cell A2 be able to select the main categori "træ", In cell B2 ble able to the undercategories "spærtræ", "skillerumslægter", "Krydsfiner" and "Forskalling". And in cell C2 if ex. "Spærtræ" is selected in C2, only be able to select "47x125", "47x200(4,2m) or "(47x250).

    So it is a indirect function in cell B2 and C2. Material Prices.xlsx

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Name cells which is not a range

    If you change the Data Validation for cell B2 to =Skruer
    you'll get this error: "The list source must be a delimited list, or a reference to a single row or column."

    The problem is caused by the named range referencing multiple areas.
    =Prices!$A$29,Prices!$A$33,Prices!$A$35,Prices!$A$41
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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