Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to validate an entry based upon it NOT being on a list. (The
entry is a part number and the list is a table of currently out-of-stock items, so I want to present an appropriate warning message). Here is the validation custom formula: =IF(ISERROR(VLOOKUP(Q2,A1001:A1100,1,FALSE)),TRUE, FALSE) This works fine, but when the cell is copied down the column, the value Q2 (the input cell itself) changes as we would expect and hope. However, so does the lookup range A1001:A1100 which is a disaster. I tried giving the Out of Stock table a name and using that in place of the absolute range, but that just does not work. It does not appear that the custom validation formula can accept a data name. I would prefer this solutions so that I can put the Out of Stock table in another tab. This is what I would like: =IF(ISERROR(VLOOKUP(Q2,OutOfStock,1,FALSE)),TRUE,F ALSE) Anyone have an idea? -- |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Validate date entry in a text box. | Excel Discussion (Misc queries) | |||
validate duplicate entry in a column | Excel Discussion (Misc queries) | |||
Validate Email address entry | Excel Discussion (Misc queries) | |||
Validate in WS to prevent dual data entry | Excel Worksheet Functions | |||
Validate MsgBox Entry to Data in Cells | Excel Discussion (Misc queries) |