I have a cell which has a basic formula in (adding up from 2 other cells) This number can end up being a minus number (-167), If this happens I need to be able to make that minus number appear as a zero (0). Is this possible? please help. =IF(A1+B1<0,0,A1+B1) Alternative =MAX(0,A1+B1) Gord Dibben Excel MVP On Sat, 7 May 2005 08:28:03 -0700, "marcus1066" wrote: >I have a cell which has a basic formula in (adding up from 2 other cells) >This number can end up being a minus number (-167), If this happens I need to >be...
I’d like to build the following expression in my query GetStartWeekNumber(DatePart("ww",[EnteredDate]), Year([EnteredDate])) So if EnteredDate = 11/3/2009 the function would return 11/1/2009 But GetStartWeekNumber does not exist as an Access Built-In Function. Is there another way to do this as an expression in a query? I’m not familiar with creating my own functions. Thanks. That would depend on how you define the start of the week... One option would be to get the day-of-week number of the date (in my system/setup, Monday is day 2), then subtract one less than that...
Although sequences are a type of function, they are usually distinguished notationally from functions in that the input is written as a subscript rather than in parentheses, i.e. an rather than f(n). There are terminological differences as well: the value of a sequence at the input 1 is called the "first element" of the sequence, the value at 2 is called the "second element", etc. Also, while a function abstracted from its input is usually denoted by a single letter, e.g. f, a sequence abstracted from its input is usually written by a notation such as {\displaystyle (a_{n})_{n\in A}} , or just as {\displaystyle (a_{n})} . Here A is the domain, or index set, of the sequence. sequential numbering in word