Please help me find the best way, in Excel 2003, to calculate the difference between the values on the last two most recent occurrences of data.
Here is a sample of the data. For example: I am looking for a formula to find the difference between Ann's End Bal on 4-Oct, and Ann's End Bal on 1-Oct and give me $15. And I need that formula to also find the difference between Ann's End Bal on 9-Oct, and Ann's End Bal on 4-Oct and give me $1.
<tbody>
</tbody>
Any guidance you can provide is appreciated.
Here is a sample of the data. For example: I am looking for a formula to find the difference between Ann's End Bal on 4-Oct, and Ann's End Bal on 1-Oct and give me $15. And I need that formula to also find the difference between Ann's End Bal on 9-Oct, and Ann's End Bal on 4-Oct and give me $1.
A | B | C | D | |
1 | Desc | Date | End Bal | Desired Result |
2 | Ann | 1-Oct | $10.00 | |
3 | Paul | 2-Oct | $20.00 | |
4 | Greg | 3-Oct | $30.00 | |
5 | Ann | 4-Oct | $25.00 | $15.00 |
6 | Paul | 5-Oct | $36.00 | $16.00 |
7 | Greg | 6-Oct | $47.00 | $17.00 |
8 | Paul | 7-Oct | $38.00 | $2.00 |
9 | Greg | 8-Oct | $50.00 | $3.00 |
10 | Ann | 9-Oct | $26.00 | $1.00 |
<tbody>
</tbody>
Any guidance you can provide is appreciated.