I modified this code per the attached spreadsheet and will upload a file that contains the macro w/ a button
Please let me know if this worked for you and if not why. If it did not work, please upload a sample sheet of data (just ew of your thousands of rows).
If anyone else came up with a solution that is better, please feel free to offer any criticism of my code that will help me help others more effectively. I know that it's best to avoid Copy and Paste methods whenever possible; however, this isn't a macro that requires a great deal of speed since it will be performed once.
'/Assumptions:
'/Each data point is contained w/i one row (true based on spreadsheet)
'/Data begins at row 2 with row 1 being the title or row (see StartRow, which may be changed as-needed) -- true based on spreadsheet
'/Requires the macro be created on the worksheet that contains the data (may be modified from this req. easily)
Last Updated Code: 10:55 AM (Eastern Std. Time on 1/6/2016) but the 10:46AM update should work -- all I did was change some formatting, remove an unnecessary variable, change the Double datatype to Long datatype (which shouldn't really matter either way b/w Double & Long), and clean up some formatting.
Bookmarks