Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Unique Reference Number

Hi, I would like to create a unique reference number for each row of data.
How can I do this?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Unique Reference Number

=ROW(A1)

or am I missing it?

--
__________________________________
HTH

Bob

"DaveKid" wrote in message
...
Hi, I would like to create a unique reference number for each row of data.
How can I do this?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Unique Reference Number

Use the row number???

DaveKid wrote:

Hi, I would like to create a unique reference number for each row of data.
How can I do this?


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Unique Reference Number

You forgot to add

.... or am I missing it?<BG

--
__________________________________
HTH

Bob

"Dave Peterson" wrote in message
...
Use the row number???

DaveKid wrote:

Hi, I would like to create a unique reference number for each row of
data.
How can I do this?


--

Dave Peterson



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Unique Reference Number

Hi

Sorry. i didnt explain properly. The unique reference needs to be unique to
the data in the row and not the position in the sheet as this will change on
a weekly basis.

Thanks

"Dave Peterson" wrote:

Use the row number???

DaveKid wrote:

Hi, I would like to create a unique reference number for each row of data.
How can I do this?


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Unique Reference Number

Start with the row number and always add new data at the bottom of the list.

Then use the maximum of the previous data plus 1.

If you insert the data anywhere in the list, you'd have to check for the maximum
of the entries above and below and use one more than that.



DaveKid wrote:

Hi

Sorry. i didnt explain properly. The unique reference needs to be unique to
the data in the row and not the position in the sheet as this will change on
a weekly basis.

Thanks

"Dave Peterson" wrote:

Use the row number???

DaveKid wrote:

Hi, I would like to create a unique reference number for each row of data.
How can I do this?


--

Dave Peterson


--

Dave Peterson
  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Unique Reference Number

Hi

I do not know what you mean? How do I do this?

"Dave Peterson" wrote:

Start with the row number and always add new data at the bottom of the list.

Then use the maximum of the previous data plus 1.

If you insert the data anywhere in the list, you'd have to check for the maximum
of the entries above and below and use one more than that.



DaveKid wrote:

Hi

Sorry. i didnt explain properly. The unique reference needs to be unique to
the data in the row and not the position in the sheet as this will change on
a weekly basis.

Thanks

"Dave Peterson" wrote:

Use the row number???

DaveKid wrote:

Hi, I would like to create a unique reference number for each row of data.
How can I do this?

--

Dave Peterson


--

Dave Peterson

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Unique Reference Number

Make sure that the statusbar is showing.
In xl2003 menus:
Tools|Options|View tab|check status bar

Then rightclick on this status bar (embossed area to the far right) and choose
max.

Then select column A
Make a mental note of the number that appears in the status bar. Add one to it.

Insert your new row of data. Use that number as the id.

DaveKid wrote:

Hi

I do not know what you mean? How do I do this?

"Dave Peterson" wrote:

Start with the row number and always add new data at the bottom of the list.

Then use the maximum of the previous data plus 1.

If you insert the data anywhere in the list, you'd have to check for the maximum
of the entries above and below and use one more than that.



DaveKid wrote:

Hi

Sorry. i didnt explain properly. The unique reference needs to be unique to
the data in the row and not the position in the sheet as this will change on
a weekly basis.

Thanks

"Dave Peterson" wrote:

Use the row number???

DaveKid wrote:

Hi, I would like to create a unique reference number for each row of data.
How can I do this?

--

Dave Peterson


--

Dave Peterson


--

Dave Peterson
  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default Unique Reference Number

On row, add a id of 1.

After that, add a formula of

=MAX($B$1:OFFSET(B2,-1,0)

assuming row 2

--
__________________________________
HTH

Bob

"DaveKid" wrote in message
...
Hi

I do not know what you mean? How do I do this?

"Dave Peterson" wrote:

Start with the row number and always add new data at the bottom of the
list.

Then use the maximum of the previous data plus 1.

If you insert the data anywhere in the list, you'd have to check for the
maximum
of the entries above and below and use one more than that.



DaveKid wrote:

Hi

Sorry. i didnt explain properly. The unique reference needs to be
unique to
the data in the row and not the position in the sheet as this will
change on
a weekly basis.

Thanks

"Dave Peterson" wrote:

Use the row number???

DaveKid wrote:

Hi, I would like to create a unique reference number for each row
of data.
How can I do this?

--

Dave Peterson


--

Dave Peterson



  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Unique Reference Number

And then convert to a value. The sort may mess things up.

Bob Phillips wrote:

On row, add a id of 1.

After that, add a formula of

=MAX($B$1:OFFSET(B2,-1,0)

assuming row 2

--
__________________________________
HTH

Bob

"DaveKid" wrote in message
...
Hi

I do not know what you mean? How do I do this?

"Dave Peterson" wrote:

Start with the row number and always add new data at the bottom of the
list.

Then use the maximum of the previous data plus 1.

If you insert the data anywhere in the list, you'd have to check for the
maximum
of the entries above and below and use one more than that.



DaveKid wrote:

Hi

Sorry. i didnt explain properly. The unique reference needs to be
unique to
the data in the row and not the position in the sheet as this will
change on
a weekly basis.

Thanks

"Dave Peterson" wrote:

Use the row number???

DaveKid wrote:

Hi, I would like to create a unique reference number for each row
of data.
How can I do this?

--

Dave Peterson


--

Dave Peterson


--

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
generating unique reference number Rachel Excel Discussion (Misc queries) 1 November 23rd 08 07:14 AM
how do I generate a unique reference number??? Rachel Excel Discussion (Misc queries) 3 November 21st 08 03:56 AM
Creating a Unique Reference from 2 cells Christina Byrne Excel Discussion (Misc queries) 3 July 22nd 08 06:31 PM
SUM by unique reference WendyUK Excel Worksheet Functions 15 June 22nd 07 05:10 PM
How do I create a unique spreadsheet reference? Paul Excel Worksheet Functions 1 November 1st 06 07:14 PM


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