+ Reply to Thread
Results 1 to 20 of 20

Dropdown list box recognise mutiple lines in cell

  1. #1
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Dropdown list box recognise mutiple lines in cell

    hello friends,

    Please need help, I have a dropdown or list box with a formula. Select any list to jump to that particular cell and highlight.
    Previously this was done for a single line or word in a cell but now each cell has multiple lines so the dropdown cannot identify which cell it is referring to.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    Hello friends,
    Sorry if I can't explain my problem well. Any questions please let me know.

  3. #3
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    Any solution guys? Please allow me to seek help from another forum

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,628

    Re: Dropdown list box recognise mutiple lines in cell

    Explanation is not clear. With example from file explain what is required briefly.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    Thank you very much for your response

    I have a dropdown box (combobox) that links to cell E1 and has a cell range of B3:M18.
    Selecting any value from the combo box should automatically highlight or goto that specific cell in the range (B3:M18).


    Sheet1(single line)
    This sheet is just an example. Here is the combo box connecting E1 and B3: B18 the cell range. When I select any value from the combo box it displays in D1 which has a hyperlink to B3:B18.
    In this sheet, my range is just one column B3:B18 and each cell value is a single line or word so it's very easy for me to link.


    But here I need help in Sheet2(multiple rows) B3:M18 each cell has multiple lines and multiple columns.
    Attached Files Attached Files

  6. #6
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2404-17531.20128
    Posts
    1,378

    Re: Dropdown list box recognise mutiple lines in cell

    Quote Originally Posted by vvishalb View Post
    Any solution guys? Please allow me to seek help from another forum
    I don't think this is a problem however, you should provide the link to the cross posting in both forums.
    If things don't change they stay the same

  7. #7
    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. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,594

    Re: Dropdown list box recognise mutiple lines in cell

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important: https://excelguru.ca/a-message-to-forum-cross-posters/

    (Note: this requirement is not optional. No help to be offered until you provide a link or, for members with fewer than 10 posts, a comment telling us where else you have posted this query.)
    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.

  8. #8
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    Oh ok, I apologize for not providing another form link. Below is the link I asked for to solve the same question.

    https://www.mrexcel.com/board/thread...-cell.1235618/

  9. #9
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,761

    Re: Dropdown list box recognise mutiple lines in cell

    Quote Originally Posted by vvishalb View Post
    Previously this was done for a single line or word in a cell
    I copied this to another sheet and used one word per cell. When I click on D1 it just goes to cell E1. It does not go to the cell selected in the dropdown.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  10. #10
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2404-17531.20128
    Posts
    1,378

    Re: Dropdown list box recognise mutiple lines in cell

    Rather than select the cell(s) why not just highlight them with conditional formatting, you can try the below CF formula in range B3:M19 for the sheet: Multiple Lines:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  11. #11
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    Please download the post # 5 attachment (dropdown_2.xlsx) and check sheet1(single line) for better understanding, please.

  12. #12
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    Oh wow, that looks great, let me check it out

  13. #13
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    Highlighting a cell is good but when it is highlighted have to find the cell ourselves. When we select the dropdown we can go directly to that cell if possible and highlight it.
    Last edited by AliGW; 04-25-2023 at 05:39 AM. Reason: Please do NOT quote unnecessarily!

  14. #14
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2404-17531.20128
    Posts
    1,378

    Re: Dropdown list box recognise mutiple lines in cell

    Just out of interest: are you still using excel 2016?

  15. #15
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    yes sir excel 2016
    Last edited by AliGW; 04-25-2023 at 05:39 AM. Reason: Please do NOT quote unnecessarily!

  16. #16
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2404-17531.20128
    Posts
    1,378

    Re: Dropdown list box recognise mutiple lines in cell

    Can get it working with helper columns and removing the line breaks from the text, see attached.
    Attached Files Attached Files

  17. #17
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    Thanks a lot, it works fantastic

  18. #18
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    Really sorry, there is a problem with column (S3:S197) changing daily, which I forgot to mention. I'm having trouble accepting your formula in my original file because column S contains the formula. Is there any way to handle this situation please.
    I am re-sending the new file for reference
    Attached Files Attached Files

  19. #19
    Forum Expert CheeseSandwich's Avatar
    Join Date
    12-22-2021
    Location
    Kent, England
    MS-Off Ver
    365 - 2404-17531.20128
    Posts
    1,378

    Re: Dropdown list box recognise mutiple lines in cell

    Are you able to edit that formula to be:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

  20. #20
    Forum Contributor
    Join Date
    08-07-2012
    Location
    India
    MS-Off Ver
    Microsoft office home and student 2016 (Windows 10 Home 64bit)
    Posts
    102

    Re: Dropdown list box recognise mutiple lines in cell

    Thanks a lot

+ 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. print mutiple lines macro
    By phillyd023 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-18-2019, 09:34 AM
  2. Dropdown to recognise months as numbers
    By Travman1986 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-25-2016, 04:33 AM
  3. Replies: 6
    Last Post: 02-02-2016, 04:26 PM
  4. Want to seperate Multiple Lines in a cell to mutiple rows
    By PrakashPancholi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-10-2014, 05:59 AM
  5. mutiple cell update when common drop down list
    By callum2 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-20-2011, 04:07 PM
  6. Mutiple Macros from Dropdown list?
    By smogsy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2010, 06:34 AM
  7. Replies: 21
    Last Post: 12-02-2009, 03:27 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