LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 213
Default divide records equally among multiple employees

example: I have 1000 sorted records. I have 5 employees. I want 1st
record to go to emp 1; 2nd record to emp 2 ... 5th record to 5th emp.
Then I want to start new assignment of records: emp 2 gets 1st rec;
emp 3 gets 2nd rec.... emp 1 gets 5th record, thus rotating which emp
gets first record. ...


Maybe something like this would help:
=CHOOSE(MOD(ROW(),5)+1,"Pat","Leslie","Evelyn","Ch ris","Glenn")


After reading the original post more carefully, I noticed that the
"CHOOSE" should've been more like this:

=CHOOSE(MOD(ROW()-1+INT((ROW()-1)/5),5)+1,
"Pat","Leslie","Evelyn","Chris","Glenn")






 
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
Compare records in multiple sheet -> report PB Excel Discussion (Misc queries) 3 July 4th 05 05:16 PM
Extract multiple records matching criteria from list William DeLeo Excel Worksheet Functions 12 June 30th 05 02:35 PM
how do i delete multiple records from my database AUSTINJ Excel Discussion (Misc queries) 1 May 15th 05 11:08 AM
Counting Unique Records with multiple conditions Keithlearn Excel Worksheet Functions 4 April 27th 05 12:44 AM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM


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