+ Reply to Thread
Results 1 to 3 of 3

"Dynamic" List creation

  1. #1
    Registered User
    Join Date
    01-21-2005
    Posts
    5

    "Dynamic" List creation

    Hi all,

    I am trying to create a drop-down list for a cell whose values displayed are dependant upon other cell values in the same worksheet.

    Basically I have created a number of worklists (in another worksheet) and then reference one of those lists dependant upon a numeric value in another cell of the current worksheet.

    The trouble is when I try to define the code to do this, (basically a very ugly =IF(E17<175000;AppGrp1;IF(E17<340000;AppGrp2;....etc. )))))

    It doesn't fit into the Source field set up for this drop down list. Is there another way of implementing this type of functionality?

    Thanks in advance

    Anthony

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    First, set up the following two-column table...

    0 AppGrp1
    175000 AppGrp2
    340000 AppGrp3
    etc.

    Secondly, define a name for the table, for example Table. Then use the following formula as your 'Source'...

    =INDIRECT(VLOOKUP($E$17,Table,2))

    Hope this helps!

    Quote Originally Posted by Antmeister
    Hi all,

    I am trying to create a drop-down list for a cell whose values displayed are dependant upon other cell values in the same worksheet.

    Basically I have created a number of worklists (in another worksheet) and then reference one of those lists dependant upon a numeric value in another cell of the current worksheet.

    The trouble is when I try to define the code to do this, (basically a very ugly =IF(E17<175000;AppGrp1;IF(E17<340000;AppGrp2;....etc. )))))

    It doesn't fit into the Source field set up for this drop down list. Is there another way of implementing this type of functionality?

    Thanks in advance

    Anthony

  3. #3
    Registered User
    Join Date
    01-21-2005
    Posts
    5
    Thanks, that worked a treat!

+ 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