Find and replace first non-zero value in a range

mjw1592

New Member
Joined
Oct 24, 2017
Messages
1
Hi All,
I have the data shown below... I'd like to find the first non-zero value in a row (highlighted yellow, in this case always a '1') and replace this value with a zero.
Suggestions appreciated!
Thanks in advance
Matt
_ZjVkGN2McM5B61Kc2lz4ahMuTfAEfQ0LgenmmDXEI_7qpIUhWz_GZgFr5XikS2WOGZ_rSJbOqUWJ1EjDaSznYt_Yy6jFuXhbfy8vvUeuIeTDQAwAHunq2wOY8tmAwgEj3k6uczeCPkXuTlyDcmJi96uHTYbVK9viQURJYgVLiDTi2fnUuIZdcld2WpCumWF09DW-TShSnIo78n7_78ZckE6qXZIYVMnU18PoKqA6dNNB4Q-kqhkx35SWrO06jFpNEm7WyGPTOvjFgMhLjVIC7p7bWMIQH3Rc8TMwNMbty6vJ7QuKFAtwyvz6b6NWIbnSny0bhuc81KT8R6Qt8brCLrC0JPZecw_7pWD5eCdY6PToaKKhQk9VijpZkZWocvaUbZX2tdff4FGeJHe0xc1Tb2VYwpA7lXu6tIIYGdsgP9EFND3G6ZTDEW0YkxJonorpI_Mewtble1Ig47lF4Ysu8NW-Hh8pCEIj2pK_K8YL4HOniZ-grMAljQ6dQqwCIs2IbSypgNI6B6Gk-iyltimfxe9P6JfFijkCDVfIKqdKvDr96CvLyvAELoCJC5TpWZoyiVxf0iApDrTlQwbV51xW3pINK4DDfzZtXO9Dp8Rqds=w771-h226-no

PS This is seabird ringing/banding data. The first value is the year of ringing as a chick, abd this study is focussed on sightings of adults. The original data is not easily accessible)
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top