You have to keep all the input parameters in the same sheet. You can easily do it using cell reference. Hope it helps.