hi JediAccountant, welcome to Excelforum, it would much more helpful to have a sample file with the data and result expected on it