Function - Worksheet

Changed the variable name inside the function to better represent what
is being calculated