Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Data validation using multiple ranges
I'm currently checking for duplicate entries in a sheet by using data validation - =ISNA(VLOOKUP($C53,RANGE1,1,FALSE)), so that if a duplicate is entered, it brings up an error message. What I want to do is extend this to include other ranges i.e. =ISNA(VLOOKUP($C53,RANGE1 RANGE2 RANGE3 etc,1,FALSE)) Is this possible? And if so, how? I've tried commas, semicolons, colons, but nothing seems to work. -- madbloke ------------------------------------------------------------------------ madbloke's Profile: http://www.excelforum.com/member.php...o&userid=14422 View this thread: http://www.excelforum.com/showthread...hreadid=545836 |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Data validation using multiple ranges
madbloke wrote:
I'm currently checking for duplicate entries in a sheet by using data validation - =ISNA(VLOOKUP($C53,RANGE1,1,FALSE)), so that if a duplicate is entered, it brings up an error message. What I want to do is extend this to include other ranges i.e. =ISNA(VLOOKUP($C53,RANGE1 RANGE2 RANGE3 etc,1,FALSE)) Is this possible? And if so, how? I've tried commas, semicolons, colons, but nothing seems to work. =OR(ISNA(VLOOKUP($C53,RANGE1,1,FALSE)), ISNA(VLOOKUP($C53,RANGE2,1,FALSE)), ISNA(VLOOKUP($C53,RANGE3,1,FALSE))) |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Data validation using multiple ranges
I'm assuming you'd want to use =AND(..) instead of =OR(...) as Paul suggested.
"Paul Lautman" wrote: madbloke wrote: I'm currently checking for duplicate entries in a sheet by using data validation - =ISNA(VLOOKUP($C53,RANGE1,1,FALSE)), so that if a duplicate is entered, it brings up an error message. What I want to do is extend this to include other ranges i.e. =ISNA(VLOOKUP($C53,RANGE1 RANGE2 RANGE3 etc,1,FALSE)) Is this possible? And if so, how? I've tried commas, semicolons, colons, but nothing seems to work. =OR(ISNA(VLOOKUP($C53,RANGE1,1,FALSE)), ISNA(VLOOKUP($C53,RANGE2,1,FALSE)), ISNA(VLOOKUP($C53,RANGE3,1,FALSE))) |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Data validation using multiple ranges
DarkByte wrote:
I'm assuming you'd want to use =AND(..) instead of =OR(...) as Paul suggested. "Paul Lautman" wrote: madbloke wrote: I'm currently checking for duplicate entries in a sheet by using data validation - =ISNA(VLOOKUP($C53,RANGE1,1,FALSE)), so that if a duplicate is entered, it brings up an error message. What I want to do is extend this to include other ranges i.e. =ISNA(VLOOKUP($C53,RANGE1 RANGE2 RANGE3 etc,1,FALSE)) Is this possible? And if so, how? I've tried commas, semicolons, colons, but nothing seems to work. =OR(ISNA(VLOOKUP($C53,RANGE1,1,FALSE)), ISNA(VLOOKUP($C53,RANGE2,1,FALSE)), ISNA(VLOOKUP($C53,RANGE3,1,FALSE))) Oops! |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Data validation using multiple ranges
Paul Lautman Wrote: DarkByte wrote: I'm assuming you'd want to use =AND(..) instead of =OR(...) as Paul suggested. "Paul Lautman" wrote: madbloke wrote: I'm currently checking for duplicate entries in a sheet by using data validation - =ISNA(VLOOKUP($C53,RANGE1,1,FALSE)), so that if a duplicate is entered, it brings up an error message. What I want to do is extend this to include other ranges i.e. =ISNA(VLOOKUP($C53,RANGE1 RANGE2 RANGE3 etc,1,FALSE)) Is this possible? And if so, how? I've tried commas, semicolons, colons, but nothing seems to work. =OR(ISNA(VLOOKUP($C53,RANGE1,1,FALSE)), ISNA(VLOOKUP($C53,RANGE2,1,FALSE)), ISNA(VLOOKUP($C53,RANGE3,1,FALSE))) Oops! that's done the trick! Thanks, all! -- madbloke ------------------------------------------------------------------------ madbloke's Profile: http://www.excelforum.com/member.php...o&userid=14422 View this thread: http://www.excelforum.com/showthread...hreadid=545836 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
PivotTable - Multiple Consolidation Ranges | Excel Worksheet Functions | |||
ranking query | Excel Discussion (Misc queries) | |||
From several workbooks onto one excel worksheet | Excel Discussion (Misc queries) | |||
graph multiple data ranges | Charts and Charting in Excel | |||
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? | Excel Discussion (Misc queries) |