All of my attempts to simplify this lop have failed an every change I have to make to the if statement has to be made over and over for all lines. Starting at the second row it is supposed to check to make sure the cell in column 5 of the current row is greater than zero to start reading through the rows. Then to check the value in the top cell of the current column and if its value matches one of the two values listed in the if then statements. Values range from -2.11 to 2.1. If the statement is satisfied then the corresponding value of the row and column would be converted from meters to inches and written to the new sheet "Upchain Edit" in the column with the corresponding column header value instead of equaling line = line +BLAHBLAH.
Example new sheet header layout:
Excel.JPG
Bookmarks