Adding to cells in a column

SetofNine

New Member
Joined
Aug 5, 2016
Messages
4
I have a column of numbers not in consecutive order or together. I want to add the number 1 to all the numbers in that column but not into the blank cells in between the cells that have numbers. There could be 6, 8, or 12 blank cells in between and there are 70 cells with numbers that need updating. Any help would be greatly appreciated.
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
I cannot think of a way to do this IN the cell, other than with VBA. copy/paste special/add will add 1 to the empty clls as well.

If you would consider using a helper column, this becomes simple...
=if(A1="","",a1+1)
copy down

Then, if needed, copy/paste values over the original data and delete the helper/formulas
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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