Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

from 0001 to 9999 in excel

Status
Not open for further replies.

waely

Programmer
Dec 7, 2003
227
US
Hi people,
does anyone know how I can start with 0000 in the first cell and increment by 1 until 9999??

thanks in advance..
 
Hi,

You know that Excel will do that without anything special -- enter 0 in A1 and drag down as far as you need.

Skip,

Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
 
the trick is I want to show 0001 in the first cell then 0002 .... to 9999.

thanks
 
Hello Waely,
This is just a formatting cells issue, Highlight the Column, right click and 'Format Cells', then in Costom formats, create one like #0000. Once done, start with 0 in cell 'A1' and drag down.
Hope this helps...
 
thanks rocavi81 but for some reason when I drag a number down it doesn't incroment it. i put 1 and changed the format to number and when I draged it stayed 1.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top