Looking at the headers below I want to build a look up formula that will result in the latest (most recent date in list) transaction date (A) for a specific transaction type (B) for the MedID (D) for Station (E) and return the associated information in the desired results format listed below the original format.<o></o>
<TBODY>
</TBODY><o> </o>
Desired results format<o></o>
<TBODY>
</TBODY><o> </o>
There are 3 transaction types. Loaded, Unloaded and Withdrawn. What I really need to know looking at over 60,000 lines of data: The date of most recent withrawn for a MedID, the most recent Loaded transaction if there is one and finally the most recent unloaded date is there is one line.<o></o>
Any help, suggestions will be appreciated. Thanks<o></o>
A<o></o> | B<o></o> | C<o></o> | D<o></o> | E<o></o> |
TransactionDate<o></o> | Transaction<o></o> | MedDescription<o></o> | MedID<o></o> | Station<o></o> |
<TBODY>
</TBODY>
Desired results format<o></o>
A<o></o> | B<o></o> | C<o></o> | D<o></o> | E<o></o> |
MedID<o></o> | Station<o></o> | TransDate Withdrawn<o></o> | TransDate Loaded<o></o> | Trans Date Unloaded<o></o> |
<TBODY>
</TBODY>
There are 3 transaction types. Loaded, Unloaded and Withdrawn. What I really need to know looking at over 60,000 lines of data: The date of most recent withrawn for a MedID, the most recent Loaded transaction if there is one and finally the most recent unloaded date is there is one line.<o></o>
Any help, suggestions will be appreciated. Thanks<o></o>