+ Reply to Thread
Results 1 to 7 of 7

Create a list with dropdown linked to a reference no.

  1. #1
    Registered User
    Join Date
    01-02-2014
    Location
    Cape Town
    MS-Off Ver
    Excel 2007
    Posts
    88

    Create a list with dropdown linked to a reference no.

    Hi
    please can you assist - I'm trying to lookup a reference and want the result as a list

    Need the list in sheet1 C7. if P4 in sheet1 =1 then look up in sheet "Shift Schedule" column I and bring column G the shifts
    Morning 1
    Morning 2
    Afternoon
    Night

    I know you might argue that if P4 = 2 its the same shifts but it will be different positions which we will still work on to pull that through as well

    let me know if it make sense pls
    Attached Files Attached Files
    Last edited by Roma1r; 06-01-2018 at 02:01 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Lookup (Index, Match - list)

    Welcome to the forum! Please take a moment to re-read forum rule #1 and then amend your thread title to something that better explains your problem. Changing your thread title is not optional, which means you must change it. Thanks!

    • Use concise, accurate thread titles.
    • Your post title should describe your problem, not your anticipated solution.
    • Use terms appropriate to a Google search - poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.

    To change a title go to your first post, click EDIT then Go Advanced and change your title.

    No help to be offered, please, until the OP complies with this request.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: Create a list with dropdown linked to a reference no.

    Better - thank you.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Create a list with dropdown linked to a reference no.

    Hi Roma1r

    Hoe gaan dit daar doer in die Kaap? PE old boy here from Carletonville and Klerksdorp. now living in USA. Son lives in CT, sister in Durbs.

    Looking at your file, there is very little actual data in it to go on. Seems you have a bunch of formulas referencing a file we do not have access to
    ...,IF(AND(N7="OnShift",C7="Day",L7>'O:\T&O\Business Support\Business Reporting & Compliance\Terminal Time Sheets\Klerksdorp\TEST\[Copy of Klerksdorp Terminal Time Sheet ...etc

    can I suggest that you copy/paste values for some of those, so we have something to work with? Also maybe show some expected outcomes (and why)?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    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
    28,176

    Re: Create a list with dropdown linked to a reference no.

    Named Range "DV_List" in "Shift Schedule"

    in O6

    =IFERROR(INDEX('Shift Schedule'!$F$6:$F$17,SMALL(IF('Shift Schedule'!$G$6:$G$17=Sheet1!$P$4,ROW('Shift Schedule'!$F$6:$F$17)-ROW($F$6)+1,""),ROWS($F$6:F6))),"")

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Then copy down

    In Sheet1 C7

    DV

    =List

    Source:

    =DV_list
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-02-2014
    Location
    Cape Town
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Create a list with dropdown linked to a reference no.

    Hello
    We will be testing a little later and will let you know - Thanks John

    Hi Dibbins

    Dit gaan nou weer beter in die Kaap vandat ons darem reen gekry het - nice chatting to you again:-)

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Create a list with dropdown linked to a reference no.

    Yes, my son told me the water restrictions had eased a bit, and you guys had some rain.

    Happy to help and thanks for the feedback, let us know how you make out please

+ 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: 5
    Last Post: 02-18-2017, 11:21 AM
  2. [SOLVED] Index Match with Partial Match in Lookup Array
    By AliGW in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-22-2016, 03:13 PM
  3. [SOLVED] Match-Index in stead of Index-Match lookup Array among Arrays
    By Numnum in forum Excel General
    Replies: 2
    Last Post: 10-15-2015, 02:08 PM
  4. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  5. Replies: 3
    Last Post: 06-17-2013, 12:37 PM
  6. Match/Index/Lookup - Searching From Bottom to Top (A reverse lookup maybe)
    By Neutralizer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-02-2013, 03:55 AM
  7. Replies: 7
    Last Post: 06-19-2011, 12:51 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