Setting a cell rule

P

phowe43

I have an worksheet that requires extensive manual data entry. Human nature
says people will make keying errors. I'm looking for a safe guard.

If b3 is Starting Mileage / b4 is Ending mileage and b5 is the difference of
the two - how can I place a rule in b5 that basically says "b4" MUST be
greater than "b3".

Can I expand this further so that if b5 is greater than 600 (unlikely that a
driver would drive more than 600 miles in a given day), that it won't allow
entry. Basically forcing the data entry person to take a second look because
more than likely they made a keying error.
 
P

phowe43

Thanks so much Don.

Don Guillett said:
=IF(IF(B3>B4,"wrong",B4-B3)>600,"too many",IF(B3>B4,"wrong",B4-B3))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(e-mail address removed)
 

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