+ Reply to Thread
Results 1 to 3 of 3

Dropdown list - formule to get only upper and lower case letters?

  1. #1
    Registered User
    Join Date
    07-04-2017
    Location
    Belgium
    MS-Off Ver
    365 ProPlus
    Posts
    81

    Dropdown list - formule to get only upper and lower case letters?

    Dear all,

    I would like to make 2 dropdown lists where the last one depends on the previous dropdown list and the first dropdown list depends on an initial value.

    I kept the example a bit simple, but I'm facing numerous annoying characters like Char(10), spaces, numbers, underscore, ampersand, hyphen ... which are quite annoying in named ranges.

    Is there a formule that allows me to only capture the upper and lower letters and disregards all of the other characters?
    Perhaps ASCI signs from 60 to 90 and 97 to 122?

    My incomplete effort:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Desired result:

    Category Area Category Group Category Name
    1. Rolling Stock
    (RST)
    1.1. Acquisition of Rolling Stock 1.1.1. Procurement of Rolling Stock
    =INDIRECT(RollingStock) =INDIRECT(AcquisitionofRollingStock)
    3. Information and Communication
    Technology
    (ICT)
    3.4. Datacenter 3.4.2. Storage & Back-up
    =INDIRECT(InformationandCommunicationTechnologyICT) =INDIRECT(Datacenter)

    Thanks and best regards,

    Bram
    Attached Files Attached Files
    Last edited by dunnobe; 11-22-2019 at 07:30 AM.

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Dropdown list - formule to get only upper and lower case letters?

    Bram,

    Perhaps, rather than the INDIRECT route, you could use something like the below?

    With B2 the active cell apply following as DV source for your list:

    =OFFSET(TAXONOMY!$A$5;1;MATCH($A2;mainCat;0)-1;COUNTIF(INDEX(TAXONOMY!$A$6:$F$16;0;MATCH($A2;mainCat;0));"?*");1)

    you should find you can use a similar approach for your subsequent DV list using your drop down 2 table, e.g. with C2 now the active cell apply below as source for DV list:

    =OFFSET(TAXONOMY!$H$5;1;MATCH($B2;Taxonomy!$H$5:$AN$5;0)-1;COUNTIF(INDEX(TAXONOMY!$H$6:$AN$38;0;MATCH($B2;Taxonomy!$H$5:$AN$5;0));"?*");1)

  3. #3
    Registered User
    Join Date
    07-04-2017
    Location
    Belgium
    MS-Off Ver
    365 ProPlus
    Posts
    81

    Re: Dropdown list - formule to get only upper and lower case letters?

    Thanks XLent,

    It works just fine!

    Reputation +1

+ 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. Replies: 2
    Last Post: 04-18-2014, 04:12 PM
  2. Replies: 11
    Last Post: 01-18-2014, 12:56 PM
  3. [SOLVED] Mass changing upper case to lower case letters
    By jonathan.haynes in forum Excel Formulas & Functions
    Replies: 28
    Last Post: 09-05-2012, 04:34 PM
  4. Change lower case letters to upper case
    By SkeeterDon in forum Excel General
    Replies: 2
    Last Post: 10-28-2010, 11:05 AM
  5. How do I create upper/lower case letters in cells?
    By boz130 in forum Excel General
    Replies: 1
    Last Post: 09-14-2005, 02:06 PM
  6. Replies: 14
    Last Post: 08-25-2005, 10:05 PM
  7. [SOLVED] Count the occurance of upper or lower case letters
    By Sivsy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2005, 04:06 PM

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