Generate a list based on two optional conditions

csktwyr

New Member
Joined
Oct 5, 2024
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Normally what we do is two or more sets of list generate depending on the value in the cell.

Ex. If A1 = Coffee then B1 will show a list of flavors of coffee, if A1 = Juice then B1 will show a list of flavors of juice

What I want to get is the reverse.

Now, what I would like to happen is if the cell value in A1 = Coffee, then it will generate a list in B1, let's say Sachet and Jar.

But if I put in cell A2 = Juice, I would want B1 to generate the same list as well. And if I put different values to A1 and A2, then B1 will not generate a list.

I only want the list to generate from B1 and nowhere else.

Is it possible? Any help is greatly appreciated!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
It would be very helpful if you attached a sample file using xl2bb. The sample should contain 8-12 records that are representative of your actual file. Once you have upload that, then please mock up what your solution should look like and use XL2BB to upload that information
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
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