Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Sequential numbering by 6

I am creating a file to print on some cards. The same number has to repeat 6
times and then be in sequential order. Because I have '0001 , I can not do
any of the quick fill options because of the '.
For ex.
'0001
'0001
'0001
'0001
'0001
'0001
'0002
'0002
ETC....

I need to number to 357-- is there an easy way to do this ? I need to have
4 positions on my printed sheet because its a parking pass and the vendor
requires the numbers to match their lot numbers.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sequential numbering by 6

You could put this in a cell in row 1 and drag down as far as you needed:

=TEXT(1+(INT((ROW()-1)/6)),"0000")



BattyKat wrote:

I am creating a file to print on some cards. The same number has to repeat 6
times and then be in sequential order. Because I have '0001 , I can not do
any of the quick fill options because of the '.
For ex.
'0001
'0001
'0001
'0001
'0001
'0001
'0002
'0002
ETC....

I need to number to 357-- is there an easy way to do this ? I need to have
4 positions on my printed sheet because its a parking pass and the vendor
requires the numbers to match their lot numbers.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,069
Default Sequential numbering by 6

Here is one way....

Instead of '0001 in A1:A6, just enter the number 1. Make column A
left-justified. In A7 enter this formula:

=IF(COUNTIF(A1:A6,A6)<6,A6,A6+1)

Copy A7 down through row 2142. Select column A, then select Format Cells.
On the Number tab, select Custom. In the Type box, enter 0000, then click OK.

Hope this helps,

Hutch

"BattyKat" wrote:

I am creating a file to print on some cards. The same number has to repeat 6
times and then be in sequential order. Because I have '0001 , I can not do
any of the quick fill options because of the '.
For ex.
'0001
'0001
'0001
'0001
'0001
'0001
'0002
'0002
ETC....

I need to number to 357-- is there an easy way to do this ? I need to have
4 positions on my printed sheet because its a parking pass and the vendor
requires the numbers to match their lot numbers.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Sequential numbering by 6

Try this...

On an empty sheet, hit function key F5. In the reference box type: A1:A357
then hit ENTER.

This will select the range A1:A357. With this range still selected type this
formula:

=ROW()

Hold down the CTRL key then hit ENTER.

Enter this formula in C1:

=INDEX(A:A,CEILING(ROWS(C$1:C1)/6,1))

Copy down to C2142 (357*6 = 2142)

With the range C1:C2142 still selected
Goto EditCopy
Then, EditPaste SpecialValuesOK
Format the range to display the leading 0s:
Goto FormatCellsCustom
Type: 0000
OK

Delete column A

This should take you all of 2 minutes to do!

--
Biff
Microsoft Excel MVP


"BattyKat" wrote in message
...
I am creating a file to print on some cards. The same number has to repeat
6
times and then be in sequential order. Because I have '0001 , I can not do
any of the quick fill options because of the '.
For ex.
'0001
'0001
'0001
'0001
'0001
'0001
'0002
'0002
ETC....

I need to number to 357-- is there an easy way to do this ? I need to
have
4 positions on my printed sheet because its a parking pass and the vendor
requires the numbers to match their lot numbers.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Sequential numbering by 6

THANKS SO MUCH-- YOUR FORMULA WORKED LIKE A CHARM IN OUR DATABASE!

"Dave Peterson" wrote:

You could put this in a cell in row 1 and drag down as far as you needed:

=TEXT(1+(INT((ROW()-1)/6)),"0000")



BattyKat wrote:

I am creating a file to print on some cards. The same number has to repeat 6
times and then be in sequential order. Because I have '0001 , I can not do
any of the quick fill options because of the '.
For ex.
'0001
'0001
'0001
'0001
'0001
'0001
'0002
'0002
ETC....

I need to number to 357-- is there an easy way to do this ? I need to have
4 positions on my printed sheet because its a parking pass and the vendor
requires the numbers to match their lot numbers.


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sequential numbering Scott Hemphill Excel Discussion (Misc queries) 2 July 24th 07 05:24 PM
PO with sequential numbering with start / end numbering [email protected] Excel Discussion (Misc queries) 1 April 24th 07 03:38 PM
Sequential Numbering Mel Excel Discussion (Misc queries) 10 May 9th 06 03:12 PM
Sequential numbering REELAXER Excel Worksheet Functions 1 June 30th 05 12:25 AM
Sequential Numbering. Rodney New Users to Excel 3 May 2nd 05 09:34 PM


All times are GMT +1. The time now is 12:42 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"