Re: I need help with a formula.



Hi QA,

Your question isn't entirely clear, however I think
this is what you are looking for.

=IF((H7*24*60)<=35,"On Target","Not on Target")

The extra brackets are not necessary.
Time is stored as a fraction of a day
so multiplying by 24 takes it to hours
then multiplying by 60 takes it to minutes.
Of course you can just multiply by 1440

HTH
Martin

"QA Queen" <QA Queen@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8D381C97-C956-4A6E-840B-ED8F3C4D6E0B@xxxxxxxxxxxxxxxx
I've subtracted two dates and now I want to do a IF statement. Do I have
to
convert to numeric to do that? It's not bringing up correct values. At
this
time H7 equals :45. How do I get the formula to work?

=IF(H7<=35,"On Target","Not on Target")


.