Drop-Down and IF Statement Data Validation in one cell

gimegg

New Member
Joined
Jul 5, 2022
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

Here's my problem.
The objective is for people to only be able to touch a cell if a condition is met and they have to select from a list.

Example: people using this excel will only be able to write in cell C2 and choose from a drop-down if B2 = "lalala".
I thought about doing it with Data Validation but with no luck. Is is possible to do it this way or is there someway around it?


I'd gladly appreciate any help you can give me.

Thank you

Gimena
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
You can use a dynamic dropdown list that is empty if B2 <> "lalala". How is the content of the dropdown list currently defined?
 
Upvote 0
I'm new to Excel so I'm not sure what you mean by dynamic dropdwown list.
My list is just a list of names.
 
Upvote 0
You can use a dynamic dropdown list that is empty if B2 <> "lalala". How is the content of the dropdown list currently defined?
I'm new to Excel so I'm not sure what you mean by dynamic dropdwown list.
My list is just a list of names.
 
Upvote 0
Put the list of names in a worksheet, and use a formula like this for the list:
Excel Formula:
=IF($B$2="lalala",$F$2:$F$5,$G$2)
F2:F5 contains the list of names
G2 is blank

The list will be empty if B2 is not "lalala".

See linked sample.
 
Upvote 0
Last edited by a moderator:
Upvote 0
Thank you it's not working as a data validation.
I think I wasn't clear and I forgot some information. Coming back to the example, I have already a formula in cell C2 which shows the word "FILL" if B2="lalala".
I don't know if that clears is up a bit.
 
Upvote 0
My file is working exactly as what you described. Please explain what you mean by "not working as a data validation." What are you getting and how is it different than what you expect?

Having a formula in C2 should not affect the solution I provided. I updated the file to show that. The file can be accessed at the same link above in post 6.
 
Upvote 0
Yes, I see it works wonderful and that's exactly what I'm looking for but for some reason it doesn't work. Could it be related to the fact the B2 is also a drop-down?
 
Upvote 0

Forum statistics

Threads
1,215,419
Messages
6,124,796
Members
449,189
Latest member
kristinh

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