+ Reply to Thread
Results 1 to 6 of 6

Variable list depending on the value of one column

Hybrid View

  1. #1
    Registered User
    Join Date
    09-29-2017
    Location
    London
    MS-Off Ver
    2010
    Posts
    40

    Variable list depending on the value of one column

    Hi everybody,

    I am reaching out to you today because I am having some troubles creating a variable list that depends on the value of one cell (see attached file).

    On one worksheet, I have a list of Cost Centers associated with several possible family codes (that are in the same cell, and if there is more than one possible value, then they are separated by a coma).

    On another worksheet, I have a selection of those same Cost Centers that can show up in any order and that can change depending on the data that is in other Worksheets.

    I have 2 questions:
    1) Is it possible to do in a quick way a formula that will put in a cell in front of each cost center a list with the good possibilities (without showing the whole list because 99% of the values don't matter, people will only have to choose among 2 or 3 values max)?
    2) Do I need to change the way the data is presented? for instance, separate the values in a cell if there are more than one? As I have more than 1000 cells, is there a quick way of doing this?

    In the example I am giving to you, I am showing the expected outcome but am using a handmade list for each one of the Cost Centers but :
    1) as I have many Cost Centers potentially I can't do it by hand
    2) If the cost centers change, the list will remain and it will more than likely be the wrong list as the cost center might not have those family codes at all

    Thank you so much for your help!

    Xenthys

    EDIT: Right file uploaded
    Attached Files Attached Files
    Last edited by Xenthys; 10-30-2017 at 04:24 PM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,820

    Re: Variable list depending on the value of one column

    I don't see how your file relates to your description.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,952

    Re: Variable list depending on the value of one column

    your example workbook looks nothing like the description/explanation in #1 above
    Ben Van Johnson

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Variable list depending on the value of one column

    Did you attach the right workbook? I don't see a "Cost Center" or a "Family Code".

    That being said, to get from your Example to your Expected Outcome, all that you have to do is:

    Select column E > Find & Select > Go To Special > Blanks > OK > Right-click on any of the selected cells > Delete > Entire row > OK

  5. #5
    Registered User
    Join Date
    09-29-2017
    Location
    London
    MS-Off Ver
    2010
    Posts
    40

    Re: Variable list depending on the value of one column

    Sorry guys/girls, you are right

    Here is the right file.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-29-2017
    Location
    London
    MS-Off Ver
    2010
    Posts
    40

    Re: Variable list depending on the value of one column

    Can somebody help me? Or give me a hint of what type of formula/feature might be useful here?

    Thanks

+ 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: 3
    Last Post: 08-03-2017, 07:05 PM
  2. [SOLVED] Make a unique list depending on the first column
    By gandreso in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 11-29-2016, 12:03 PM
  3. [SOLVED] Return variable column results depending on entries in multiple columns
    By Aardigspook in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-20-2016, 10:41 AM
  4. Replies: 3
    Last Post: 09-03-2013, 03:26 PM
  5. [SOLVED] Unique list depending on a variable
    By crakter in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-12-2013, 01:40 PM
  6. Rank items in list depending on one column, and then the other.
    By jeff1989uk in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-26-2012, 05:17 PM
  7. Separate data list into 3, depending on the category in column 2
    By dr.rohit in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-23-2012, 05:36 AM

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