Try using DATEVALUE("DATE") to replace DATE in your function.
Excel stores dates as numbers, not text. For example, 5/31/05 is stored as
38,503 and, therefore, DATE must also be converted to a number.
"Lowkey" wrote:
I want to set an IF function based on date.
The premise is that bonus pay is paid only if an employee works up to or
after a specific date. If the end date of the employee is before DATEX, then
do the calcuation, if not, the calculation is irrelevant. It looks like this:
=IF(B3DATE,(T5*U8)/12,"0")
Except the function doesn't use the date in the way I intend. Is there a
different function I should be using and how?
|