If you are new to VBa then this variation on Stephens' code should be a little easier to follow
This will ignore blanks or zeros and any text entries on your sheet. e.g. headers, and any descriptors you may have.
Can you have negative values, and if so what are the rules that apply.
(The code as it stands will do nothing with negative numbers)
.....the set of data will also be placed in a map, so the data is spread out throughout a large excel sheet, with bits and pieces here and there. will this operation mess up where the data is? It took forever to place the data where it is.
Test any code on a sample/copy sheet until you are happy with it.
The code is not reversible (without a further macro), you cannot "Undo" VBa.
Run it only once on the final data sheet
You can of course save the workbook before running code, and if you are not happy with it, close the workbook without saving.
Cheers
Bookmarks