Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default generate serial numbers and date it entered

i am looking for formula to generate serial numbers and date, and when i
enter qty other cells filled with data.
so:
qty serial start serial last date
5 00001 00004 090730
3 00005 00007 090730

and so on

thank you for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
JCS JCS is offline
external usenet poster
 
Posts: 93
Default generate serial numbers and date it entered

Hi here is how acheived what you are looking for: (In Excel 2003)

Let's assume that everything starts in cell a1.

Qty Start Serial End Serial
5 1 =a2-b2
3 =c2+1 =b3+a3-1

Copy b3 to c3 down however many rows you need. To get the leading zeros you
will have to create a custom format:
Select a cell or cells affected
Select Format from the menu
Select cells
Select the Number tab in the dialog box
Select Custom
Type 0000# in the Type text box. Copy the format to all of the cells
affected.

If this helps please press Yes

John

"irealtymods" wrote:

i am looking for formula to generate serial numbers and date, and when i
enter qty other cells filled with data.
so:
qty serial start serial last date
5 00001 00004 090730
3 00005 00007 090730

and so on

thank you for your help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default generate serial numbers and date it entered

its not what im looking for,
i thought some script like this i found for date:

Private Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo ws_exit:
Application.EnableEvents = False
If Not Intersect(Target, Me.Range("F:F")) Is Nothing Then
With Target
If .Value < "" Then
..Offset(0, 6).Value = Format(Now, "yymmdd")
End If
End With
End If

ws_exit:
Application.EnableEvents = True
End Sub



now i have already like this:
E3 qty
F3 =SUM(G2+1)
G3 =SUM(G2+E3)

if this is the only way, ok, but i like to see something more

thank you
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default generate serial numbers and date it entered

cause i don't like to have all cell filled with numbers(copied with formulas)
i need to see changes in cells where i am now. line by line
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
automatically generate unique serial numbers for invoices nhlanhla Excel Worksheet Functions 1 October 2nd 08 12:50 PM
Changing text dates to date serial numbers George[_5_] Excel Worksheet Functions 6 January 2nd 08 10:44 PM
Serial number generate Tony Excel Worksheet Functions 4 October 20th 07 04:59 AM
Changing date serial numbers rdunne Excel Discussion (Misc queries) 1 April 14th 05 12:57 PM
generate serial number john douglass Excel Worksheet Functions 0 November 5th 04 10:49 PM


All times are GMT +1. The time now is 02:45 AM.

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

About Us

"It's about Microsoft Excel"