custom validation

T

tjb

When a cell is equal to *.0000 I want there to be a warning. So for instance
if A1 was 711200.0000 there should be an error but if it was 711200.4720.197
or just 711200.4720 it should not give an error. Thanks!
 
F

Frank Kabel

Hi
try
=RIGHT(A1,5)<>".0000"
as custom validation rule (Menu: 'Data - Validation'
 
T

tjb

I tried that but it doesn't work, any other ideas? Could it be because of
cell formatting?
 
B

Bernie Deitrick

tjb,

Use the custom formula:

=MID(A1,FIND(".",A1)+1,4)<>"0000"

HTH,
Bernie
MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top