View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Allllen[_2_] Allllen[_2_] is offline
external usenet poster
 
Posts: 13
Default Conditional Currency

In B1, use
=MAX(30-A1,0)
--
Allllen


"Loadmaster" wrote:

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?