Data validation across worksheets/workbooks

Kloot8

New Member
Joined
Apr 25, 2002
Messages
2
How can I validate data across workbooks?
I'd like to set up an data entry form, where the user has to assign a unique ID to an item. To make sure the ID is a unique one, I thought I could transfer previously assigned IDs into a column *of another workbook*, and set a validation rule in the worksheet form's data entry cell that validates that the chosen number is not present among those in the column in the column of the other workbook. To my disappointment, Excel told me that data validation cannot be used across worksheets/workbooks. Is there a workaround, or can anyone think of another way to warn the user that a previously assigned ID has been entered ???

Thanks for your help!!
Klaus
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.
On 2002-04-26 04:15, Kloot8 wrote:
How can I validate data across workbooks?
I'd like to set up an data entry form, where the user has to assign a unique ID to an item. To make sure the ID is a unique one, I thought I could transfer previously assigned IDs into a column *of another workbook*, and set a validation rule in the worksheet form's data entry cell that validates that the chosen number is not present among those in the column in the column of the other workbook. To my disappointment, Excel told me that data validation cannot be used across worksheets/workbooks. Is there a workaround, or can anyone think of another way to warn the user that a previously assigned ID has been entered ???

Thanks for your help!!
Klaus

Use a named range for your data validation range. ie. name your range in the other sheet
and use this in your list.
 
Upvote 0
Kloot,

(from the film ?)

a named range is a range of cells which you assign a name...

so rather than a range of A1:Z100, you can call it "Klootsummary" or something more appropriate

to facilitate this :

insert
names
define

and follow the boxes
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,388
Members
448,957
Latest member
Hat4Life

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