Data Validation issue

dkirk500

New Member
Joined
May 11, 2020
Messages
13
Office Version
  1. 2016
Platform
  1. MacOS
I am new to this world, please bear with me. I have two sheets (Sheet 1 and Sheet 2), On column E of Sheet 2 , I have data that needs to prevent from duplications. So I used the data validation with countif formula on Sheet 2 (Col E) which works fine. However if I insert the data from Sheet 1 and linked to Sheet 2 column E (using vba cell referencing), it doesn't work anymore and it accepts the duplicate value. How my expectation can be achieved ? Any codes or other formulas?

Thanks,
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
using vba cell referencing
Are you sure that you're using vba and not a formula? The 2 are very different.

I think that we would need to see a visual example of the 2 sheets and the formula / vba that you are using to reference the cells in order to understand exactly what you're trying to achieve.
 
Upvote 0

Forum statistics

Threads
1,215,579
Messages
6,125,646
Members
449,245
Latest member
PatrickL

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