Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-27-2018, 10:24 AM
snowboarder2 snowboarder2 is offline Values in dropdown menu disappear when sorting Windows XP Values in dropdown menu disappear when sorting Office 2010 32bit
Novice
Values in dropdown menu disappear when sorting
 
Join Date: Aug 2016
Posts: 26
snowboarder2 is on a distinguished road
Default Values in dropdown menu disappear when sorting

Put 3 items in a drop down menu. When I sorted the drop down all the values disappeared with the exception of one.
Reply With Quote
  #2  
Old 08-27-2018, 10:27 AM
snowboarder2 snowboarder2 is offline Values in dropdown menu disappear when sorting Windows XP Values in dropdown menu disappear when sorting Office 2010 32bit
Novice
Values in dropdown menu disappear when sorting
 
Join Date: Aug 2016
Posts: 26
snowboarder2 is on a distinguished road
Default

Forgot to mention that it's an excel chart.
Reply With Quote
  #3  
Old 08-27-2018, 03:55 PM
jeffreybrown jeffreybrown is offline Values in dropdown menu disappear when sorting Windows Vista Values in dropdown menu disappear when sorting Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Kind of hard to imagine what is happening here. How about posting a sample workbook!
Reply With Quote
  #4  
Old 08-29-2018, 11:45 AM
snowboarder2 snowboarder2 is offline Values in dropdown menu disappear when sorting Windows XP Values in dropdown menu disappear when sorting Office 2010 32bit
Novice
Values in dropdown menu disappear when sorting
 
Join Date: Aug 2016
Posts: 26
snowboarder2 is on a distinguished road
Default

I attached the excel spread sheet. The text in red hold data that is in a pull down menu. When I sort the column this data is in, the cells with the pull down menus no longer stay as pull down menus.
Attached Files
File Type: xlsx Authors Query Library.xlsx (264.3 KB, 13 views)
Reply With Quote
  #5  
Old 08-29-2018, 03:08 PM
jeffreybrown jeffreybrown is offline Values in dropdown menu disappear when sorting Windows Vista Values in dropdown menu disappear when sorting Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Sorry, not sure how to do this. Maybe somebody else with this type of Excel knowledge will stop by.
Reply With Quote
  #6  
Old 08-30-2018, 02:37 AM
p45cal's Avatar
p45cal p45cal is offline Values in dropdown menu disappear when sorting Windows 10 Values in dropdown menu disappear when sorting Office 2016
Expert
 
Join Date: Apr 2014
Posts: 871
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

Goodness, I didn't realise Excel wouldn't carry data validation in cells with sorting. What a pain. There's no easy solution that I can find.

There is a VBA solution but it's clunky. It would involve, before sorting, putting (temporarily or permananently) the list used in data validation in, say, column I of the same row as the data validation in column A (this column could be hidden), then sorting the list including column I, then running down column A re-establishing the data validation from the information in column I (which could include the message '3 authors, 1 book', '5 authors, 1 book', 'multiple authors, 1 book').


I'll write it if it would be useful and a path you're happy to go down.
Reply With Quote
  #7  
Old 08-30-2018, 06:59 AM
ArviLaanemets ArviLaanemets is offline Values in dropdown menu disappear when sorting Windows 8 Values in dropdown menu disappear when sorting Office 2016
Expert
 
Join Date: May 2017
Posts: 873
ArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud ofArviLaanemets has much to be proud of
Default

Data validation is not meant for multi-entry, it is for alternative choices!

An example of simple books database
Attached Files
File Type: xlsx Library.xlsx (165.6 KB, 11 views)
Reply With Quote
  #8  
Old 08-30-2018, 09:20 AM
snowboarder2 snowboarder2 is offline Values in dropdown menu disappear when sorting Windows XP Values in dropdown menu disappear when sorting Office 2010 32bit
Novice
Values in dropdown menu disappear when sorting
 
Join Date: Aug 2016
Posts: 26
snowboarder2 is on a distinguished road
Default

Thanks to all who responded. Thank you Arvilaanemets -- I'm following the example that you attached. It was very beneficial.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to shows cells range depending on dropdown menu value mfran2002 Excel 5 10-26-2017 08:08 AM
Values in dropdown menu disappear when sorting Select added value from dropdown menu, program output Aleksm Excel Programming 1 01-28-2017 05:40 AM
Excel DropDown Lists disappear janehoss Excel 0 12-09-2014 01:05 PM
Values in dropdown menu disappear when sorting Auto text after selection from Dropdown menu trainsy Word 2 06-04-2014 04:43 AM
Auto populate formfield from dropdown menu jmofstead Word 0 02-26-2010 10:35 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:10 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft