B
Ben
Hello,
I have a sheet that contains transaction data downloaded from 2
different credit card sites. It is formated so that the 1st column
contains the date and it is organized so that each month's transactions
are grouped together. I.e. all of July for example will be together
though not necessarily sored by day of the month and there can
potentially be blank lines separating transactions.
What I need to do is find the last transaction line for a particular
month and get a value from that row. I currently do this:
VLOOKUP(K$1, Spending!$A3:$P1500, 16)
Where K1 is the last day of the month for the month I am after (E.g.
July 31, 2009). The problem with my solution is that while each month is
grouped together in ascending order, the days of the month are not
necessarily ascending. E.g. for the end of last month the last 3
transactions occurred on Jul 31, Jul 30 and Jul 31 (in that order) and
the vlookup only returned the 3rd to last transaction instead of the
last. I was wondering if anyone could suggest a solution to my problem?
Thanks,
Ben
I have a sheet that contains transaction data downloaded from 2
different credit card sites. It is formated so that the 1st column
contains the date and it is organized so that each month's transactions
are grouped together. I.e. all of July for example will be together
though not necessarily sored by day of the month and there can
potentially be blank lines separating transactions.
What I need to do is find the last transaction line for a particular
month and get a value from that row. I currently do this:
VLOOKUP(K$1, Spending!$A3:$P1500, 16)
Where K1 is the last day of the month for the month I am after (E.g.
July 31, 2009). The problem with my solution is that while each month is
grouped together in ascending order, the days of the month are not
necessarily ascending. E.g. for the end of last month the last 3
transactions occurred on Jul 31, Jul 30 and Jul 31 (in that order) and
the vlookup only returned the 3rd to last transaction instead of the
last. I was wondering if anyone could suggest a solution to my problem?
Thanks,
Ben