NEED TO INSERT SOME CODE HERE THAT MIRRORS WHAT THE EXCEL SPREADSHEET IS DOING...