Use a (dummy) binary variable as the 'by changing cell'. For the value
used in the computation use the cell containing the binary value
multiplied by the value of the original 'by changing cell.'
--
Regards,
Tushar Mehta www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions