New user, so excuse me if I step all over posting etiquette on this go round 
(I am trying to figure out how to attach the file, but haven't figured out how yet, sorry)
I have a long list of dates (a few years worth) and Work Orders, and need to lookup the list of Work Orders associated with a given date. The issue I run into is that the Work Orders are listed by shift, and therefore can "duplicate" within a day. I need to get the list without the duplicate data, in the order they ran.
<TBODY>
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>
I have created an array formula which I am hoping some Jedi Excel Master out there can modify to help me remove the duplicate values:
{=IF(ISERROR(INDEX($A$1:$C$17,SMALL(IF($A$1:$A$17=$A$20,ROW($A$1:$A$17)),ROW(1:1)),3)),"",INDEX($A$1:$C$17,SMALL(IF($A$1:$A$17=$A$20,ROW($A$1:$A$17)),ROW(1:1)),3))}
Below are my current result and desired result:
<TBODY>
</TBODY><COLGROUP><COL><COL></COLGROUP>
<TBODY>
</TBODY><COLGROUP><COL span=2></COLGROUP>
Thanks, and if someone can advise me how to upload the file, it might make it easier to understand!
(I am trying to figure out how to attach the file, but haven't figured out how yet, sorry)
I have a long list of dates (a few years worth) and Work Orders, and need to lookup the list of Work Orders associated with a given date. The issue I run into is that the Work Orders are listed by shift, and therefore can "duplicate" within a day. I need to get the list without the duplicate data, in the order they ran.
Date</SPAN> | Shift</SPAN> | Work Order</SPAN> |
6/1/2012</SPAN> | 1</SPAN> | 1001</SPAN> |
6/1/2012</SPAN> | 1</SPAN> | 1002</SPAN> |
6/1/2012</SPAN> | 2</SPAN> | 1002</SPAN> |
6/1/2012</SPAN> | 2</SPAN> | 1003</SPAN> |
6/1/2012</SPAN> | 3</SPAN> | 1003</SPAN> |
6/1/2012</SPAN> | 3</SPAN> | 1004</SPAN> |
6/1/2012</SPAN> | 4</SPAN> | 1005</SPAN> |
6/1/2012</SPAN> | 4</SPAN> | 1006</SPAN> |
6/2/2012</SPAN> | 1</SPAN> | 1006</SPAN> |
6/2/2012</SPAN> | 1</SPAN> | 1006</SPAN> |
6/2/2012</SPAN> | 2</SPAN> | 1006</SPAN> |
6/2/2012</SPAN> | 2</SPAN> | 1007</SPAN> |
6/2/2012</SPAN> | 3</SPAN> | 1007</SPAN> |
6/2/2012</SPAN> | 3</SPAN> | 1008</SPAN> |
6/2/2012</SPAN> | 4</SPAN> | 1008</SPAN> |
6/2/2012</SPAN> | 4</SPAN> | 1009</SPAN> |
<TBODY>
</TBODY><COLGROUP><COL><COL><COL></COLGROUP>
I have created an array formula which I am hoping some Jedi Excel Master out there can modify to help me remove the duplicate values:
{=IF(ISERROR(INDEX($A$1:$C$17,SMALL(IF($A$1:$A$17=$A$20,ROW($A$1:$A$17)),ROW(1:1)),3)),"",INDEX($A$1:$C$17,SMALL(IF($A$1:$A$17=$A$20,ROW($A$1:$A$17)),ROW(1:1)),3))}
Below are my current result and desired result:
Current Formula</SPAN> | |
6/2/2012</SPAN> | 1006</SPAN> |
1006</SPAN> | |
1006</SPAN> | |
1007</SPAN> | |
1007</SPAN> | |
1008</SPAN> | |
1008</SPAN> | |
1009</SPAN> |
<TBODY>
</TBODY><COLGROUP><COL><COL></COLGROUP>
What I want it to show for 6/2…</SPAN> | |
6/2/2012</SPAN> | 1006</SPAN> |
1007</SPAN> | |
1008</SPAN> | |
1009</SPAN> |
<TBODY>
</TBODY><COLGROUP><COL span=2></COLGROUP>
Thanks, and if someone can advise me how to upload the file, it might make it easier to understand!
Last edited: