ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Data Validation Help (https://www.excelbanter.com/excel-discussion-misc-queries/135662-data-validation-help.html)

Sean

Data Validation Help
 
I am trying to not allow any values to be typed in a row if the last column
in that row has the word "COMPLETED" in it. the word completed is linked to
another sheet but it does display the exact word on this sheet with a =cell
formula between sheets.

Mladen_Dj

Data Validation Help
 
On Mar 20, 11:53 pm, Sean wrote:
I am trying to not allow any values to be typed in a row if the last column
in that row has the word "COMPLETED" in it. the word completed is linked to
another sheet but it does display the exact word on this sheet with a =cell
formula between sheets.


Let's say last column is column E. Select range you want to validate
and in Data Validation dialog under Costom enter this formula:

=IF($E1="COMPLETED";ISBLANK(A1);NOT(ISBLANK(A1)))

It will not alow user to enter text or value in cell after "COMPLETED"
is in E1, but it still will be posible to delete values or text from
cells.

--
Regards,
Mladen
http://excelancije.bloger.hr


Sean

Data Validation Help
 
That didn't really work, all I did was change the E1 to my cell with the
completed in it. What was the A1 referring to also.

Mladen_Dj

Data Validation Help
 
On Mar 21, 4:31 pm, Sean wrote:
That didn't really work, all I did was change the E1 to my cell with the
completed in it. What was the A1 referring to also.


Sean,
Its important to have dollar sign ($) in reference E1. Instead E1 put
upper right cell of your validated range, including column with
"COMPLETED" formula. Also, instead A1 you need to put inside uper left
cell of your validation range.

regards,
--
Mladen
http://excelancije.bloger.hr



All times are GMT +1. The time now is 04:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com