If you use that canned example, then you cannot do it.
Even if you copy it and modify it, then you cannot put the data where you want it.
Why?
Because you want to write into the first row, but you don't know what value to write there until the last row has already been written.
The only way to get the file the way you want it is to write the spreadsheet file with the example, then open up the file as a text file, and insert the elapsed time where you want it. That means writing the original to a temp file, then creating the final file. Read the first line of the temp file, then append your elapsed time to it, and write it to the final file. Then read the rest of the temp file and write it to the final.
If you could stand it, consider appending the elapsed time as a new row following the last row of data. Considerably easier.
Depending on how much data you are collecting, you could write your own VI to collect it into an array, append the elapsed-time to the array, then write the modified array to a file.