A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Conditional Currency



 
 
Thread Tools Display Modes
  #1  
Old June 14th, 2009, 03:15 PM posted to microsoft.public.excel.worksheet.functions
Loadmaster
external usenet poster
 
Posts: 82
Default Conditional Currency

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?
  #2  
Old June 14th, 2009, 04:17 PM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Conditional Currency

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
---------------
Jacob Skaria


"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?

  #3  
Old June 14th, 2009, 04:18 PM posted to microsoft.public.excel.worksheet.functions
Allllen[_2_]
external usenet poster
 
Posts: 10
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?

  #4  
Old June 14th, 2009, 04:23 PM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Conditional Currency

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

Select A1. Right clickFormat CellsCustomType
[h]:mm

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

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
---------------
Jacob Skaria


"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?

  #5  
Old June 14th, 2009, 04:26 PM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Conditional Currency

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

=MAX(1.25-A1,0)

If this post helps click Yes
---------------
Jacob Skaria


"Allllen" wrote:

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?

  #6  
Old June 14th, 2009, 07:17 PM posted to microsoft.public.excel.worksheet.functions
Allllen[_2_]
external usenet poster
 
Posts: 10
Default Conditional Currency

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


"Jacob Skaria" wrote:

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

=MAX(1.25-A1,0)

If this post helps click Yes
---------------
Jacob Skaria


"Allllen" wrote:

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?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:50 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 OfficeFrustration.
The comments are property of their posters.