Hi all,
I've created a spreadsheet for our company's credit card expense reports that has dependent data lists for showing valid account numbers in a drop down (Column E) based on the home department of the employee for whom the report is being completed. The workbook worked great until I revised it this year adding a column that allowed for the "home" department to be over-ridden on any individual line item to use a valid account number from a different department.
I used the following formula in the Data Validation source: "=IF(G8="",INDIRECT($C$4),INDIRECT(G8))" where C4 is the home department and G8 is the Department over-ride.
This works with one exception. When the G8 (Dept Over-ride) is left blank the account number can be filled with any text/data without a validation error. I'm wondering how I fix this to make sure that only approved data is able to be entered in?
(The validation error does work properly when there is data in cell G8.)
Mr. Excel 1.PNG
Bookmarks