Excel 2003
I'm trying to verify whether a certain stock traded in a day. I have a data feed that either inputs a time if it traded today or a date if it didn't. I also need to make sure the time falls within this range because I can't use the price if falls outside of normal market hours.
I'm using
=IF(OR(N10>"9:00:00 AM",N10<"4:31:00 PM"),N10,"NONE TODAY")
Currently this is returning the time. If I manually change the reference cell to a date, then excel is putting out a number. If I change the OR function to AND, then the cell returns none today.
I'm open to other ways to get either a true or false value.
Thanks in Advance.
Bookmarks