rileybloke
New Member
- Joined
- Feb 7, 2013
- Messages
- 43
Hi All, banging my head against the desk now, so have to ask the pro's... I have a set of data like this...
<tbody>
</tbody>
I need to sum the qty for each Doc No, by date but only the DocNo with the highest number, ignoring any previous docs.
Thanks
Doc No | Doc Date | Item | Qty | |
1 | 01/02/2014 | 111 | 10 | |
1 | 01/02/2014 | 112 | 15 | |
2 | 01/02/2014 | 113 | 20 | |
2 | 01/02/2014 | 111 | 10 | |
4 | 03/02/2014 | 111 | 10 | |
5 | 05/02/2014 | 113 | 10 | |
6 | 06/02/2014 | 111 | 10 | |
7 | 07/02/2014 | 112 | 10 | |
8 | 08/02/2014 | 111 | 10 |
<tbody>
</tbody>
I need to sum the qty for each Doc No, by date but only the DocNo with the highest number, ignoring any previous docs.
Thanks
Last edited: