ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Data Validation - Custom (https://www.excelbanter.com/excel-discussion-misc-queries/60893-data-validation-custom.html)

Mary Ann

Data Validation - Custom
 
How do I use the custom validation. I want to enter a validation which does
not allow the cells in column G to be more than the cell on the same row in
column E + 50.

I have selected all the cells, gone to Data Menu, Validation. Then on the
Settings tab picked Custom and then need to type the formula. Ive treid a
few but cant seem to get it right.

Ron Coderre

Data Validation - Custom
 
Try this:
With G1 as the active cell....
DataData Validation
Allow: Custom
Formula: =G1<=(E1+50)


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Mary Ann" wrote:

How do I use the custom validation. I want to enter a validation which does
not allow the cells in column G to be more than the cell on the same row in
column E + 50.

I have selected all the cells, gone to Data Menu, Validation. Then on the
Settings tab picked Custom and then need to type the formula. Ive treid a
few but cant seem to get it right.


Bob Phillips

Data Validation - Custom
 
Mary Ann wrote:
How do I use the custom validation. I want to enter a validation which does
not allow the cells in column G to be more than the cell on the same row in
column E + 50.

I have selected all the cells, gone to Data Menu, Validation. Then on the
Settings tab picked Custom and then need to type the formula. Ive treid a
few but cant seem to get it right.


Mary Ann,

Select G1, DataValidation, Custom type and add a formula of

=G1<=E1+50

Then select the other cells including G1, go back to DataValidation,
and you will get a message asking to extend. Say yes.

HTH

Bob

Mary Ann

Data Validation - Custom
 
Works fab - thank you. I had forgotten to include the G1 !!

"Ron Coderre" wrote:

Try this:
With G1 as the active cell....
DataData Validation
Allow: Custom
Formula: =G1<=(E1+50)


Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"Mary Ann" wrote:

How do I use the custom validation. I want to enter a validation which does
not allow the cells in column G to be more than the cell on the same row in
column E + 50.

I have selected all the cells, gone to Data Menu, Validation. Then on the
Settings tab picked Custom and then need to type the formula. Ive treid a
few but cant seem to get it right.


Mary Ann

Data Validation - Custom
 
Thank you - works great.

"Bob Phillips" wrote:

Mary Ann wrote:
How do I use the custom validation. I want to enter a validation which does
not allow the cells in column G to be more than the cell on the same row in
column E + 50.

I have selected all the cells, gone to Data Menu, Validation. Then on the
Settings tab picked Custom and then need to type the formula. Ive treid a
few but cant seem to get it right.


Mary Ann,

Select G1, DataValidation, Custom type and add a formula of

=G1<=E1+50

Then select the other cells including G1, go back to DataValidation,
and you will get a message asking to extend. Say yes.

HTH

Bob



All times are GMT +1. The time now is 10:38 PM.

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