Conditional Currency

L

Loadmaster

Cell A1 has the number of hrs I have flew in the past two months. In order to
maintain my currency I must fly at least 30 hrs in any 3 months period.
Should I attain the 30 hrs or more in the past two months, I would like cell
B1 to read “0â€. If I still require hours to maintain my currency within the
last month, I would like the actual figure to be displayed in cell B1. Can
anyone help me out with this one?
 
J

Jacob Skaria

In A1 if you enter the time in the below format
26:
excel will convert that to time format 26:00:00

Then enter the formula in B1
=1.25-A1

If this post helps click Yes
 
J

Jacob Skaria

If 26: is getting converted to 2:00 then format A1

Select A1. Right click>Format Cells>Custom>Type
[h]:mm

If this post helps click Yes
 
J

Jacob Skaria

If the entry is in time format should'nt that be

=MAX(1.25-A1,0)

If this post helps click Yes
 
A

Allllen

Maybe, but the question didn't mention the time format.
It was just a number of hours.
 

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