Data validation to show name of group.

everblazing

Board Regular
Joined
Sep 18, 2015
Messages
156
Hi

I was wondering, is there a way to use data validation list drop down, which selecting different cell drop down list values would show us a name or a result of the selected group?

eg.
A2 B2 C2 D2
Apple coke hair Result
orange Fanta eyes


So if Orange, Fanta, Hair is selected from each drop down lists the name of that group I want to show in cell D2.

i know how tomake names usind sheet2 data entered.

but what i don't know is what formula do i have to use in cell D2 to show the name of that selected groupo if it was to be selected from each drop down list A2, B2, C2?

appreciate any help.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Are "A2 B2 C2 D2" the group names?
And what are the cell positions where you could select from drop down lists?
 
Upvote 0
no A2, B2, C2, D2 are the cells position for drop down.

the names are for example "Liftup", "Booster", "Gymman".

in sheet2.

categoryA
Fruit
apple
kiwi
orange

Vegetables
Celery
Carrot

Nutts
Almonds
Peanuts
Hazelnuts


So i want to be able to select a mix of these ingrediants which will show me what name of the mix is in D2 sheet1.

I hope this helps
 
Upvote 0
I am still confused.
This is my understanding. Please see if wronged.

You wanna pick up some items using drop-down lists in cells A2, B2, C2.

The drop-down list may be for A2 is:

categoryA (group name)
Fruit
apple
kiwi
orange

for B2 is :

Vegetables (group name)
Celery
Carrot

for C2 is :

Nutts
 (group name)
Almonds
Peanuts
Hazelnuts


So after picking up these 3 items as ingredients, you wanna show the name of the resulting product in D2, e.g. "Liftup", "Booster", "Gymman"?
 
Upvote 0
But we need to know what ingredients are needed to make these products, e.g. "Liftup", "Booster", "Gymman".

Do you have such a table? If so, how does it look like?
 
Upvote 0
But we need to know what ingredients are needed to make these products, e.g. "Liftup", "Booster", "Gymman".

Do you have such a table? If so, how does it look like?


Gymman is combination of Almonds, Hazelnuts, Carrots
Booster is a combination of apple,kiwi,carrot,hazelnuts
Liftup is combination of Orange,Peanut,Celery
 
Upvote 0
Is that exactly 3 ingredients to make a product? (Since given only A2,B2,C2 are for drop-down lists)

I saw 4 in the Booster. (Booster is a combination of apple,kiwi,carrot,hazelnuts)
 
Upvote 0
yes Booster is the one that gives possibility of two selection. however we can have the apple, Kiwi as Applekiwi. wither way the main thing is to know how to get D2 show the name of the combination.

thanks
 
Upvote 0
Hi, as there is insufficient information, I would try to simulate another situation as below. But the rationale of the formula should be the same. Amend to suit your need.

Excel 2007
ABCDEFGHIJ
1DP_list_1DP_list_2DP_list_3ProductIngredient AIngredient BIngredient CResult Product
2A1B1C1P1A1B1C1P1
3A3B2C2PP3A2B2C2P2
4A2B3C1PP2A3B3C3P3
5A3B3C3P3A1B2C3PP1
6A2B3C1PP2
7A3B2C2PP3

<tbody>
</tbody>
Sheet3

Array Formulas
CellFormula
D2{=INDEX($J$2:$J$7,MATCH(1,($G$2:$G$7=A2)*($H$2:$H$7=B2)*($I$2:$I$7=C2),0))}
D3{=INDEX($J$2:$J$7,MATCH(1,($G$2:$G$7=A3)*($H$2:$H$7=B3)*($I$2:$I$7=C3),0))}
D4{=INDEX($J$2:$J$7,MATCH(1,($G$2:$G$7=A4)*($H$2:$H$7=B4)*($I$2:$I$7=C4),0))}
D5{=INDEX($J$2:$J$7,MATCH(1,($G$2:$G$7=A5)*($H$2:$H$7=B5)*($I$2:$I$7=C5),0))}

<tbody>
</tbody>
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Note: Do not try and enter the {} manually yourself

<tbody>
</tbody>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,032
Messages
6,122,770
Members
449,095
Latest member
m_smith_solihull

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