Data Validation to check Dynamic range in another sheet

S

Soniya

Hi all,

I have a macro which copies data from an input sheet to
data sheet

for eg. I have A number in sheet1 A1 which will be copied
to sheet2 A1,a2,a3 etc


can i use a data validation in sheet1 A1 not to repeat
the same number which is already in sheet2 column A ? (
for each input sheet column a will have one more record.
so the number of rows is not fixed.

something like a datavalidation formula :

=indirect(countif("Sheet2!MyRange"))not morethan 1 ???

TIA

Soniya
 
T

Tom Ogilvy

Data validation only applies to manual entry of data. While it is not clear
what you want, it doesn't sound like you want to apply it to manual entry of
data.
 
S

Soniya

Yes Tom,

I want to apply it for manual entry of data..

only thing is that it should not accept a number which is
already entered in that cell which is sroed in the next
sheet in a specific column


Soniya
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top