In a large data base can i filter by the invoice number and add only the invoice amounts for those lines appearing in the filter?
In a large data base can i filter by the invoice number and add only the invoice amounts for those lines appearing in the filter?
Last edited by mojobaabby; 12-05-2012 at 09:44 PM.
not sure you can sum that way. do you have a long list of invoices you want to add? perhaps sumifs() or sumproduct() would work better for you?
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Yes, instead of using SUM(range) you would use:
=SUBTOTAL(9,range)
and this adds only the visible values. I like to insert a couple of blank rows above the row with the filter on it and put the formula there at the top of the sheet, so that you can apply the filter and then see the effect without having to scroll down to the bottom of the list.
Hope this helps.
Pete
nailed it pete TY
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks