LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 137
Default auto numbering problem

I intended to use whole 65536 rows in a spreadsheet for data keeping, Column
A & column B as record number.
When new record input, A+1 & B=1, when old record retrieves, A=original
number & B+1, which means numbers are duplicated. Example:
Column A Column B
1 (new record) 1
1 2 (record changed =1+1)
1 3 (record changed =2+1)
2 (new record =1+1) 1
2 2 (record changed =1+1)
3 (new record =2+1) 1
4 (new record =3+1)
I used array-frequency to auto-number new data entry in cell A1 to get the
number and copy-past special to put it in the next empty cell in column A, it
works but process time is too long, is there any way I can shorten the
process time?
Range("A1").FormulaArray = _

"=IF(B1=""ADD"",SUM(IF(FREQUENCY(IF(LEN(A2:A65536) 0,MATCH(A2:A65536,A2:A65536,0),""""),
IF(LEN(A2:A65536)0,MATCH(A2:A65536,A2:A65536,0)," """))0,1))+1&"".1"",""Input Order Number"")"

Tks in advance.
 
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
aUTO nUMBERING Udayan New Users to Excel 2 March 12th 09 10:07 AM
Auto Numbering Nigel 2000 Excel Discussion (Misc queries) 2 September 19th 06 09:34 AM
auto numbering Joe Black Excel Discussion (Misc queries) 2 January 19th 06 02:27 AM
help with auto numbering aecon Excel Discussion (Misc queries) 1 October 28th 05 05:52 PM
Auto Numbering jharkins Excel Discussion (Misc queries) 2 July 28th 05 11:46 PM


All times are GMT +1. The time now is 02:19 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"