Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-16-2015, 01:01 PM
Jhnsnkth527 Jhnsnkth527 is offline Microsoft Excel, Drop Down List Windows 7 64bit Microsoft Excel, Drop Down List Office 2010 64bit
Novice
 
Join Date: Apr 2015
Location: Cincinnati
Posts: 7
Jhnsnkth527 is on a distinguished road
Default

Try VLookup or Match/Index functions assuming each selection of Vanilla (6), Chocolate (7), Strawberry (8), etc. has the same number of elements.

In a reference table, have flavors and reference values in adjacent cells (6, 7, 8, etc.). In a lookup table, have those same reference values with elements to the right.
=Vlookup("Vanilla",<reference table>,<column 2>,<true/false>)
the result would be 6
Then you could us
= Index(<lookup table>,<row - from reference table>, <column 1...4 - for elements>)

I hope that was simple and complete enough to point you in the right direction. If you use formulas in Excel, you can start with =VLookup(... and get the data needed for the formulas.

EXTRAS:
You can combine both tables into one on a hidden sheet and use that to enable your pick list of flavors and the results that get displayed.
You can also define name ranges for your tables to make for simpler formulas
If the number of elements/ingredients vary with the selection, that's possible too, but you may need to get more creative with how you manage reference values
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Excel, Drop Down List How to import list from Excel into drop-down list into word ahw Word VBA 43 02-28-2020 08:11 PM
Populate Word Drop-down list with Excel column then auto fill form fields with Excel data Faldinio Word VBA 7 10-19-2014 06:03 AM
Microsoft Excel, Drop Down List (Excel 2007) Need help with colour change when condition met in drop down list oalrashdan Excel Programming 1 12-13-2013 02:21 AM
Microsoft Excel 2010 - To Do List teza2k06 Excel 2 03-05-2013 11:13 AM
Microsoft Excel, Drop Down List drop down list from external data source Excel 2007? Intruder Excel 1 08-03-2012 05:41 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:34 PM.


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