Your table is called Table4 not Table1, so you need to amend that in the formula in the code.