Data Validation Control based on another Cell.

srizki

Well-known Member
Joined
Jan 14, 2003
Messages
1,844
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I copy and paste dates in column, “M”, I want a data validation that if a corresponding cell in column, “H” house, “8500100”, the date should be 12-31-2017, otherwise leave it as is, whatever is copied.

Please advise.
 
I think you are going to need to come at this from a different angle.
Without the use of helper columns or VBA, I don't think you can do what you want.
As you know, a cell can either have a hard-coded value or a formula in it, but never both at the same time.

Also, Data Validation would not do what you want anyway. That only limits what can be put in a cell. But Data Validation itself cannot populate the cell for you!
 
Upvote 0

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
I just want that when I copy and paste the dates in that column, if the corresponding cell has 8500100, the date cell should give message, the date should be, "12-31-2017".
I think it will not work, so I put conditional formatting, so that way I can change it manually.

Thanks.
 
Upvote 0
The problem is Copying & Pasting overwrites Data Validation.
You could protect your sheet to protect the Data Validation, but that would disable the ability to Copy & Paste.
 
Upvote 0

Forum statistics

Threads
1,215,422
Messages
6,124,811
Members
449,191
Latest member
rscraig11

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