If then question

G

Guest

Hello,
I'd like to write an error notice for our time sheets. I'd like to warn the
user that if
A1>24, then he needs to use A1-24 hours of leave which otherwise will be lost.

Thanks in advance,
Ellen
 
D

Dave Peterson

How about putting a formula in B1:
=if(a1<=24,"","You need to use: "&text(a1-24,"#,##0")&" hours or lose them!")

Format it in big red letters.
 

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