Overriding zero-strings with previous line constant

J

Jim May

In my Col-A I have the below formula copied down 10,000 rows
I get either 1-1234 or "" (zero-strings) as a result.

I want to repeat the occasional change in the numbers 1-1234 (row 10)
and 1-2222 (Row1200) to OVERRIDE the zero-strings. How can this be done

I thought of using Special Cells Blank - but such of course doesn't work to
select the zero-strings as they ARE NOT BLank.

Any help appreciated on this..


=IF(MID(C12,2,1)="-",C12,"")
 
D

Dave Peterson

Maybe...

=IF(MID(C12,2,1)="-",C12,c11)

You may have to use a different formula in the top cell--just to "prime the
pump".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top