Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
IF, OR and SUM function
I am trying to make a function that looks at 2 weeks on a timecard and flags
if one week sum is greater than 40. I can't get it entered correctly. The logic is: If the sum of B9:H9 is greater than 40, OR the sum of I9:O9 is greater than 40, put "0", otherwise put the sum of B9:O9. I really appreciate your help! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
IF, OR and SUM function
Try this...
=IF(OR(SUM(B9:H9)40,SUM(I9:O9)40),0,SUM(B9:O9)) -- Biff Microsoft Excel MVP "Machel" wrote in message ... I am trying to make a function that looks at 2 weeks on a timecard and flags if one week sum is greater than 40. I can't get it entered correctly. The logic is: If the sum of B9:H9 is greater than 40, OR the sum of I9:O9 is greater than 40, put "0", otherwise put the sum of B9:O9. I really appreciate your help! |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
IF, OR and SUM function
PERFECT! thank you
"T. Valko" wrote: Try this... =IF(OR(SUM(B9:H9)40,SUM(I9:O9)40),0,SUM(B9:O9)) -- Biff Microsoft Excel MVP "Machel" wrote in message ... I am trying to make a function that looks at 2 weeks on a timecard and flags if one week sum is greater than 40. I can't get it entered correctly. The logic is: If the sum of B9:H9 is greater than 40, OR the sum of I9:O9 is greater than 40, put "0", otherwise put the sum of B9:O9. I really appreciate your help! |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
IF, OR and SUM function
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "Machel" wrote in message ... PERFECT! thank you "T. Valko" wrote: Try this... =IF(OR(SUM(B9:H9)40,SUM(I9:O9)40),0,SUM(B9:O9)) -- Biff Microsoft Excel MVP "Machel" wrote in message ... I am trying to make a function that looks at 2 weeks on a timecard and flags if one week sum is greater than 40. I can't get it entered correctly. The logic is: If the sum of B9:H9 is greater than 40, OR the sum of I9:O9 is greater than 40, put "0", otherwise put the sum of B9:O9. I really appreciate your help! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel Data Validation/Lookup function does function correcty | Excel Worksheet Functions | |||
copy of excel file not showing formulal/function in the function b | Excel Discussion (Misc queries) | |||
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) | Excel Worksheet Functions | |||
Offset function with nested match function not finding host ss. | Excel Worksheet Functions | |||
Emulate Index/Match combo function w/ VBA custom function | Excel Worksheet Functions |