Solved

Data validation working in 1 column but not another?

Posted on 2011-03-11
11
198 Views
Last Modified: 2015-02-12
I am setting up an Excel workbook and have 3 columns, two use data validation that is looking at data from two other worksheets. One of the columns works and won't let me enter any other data into it. The other column works and has the drop down list but it lets me put whatever else in that I want. I am trying to restrict both columns to a certain set of data.
0
Comment
Question by:ThorinO
  • 4
  • 4
  • 2
  • +1
11 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 35113515
Hello ThorinO

Under "Error Alert" tab in data validation make sure you check the box that says "Show error alert after invalid data is entered". If you don't check that you can enter anything.....

regards, barry
0
 
LVL 10

Author Comment

by:ThorinO
ID: 35113557
It is checked, I unchecked and rechecked and it still does not do anything. Can I have two data validations on 1 worksheet?
0
 
LVL 50

Expert Comment

by:barry houdini
ID: 35113643
You should be able to have many data validations. Are you saying that you can type in a value which isn't in the dropdown list, without an alert? [Note that validation doesn't prevent you pasting invalid values]?

Can you post the workbook, or a sample?

barry
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 29

Expert Comment

by:gowflow
ID: 35117300
Can you post the formulas or what you are trying to acheive in the validation ? as sometime it is tricky and if the formulas not well built it will not work correctly.
gowflow
0
 
LVL 10

Author Comment

by:ThorinO
ID: 35130424
Attached is pretty much what I am using the only thing I changed was the employee names on the 3rd sheet. On the first sheet the dropdowns are working for both columns, however on the employee column I can type whatever I want even though I shouldn't be able to. The Hardware tab works correctly.
InventoryExample.xlsx
0
 
LVL 29

Expert Comment

by:gowflow
ID: 35130645
Pls chk the file now
gowflow
InventoryExample.xlsx
0
 
LVL 10

Author Comment

by:ThorinO
ID: 35130719
Now it works, can you let me know what was I doing wrong please?
0
 
LVL 29

Accepted Solution

by:
gowflow earned 500 total points
ID: 35131295
I added in the validation the range =Employees!A1:A100 it seems that Excel 2007 does'nt like floating tables as it accepted your first table without a range. That is my only explanation. Make sure you modify the range when you add employees. I also cleared the circle data in case there was somehting stcuk. I am not very familiar with validation in 2007 but more in 2003.
gowflow
0
 
LVL 10

Author Closing Comment

by:ThorinO
ID: 35131334
Cool thanks
0
 
LVL 29

Expert Comment

by:gowflow
ID: 35131738
Welcome and tks for the grade !
gowflow
0
 

Expert Comment

by:rossconz
ID: 40607252
If there is a blank entry in the look up range then one can enter whatever one likes in the cell which has the Drop Down List.

range =Employees!A1:A76

So if A76 is a blank cell then the Cell with the Drop Down List will take any entry.

So I would suggest -
a. The lookup list has no blank cells
b. You give it a Range Name - In later Excel this is under Formulas/Named Manager  
c. The cells with the Drop Down List refer to the Named Range so
  Source Box is   =Named_Range
d. When an entry is added to the lookup list then the Named Range will need to be redefined to include the additional entry.

Refer to the attached Excel Sheet.
Column D now contains an example with the Named Range 'Employees_76' containing an empty cell. So any entry can be entered.
InventoryExample.xlsx
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Assigning VBA code to a specific worksheet 3 25
VLOOKUP 6 18
Error 1004: Application-defined or object-defined error 10 17
Formula Help 3 23
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associateā€¦
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calculā€¦
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question