Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
how do I generate a unique reference number???
Hi,
I am working on the following table to automatically generate a reference number everytime a data is inputted. Please see below table: Cust No. TA No SI date Amount Rate RESULTING REF 008-018970 01 0500247 22-Sep-08 12,000,000.00 0.25% 01 0500247_0001 008-018970 01 0500247 22-Sep-08 12,000,000.00 0.25% 01 0500247_0001 050-101393 01 0500324 20-Oct-08 5,000,000.00 0.25% 01 0500324_0001 050-101393 01 0500324 20-Oct-08 6,000,000.00 0.25% 01 0500324_0002 Is there a formula or a VBS code that I can use to automatically generate above reference number is such a way that below conditions are met: a) format of ref no. ia TA No._#### - #-representing the sequential number b) that when a set of information is repeated in a row it will generate the same reference number as the previous number (see item#1 and #2 - it has the same information for all the column therefore it will generate the same ref #) Is this doable? Any help you may provide will be highly appreciated. THANK you so much in advance. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Automaticalle generate sequential reference number | Excel Discussion (Misc queries) | |||
How can excel generate every unique pair from a set of numbers? | Excel Worksheet Functions | |||
How can I generate a unique number each time a form is printed? | Excel Worksheet Functions | |||
generate a random number and use if function to generate new data | Excel Worksheet Functions | |||
generate unique random numbers | New Users to Excel |