Is there a way to replace a hyphon line ( - ) with a number?

Also is there a way to do this and skip a hyphon?

v v v
----------