Hello everyone,
So basically I have a sheet with a time table of Monday to Friday for daycare employees to insert their schedule. These employees do not necessarily work 7hrs a day in a block, they can work in the AM and return after noon, if there is a gap of 1.5 hrs or more they receive a split shift premium. There are two formulas of concern. The first calculates the split between shifts, based on selections from drop down lists, =IF(E17=$Y$8,0,(C18-E17)*24), this one works fine.
The second formula looks at the results of the first and determines if there is a gap >=1.5 =IF(OR(AA16>=1.5,AA17>=1.5,AA18>=1.5),"Y","N").
The problem is with the second formula. AA16 is equal to 1.5 (not 1.49999 etc) yet returns a "N". If I change the reference to another cell and just type 1.5 if says "Y".
Why is the second IF function not respecting the condition? It only seems to mess up if the first one is exactly 1.5 despite the condition being >=
If anyone has an idea on the problem it would be greatly appreciated! Thanks!
-Dawson
Bookmarks