Nvmd, the formula actually worked, the date on the second sheet wasn't correct.