Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Formula for assigning distinct name to first instance in a list ofduplicate rows.

I have a spreadsheet of 3000 contact names
I am trying to assign these in the most "fair" fashion to account
resps.

My thought was to create a column called "account_rep"
I then put
account_rep_name1
account_rep_name2
account_rept_name3

In,
colum1,Row 1 account_rep_name1
colum1,row 2 account_rep_name2
colum2,row 3 account_rept_name3
colum1,row 4 account_rep_name1
colum1,row 5 account_rep_name2
colum2,row 6 account_rept_name3

the pattern continues respectively through the list to row 3000.

However, what has happened is that

there may be more than one account rep assigned to an account.

For example in the list I have.

account_rep_name1 Suzie Queen ABC Company
account_rep_name2 Suzie Queen ABC Company
account_rept_name3 Suzie Queen ABC Company

so, I want to assign unique rep to the account the first time his name
hits the account down the list.

What is the best way to do this?

Thanks,
Robert
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Formula for assigning distinct name to first instance in a list of duplicate rows.

Ah, I see you multi-posted in .misc as well. Pl don't.

I might approach it this way:
1. Use advanced filter uniques to drill out the list of unique contacts in
a new col
2. In a col next to the unique contacts, assign the reps using something
like this in the top cell, copied down to the last row of unique contacts:
=INDEX({"rep1";"rep2";"rep3"},MOD(ROWS($1:1)-1,3)+1)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"NickNameGoesHere" wrote in message
...
I have a spreadsheet of 3000 contact names
I am trying to assign these in the most "fair" fashion to account
resps.

My thought was to create a column called "account_rep"
I then put
account_rep_name1
account_rep_name2
account_rept_name3

In,
colum1,Row 1 account_rep_name1
colum1,row 2 account_rep_name2
colum2,row 3 account_rept_name3
colum1,row 4 account_rep_name1
colum1,row 5 account_rep_name2
colum2,row 6 account_rept_name3

the pattern continues respectively through the list to row 3000.

However, what has happened is that

there may be more than one account rep assigned to an account.

For example in the list I have.

account_rep_name1 Suzie Queen ABC Company
account_rep_name2 Suzie Queen ABC Company
account_rept_name3 Suzie Queen ABC Company

so, I want to assign unique rep to the account the first time his name
hits the account down the list.

What is the best way to do this?

Thanks,
Robert



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
Copy to Clipboard - Distinct List moflaherty Excel Discussion (Misc queries) 0 February 4th 08 09:29 PM
Distinct list formula summergs Excel Discussion (Misc queries) 5 August 16th 06 06:12 AM
Get distinct rows from different worksheets into another worksheet Nikhil Excel Discussion (Misc queries) 8 July 15th 06 08:04 PM
Sum Distinct Rows in PivotTable Jay Charts and Charting in Excel 0 January 18th 06 03:00 PM
how can I count distinct names in an excel list? RPC@Frito Excel Discussion (Misc queries) 5 February 3rd 05 09:12 PM


All times are GMT +1. The time now is 11:18 PM.

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"