If then question

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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

Similar Threads

avoid embedded if statements 3
Adding Times 7
Start, Finish including break time 2
IF Statment 2
Copying a cell value to another sheet by using If statement 1
Date/Time 1
Date/time difference 3
Excel Need Countifs Formula Help 0

Back
Top