#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default assigning id's

hey all,

i have a column

type
====
email
email
phone
phone

is there a way to assign duplicate id's in the column next to the type?

for example,

type,id
email,1
email,1
phone,2
phone,2

thanks,
rodchar
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default assigning id's

In B1 enter 1
in B2 enter:

=IF(A2=A1,B1,B1+1)

for example:

house 1
house 1
house 1
cat 2
cat 2
flower 3
flower 3
flower 3
rat 4
hat 5
bat 6
bat 6
bat 6
bat 6

the number remains the same until the item in column A changes
--
Gary''s Student - gsnu200825


"rodchar" wrote:

hey all,

i have a column

type
====
email
email
phone
phone

is there a way to assign duplicate id's in the column next to the type?

for example,

type,id
email,1
email,1
phone,2
phone,2

thanks,
rodchar

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 80
Default assigning id's

thanks for the help,
rod.

"Gary''s Student" wrote:

In B1 enter 1
in B2 enter:

=IF(A2=A1,B1,B1+1)

for example:

house 1
house 1
house 1
cat 2
cat 2
flower 3
flower 3
flower 3
rat 4
hat 5
bat 6
bat 6
bat 6
bat 6

the number remains the same until the item in column A changes
--
Gary''s Student - gsnu200825


"rodchar" wrote:

hey all,

i have a column

type
====
email
email
phone
phone

is there a way to assign duplicate id's in the column next to the type?

for example,

type,id
email,1
email,1
phone,2
phone,2

thanks,
rodchar

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
List of Id's in one Colum list of names in another. More Id's on s Willciti Excel Discussion (Misc queries) 1 November 6th 08 12:51 PM
Unique ID's Jill Curly via OfficeKB.com New Users to Excel 2 September 12th 05 03:01 AM
User ID's CCloud Excel Worksheet Functions 4 August 11th 05 08:58 PM
column id's wolfmasterr Setting up and Configuration of Excel 1 May 23rd 05 03:02 PM
Face ID's Michael Excel Discussion (Misc queries) 1 December 22nd 04 04:04 PM


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