KymBradshaw
New Member
- Joined
- Oct 29, 2013
- Messages
- 15
Hi guys,
This should be a fairly straight forward one for you. Hopefully!
I've been making a Statement of Account, but I've kinda broke my formula with constant tinkering. It was working fine when I did a dummy run with it and it was all within one workbook, but doesn't work in practice when I modified it to work with outside files. As far as I can see it *should* be working fine, but just isn't! Can anyone shed some light on it for me please?
=IF(ISERROR(INDEX('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$B$3:$K$50,SMALL(IF('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$C$3:$C$50=$A$8,ROW('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$C$3:$C$50)),ROW(2:2)),5)),"",INDEX('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$B$3:$K$50,SMALL(IF('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$C$3:$C$50=$A$8,ROW('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$C$3:$C$50)),ROW(2:2)),5))
It's supposed to list all invoices for a given client, but it's being a pain where I thought it would be a relatively straight forward task.
Secondly, the Sales 2013-2014 workbook from which the data is harvested has a worksheet for each month and my formula is only good for one. At this rate I'll need to have 12 versions of the above; is there any way I can tweak it so it will aggregate all 12 months data?
Any advice is hugely appreciated.
Here are the files in question:
Statement of account
https://www.dropbox.com/s/nemcgbglpqxu78f/Statement of Account - dummy data.xlsx
Invoice lists
https://www.dropbox.com/s/vq3lpc6zgmbuqma/Sales 2013-2014 - Kym Edit.xlsx
This should be a fairly straight forward one for you. Hopefully!

I've been making a Statement of Account, but I've kinda broke my formula with constant tinkering. It was working fine when I did a dummy run with it and it was all within one workbook, but doesn't work in practice when I modified it to work with outside files. As far as I can see it *should* be working fine, but just isn't! Can anyone shed some light on it for me please?
=IF(ISERROR(INDEX('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$B$3:$K$50,SMALL(IF('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$C$3:$C$50=$A$8,ROW('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$C$3:$C$50)),ROW(2:2)),5)),"",INDEX('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$B$3:$K$50,SMALL(IF('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$C$3:$C$50=$A$8,ROW('[Sales 2013-2014 Kym Edit.xlsx]April 2013'!$C$3:$C$50)),ROW(2:2)),5))
It's supposed to list all invoices for a given client, but it's being a pain where I thought it would be a relatively straight forward task.
Secondly, the Sales 2013-2014 workbook from which the data is harvested has a worksheet for each month and my formula is only good for one. At this rate I'll need to have 12 versions of the above; is there any way I can tweak it so it will aggregate all 12 months data?
Any advice is hugely appreciated.
Here are the files in question:
Statement of account
https://www.dropbox.com/s/nemcgbglpqxu78f/Statement of Account - dummy data.xlsx
Invoice lists
https://www.dropbox.com/s/vq3lpc6zgmbuqma/Sales 2013-2014 - Kym Edit.xlsx