+ Reply to Thread
Results 1 to 14 of 14

Drop down list that populates field

  1. #1
    Forum Contributor her.rockstar's Avatar
    Join Date
    01-11-2013
    Location
    Saint John, NB
    MS-Off Ver
    Office 365
    Posts
    194

    Drop down list that populates field

    I would like to select a month from a drop down list and have the field below it populate from corresponding sheets. I have an attached spreadsheet to further explain.dummy.xls

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Drop down list that populates field

    Hi her.rockstar,

    You can use below formula:-
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    see attached:- dummy.xls

    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Forum Contributor her.rockstar's Avatar
    Join Date
    01-11-2013
    Location
    Saint John, NB
    MS-Off Ver
    Office 365
    Posts
    194

    Re: Drop down list that populates field

    Hey, I'm not sure that's what I'm looking for., thank you of course, but I'll try to explain again.
    If I choose Jan in B1 (Sheet1), then B2 should read 12, B3 should also read 12 because there are that many Ys on both sheets (coincidentally).

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Drop down list that populates field

    Okay.. try using below formula:-

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


    See attached:- dummy(1).xls

    Regards,
    DILIPandey
    <click on below * if this helps>

  5. #5
    Forum Contributor her.rockstar's Avatar
    Join Date
    01-11-2013
    Location
    Saint John, NB
    MS-Off Ver
    Office 365
    Posts
    194

    Re: Drop down list that populates field

    Perfect!
    Thanks so much for your help!

  6. #6
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Drop down list that populates field

    you are welcome rockstar. ... cheers



    Regards,
    DILIPandey
    <click on below * if this helps>

  7. #7
    Forum Contributor her.rockstar's Avatar
    Join Date
    01-11-2013
    Location
    Saint John, NB
    MS-Off Ver
    Office 365
    Posts
    194

    Re: Drop down list that populates field

    Ohhh, okay, I've gone and confused myself.
    Try to understand I use a dummy sheet to protect some sensitive information.

    Sheet1, 2, 3, etc are placeholders for sheets with names that contain spaces, and it's throwing me off big time, with the quotations. Would you mind taking a look at a revised spreadsheet for me with the sheet names changed? Thanks so much.

    dummy2.xls

  8. #8
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Drop down list that populates field

    Hi rockstar,

    Just corrected the references of sheet name in the formula:-

    see attached:- dummy2.xls

    Regards,
    DILIPandey
    <click on below * if this helps>

  9. #9
    Forum Contributor her.rockstar's Avatar
    Join Date
    01-11-2013
    Location
    Saint John, NB
    MS-Off Ver
    Office 365
    Posts
    194

    Re: Drop down list that populates field

    Can you tell me what '!A4 refers to......INDIRECT("'"&A2&"'!A4")...... as I transpose this formula to my actual data sheet, I'm not sure what to it is referencing. A4 appears to be an empty cell?

  10. #10
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Drop down list that populates field

    HI rockstar,

    That refers to the cell A4.
    And offset function moves it to 1 right and zero down.. so just one column right which is the month column (jan) as per filter. Hope this helps. thanks.

    Regards,
    DILIPandey
    <click on below * if this helps>

  11. #11
    Forum Contributor her.rockstar's Avatar
    Join Date
    01-11-2013
    Location
    Saint John, NB
    MS-Off Ver
    Office 365
    Posts
    194

    Re: Drop down list that populates field

    Hi again, so in my actual document, the months are unfortunately located in a different spot. Jan is actually in C2 on the Tony Day to Day sheet. The problem then, is that I have to adjust it. Would I change the A4 instead to B3? (I've tried it and it doesn't work), or do I change it to A3, and then increase the offset by 1 somehow?

  12. #12
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Drop down list that populates field

    Hi rockstar,

    I would suggest you to first see the Excel help and learn offset function, then you can easily fix that.

    Also see the data arrangement, where its working and then you can easily figure out what reference to be changed to suit, your data set. Thanks.

    Regards,
    DILIPandey
    <click on below * if this helps>

  13. #13
    Forum Contributor her.rockstar's Avatar
    Join Date
    01-11-2013
    Location
    Saint John, NB
    MS-Off Ver
    Office 365
    Posts
    194

    Re: Drop down list that populates field

    You have solved my dilemma. Thanks so much again for your patience and expertise.

    Adam

  14. #14
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Drop down list that populates field

    hey.. you are welcome Adam.. cheers


    Regards,
    DILIPandey
    <click on below * if this helps>

+ 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