Search multiple rows for a single result?

jgruberman

New Member
Joined
Jan 15, 2024
Messages
23
Office Version
  1. 365
Platform
  1. Windows
  2. Web
I am trying to compile some data for a game that has a vet simulator built into it. My goal is to select from a dropdown(like a data filter) a number of sick pet symptoms and return a single illness name. Here is a sample of data. In this example, I would select "Icy Fur", "Low Temperature", "Overly Moist Skin", and "Watery Eyes" separately and it would return "Frosty Fur Flu". However, if I were to select "Icy Fur" and "Low Temperature" only, then it would show "Frosty Fur Flu" and "Frozen Mange" since enough Minor Symptoms were not selected to determine the correct Sickness.

Honestly, I'm not even sure if this is possible with Excel but it seems like it could be... just with possibly an extensive amount of filtering?


SicknessMajor SymptomMinor SymptomsExam Table Cure
Derpy DoggyExtreme LethargyInflamed CutenessAntifungal Spray
Derpy DoggyExtreme LethargySluggish HeartbeatAntifungal Spray
Faking HealthynoneExcessive EarwaxFixitol Treat
Faking HealthynoneHigh temperatureFixitol Treat
FleasFleasNoneParasite Killer Spray
Frosty Fur FluIcy FurLow TemperatureEssence of Placebo
Frosty Fur FluIcy FurOverly Moist SkinEssence of Placebo
Frosty Fur FluIcy FurWatery EyesEssence of Placebo
Frozen MangeIcy FurExcessively Wet NoseOrganic Disinfectant Spray
Frozen MangeIcy FurLow TemperatureOrganic Disinfectant Spray
Frozen MangeIcy FurStinky FurOrganic Disinfectant Spray
 
There are many resources on "dependent drop down lists". That's a different question than the one you asked in this thread. Please start a new thread for a new question.
Fair enough, thank you for the help. This got me a long ways!
 
Upvote 0

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Fair enough, thank you for the help. This got me a long ways!
You're welcome. Glad we can assist. One caution about dependent lists is that you have to select from left to right. If you change something in the middle, you'd have to reselect anything to the right of the one you changed. For example, you've picked symptoms 1-5, but then you wanted to change the third symptom. Now the 4th and 5th selected symptoms are not dependent on the new 3rd symptom. You'd have some how make people reselect 4th and 5th again. That'd require some VBA. Just something to consider.
 
Upvote 0
You're welcome. Glad we can assist. One caution about dependent lists is that you have to select from left to right. If you change something in the middle, you'd have to reselect anything to the right of the one you changed. For example, you've picked symptoms 1-5, but then you wanted to change the third symptom. Now the 4th and 5th selected symptoms are not dependent on the new 3rd symptom. You'd have some how make people reselect 4th and 5th again. That'd require some VBA. Just something to consider.
I did find a link from your description that does include some VBA to reset the dependent options(Creating a Dependent Drop Down List in Excel [Step-by-Step Tutorial]). I'm going to spend some time sorting through the values and try to order them better. I think my next step is to try to get all of the "Hot Feet" in a single symptom column, the same for all the others. It's a process, but I do enjoy figuring out things like this. Thank you again
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top