I have a set of data similar to the table below. I want to be able to filter by name(s) (I'm currently using the filter tab), calculate the total invoices assigned to that name(s) (I have used a subtotal formula), and then sum only the paid invoices assigned to that name(s) (this is the formula I can't work out). I want to do this without having to apply a further filter to the Paid(Yes/No) column as I want to still display unpaid invoices. My current workaround is a 4th hidden column containing an IF formula but this isn't very elegant. Any solutions? Thanks
Name | Invoice | Paid (Yes/No) |
Tom | 1 | Yes |
Dick | 2 | Yes |
Harry | 3 | Yes |
Tom | 4 | No |
Dick | 5 | No |
Harry | 6 | No |
Total | =SUBTOTAL(9,InvoiceRange) | what formula? |