#1   Report Post  
Posted to microsoft.public.excel.misc
NJM
 
Posts: n/a
Default Help with lists


I am working on an attendance tracker and we need to provide the names
of specific types of absences from the data entry fields on demand.
what we have is like this
A B C
1 * Agent name Reason Shift*
2 Agent 1 Tardy 0700-1530
3 Agent 2 NCNS 0700-1530
4 Agent 3 Sick 0800-1630
5 Agent 5 NCNS 0800-1630

What I need is to be able to have a result such as...

NCNS
Agent 2
Agent 5

Tardy
Agent 1

Of course we are doing it by hand now, but is there a way to get this
to do it for us?


--
NJM
------------------------------------------------------------------------
NJM's Profile: http://www.excelforum.com/member.php...o&userid=31436
View this thread: http://www.excelforum.com/showthread...hreadid=511277

  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Help with lists

Sounds like you could just sort as First Key on the Reason column and Second
Key on the AgentName column.....

Vaya con Dios,
Chuck, CABGx3


"NJM" wrote in message
...

I am working on an attendance tracker and we need to provide the names
of specific types of absences from the data entry fields on demand.
what we have is like this
A B C
1 * Agent name Reason Shift*
2 Agent 1 Tardy 0700-1530
3 Agent 2 NCNS 0700-1530
4 Agent 3 Sick 0800-1630
5 Agent 5 NCNS 0800-1630

What I need is to be able to have a result such as...

NCNS
Agent 2
Agent 5

Tardy
Agent 1

Of course we are doing it by hand now, but is there a way to get this
to do it for us?


--
NJM
------------------------------------------------------------------------
NJM's Profile:

http://www.excelforum.com/member.php...o&userid=31436
View this thread: http://www.excelforum.com/showthread...hreadid=511277



  #3   Report Post  
Posted to microsoft.public.excel.misc
NJM
 
Posts: n/a
Default Help with lists


Actually, I need more than just a sort. I need this to populate to a
seperate set of cells/worksheet. HR makes us leave our input fields
alone once they are entered, but we need to coalate the data for
department reports.


--
NJM
------------------------------------------------------------------------
NJM's Profile: http://www.excelforum.com/member.php...o&userid=31436
View this thread: http://www.excelforum.com/showthread...hreadid=511277

  #4   Report Post  
Posted to microsoft.public.excel.misc
flummi
 
Posts: n/a
Default Help with lists

Here's a proposal:

tardy NCNS sick don't know
tardy agent 6 tardy2 agent 1 agent 2 agent 3 agent 5
don't k agent 5 don't k1 agent 6 agent 4
NCNS agent 4 NCNS2
sick agent 3 sick1
NCNS agent 2 NCNS1
tardy agent 1 tardy1


Arrange your data as follows:

Reason for absence in Column A
Agent name in column B
sort A:B by agent name descending
in C2 type this formula: =A2&COUNTIF(A2:A$7;"="&A2)
copy down to the last row of your data
In D1 type the first reason for absence and continue with the next in E
and further to the right
In D2 type this formula:
=IF(ISNA(MATCH(D$1&ROW(D2)-ROW($D$2)+1;$C$2:$C$7;0));"";OFFSET($B$2;MATCH(D$1 &ROW(D2)-ROW($D$2)+1;$C$2:$C$7;0)-1;0))
You may have to replace the semicolons with commas depending on your
local Windows settings for regional and language
Copy D2 down as many rows as you expect agentt names
Copy all formulas in D to the right as required

Hope this does it for you.

Hans

  #5   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Help with lists

Then perhaps just sort or AutoFilter the main database, and then just copy
it over to another worksheet....then you can manipulate that new sheet at
will without distrubing the main database.....this can be done either by
hand, or by macro if the sorting/filtering requirements are always the
same............

Vaya con Dios,
Chuck, CABGx3


"NJM" wrote in message
...

Actually, I need more than just a sort. I need this to populate to a
seperate set of cells/worksheet. HR makes us leave our input fields
alone once they are entered, but we need to coalate the data for
department reports.


--
NJM
------------------------------------------------------------------------
NJM's Profile:

http://www.excelforum.com/member.php...o&userid=31436
View this thread: http://www.excelforum.com/showthread...hreadid=511277



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
Compare lists teejay Excel Worksheet Functions 0 January 24th 06 04:30 PM
Capitalize Text if 2 lists are equal elevdown New Users to Excel 5 December 15th 05 04:56 PM
Counting Entries in two lists MarkN Excel Worksheet Functions 2 November 30th 05 09:15 AM
Excel - need a function to compare lists JerryMatson Excel Worksheet Functions 1 November 24th 05 05:09 PM
Comparing 2 Customer Lists to Identify Shared Customers carl Excel Worksheet Functions 2 January 26th 05 08:17 PM


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