Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tracey
 
Posts: n/a
Default Greater than formula

What is the correct formula for this situation:

A1 + A2 = 1900 but if 1900 is greater than 1800 = 1800

the reason, my staff can only accumulate sick time hours to a maximum of
1800.

thanks
Tracey
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
wjohnson
 
Posts: n/a
Default Greater than formula


Try the following:
=IF(A1+B1<=1800,A1+B1,IF(A1+B11800,1800,"Check"))
The "Check" can be any value you want for the false part of the last IF
statement - This can be a warning or you can set it to 1800 also


--
wjohnson
------------------------------------------------------------------------
wjohnson's Profile: http://www.excelforum.com/member.php...o&userid=29640
View this thread: http://www.excelforum.com/showthread...hreadid=498457

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic
 
Posts: n/a
Default Greater than formula

Try...

=MIN(A1+A2,1800)

Hope this helps!

In article ,
Tracey wrote:

What is the correct formula for this situation:

A1 + A2 = 1900 but if 1900 is greater than 1800 = 1800

the reason, my staff can only accumulate sick time hours to a maximum of
1800.

thanks
Tracey

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Greater than formula! nekteo Excel Worksheet Functions 2 December 29th 05 05:09 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula which is greater tahn or equal to zero bruce2444 Excel Worksheet Functions 2 September 7th 05 12:24 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Need a formula to determine the greater of a or b... sonyav Excel Discussion (Misc queries) 2 March 17th 05 08:13 PM


All times are GMT +1. The time now is 11:51 AM.

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

About Us

"It's about Microsoft Excel"