Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Greater than formula! | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula which is greater tahn or equal to zero | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Need a formula to determine the greater of a or b... | Excel Discussion (Misc queries) |