To make G5 dominate ("override") the formula, test it first as wbeard does. Only AFTER it is evaluated do you address the question of "Hit" or "Miss." It CAN be done after Hit or Miss is considered, but like Ptolemy's epicycles, why do so when there is a simpler, more logical way?
Given the physicality of the context, I2 does not need to be tested for an entry. If blank, it will be treated as "0" and therefore will naturally never give an error when compared to E2 and F2.
Those are your guiding order (G5, then Hit or Miss) and theoretical concern to speed up your spreadsheet or at least simplify its logic (blank I2 is no concern). Suitably simplified logic seems a mild thing, but the clearer your logic, the easier it is to maintain (i.e.: endlessly change it when your boss gets a new thought) and to audit for mistakes.
Speeding up calculation isn't really important nowadays, in itself, unless one had tens of thousands of instances of the formula, as memory is plentiful and CPU's are very fast, but good practices keep your thinking sharp and pay off in other situations when something added "just to be sure" or "as a good general practice" literally provides nothing of value.
This is where i'm at: =IF(AND(I2>F2,I2<E2),"Miss Window","Hit") but i cant get it to work – Exhausted – 2016-11-25T02:01:26.320
How are E2, F2, and G5 related? What happens if more than one of your conditions is true? What if none are true? What if two tests are in conflict (say I2<E2 and I2<F2)? – fixer1234 – 2017-02-27T03:20:51.977