WaqasTariq
Board Regular
- Joined
- Jun 26, 2012
- Messages
- 58
- Office Version
- 365
I am looking to calculate the "Cst Info" data based on the filtered data available on the "Data" worksheet. I have so far tried searching the forum, but have been unable to find something similar.
Example workbook uploaded here.
This is how my "Data" worksheet looks like (after filtering for "Invoice Date"):
On another worksheet, "Cst Info" I am calculating the totals based on Column B, and need the calculations to be based on visible rows.
Formulas:
Example workbook uploaded here.
This is how my "Data" worksheet looks like (after filtering for "Invoice Date"):
Inv | Bill To | N/A | N/A | Invoice Date | N/A | N/A | N/A | N/A | Days Open | Days Overdue |
2568 | Company A | 06/28/22 | 16 | 59 | ||||||
6286 | Company A | 06/30/22 | 104 | 2 | ||||||
10004 | Company A | 12/29/22 | 32 | 0 | ||||||
13722 | Company A | 06/14/23 | 22 | 170 | ||||||
17440 | Company B | 09/14/23 | 200 | 144 | ||||||
39748 | Company A | 11/30/22 | 119 | 89 |
On another worksheet, "Cst Info" I am calculating the totals based on Column B, and need the calculations to be based on visible rows.
Bill To | Inv Count | Min (overdue) | Avg (overdue) | Max (overdue) | Min (open) | Avg (open) | Max (open) |
Company A | 10 | 0 | 65.3 | 170 | 16 | 78 | 119 |
Company B | 7 | 62 | 94.29 | 144 | 92 | 128.29 | 200 |
Company C | 12 | 62 | 76.42 | 129 | 92 | 112.75 | 174 |
Formulas:
COUNTIF(Data!B:B,A2) | AVERAGEIF(Data!B:B,A2,Data!K:K) | MAXIFS(Data!K:K,Data!B:B,A2) | MINIFS(Data!J:J,Data!B:B,A2) | AVERAGEIF(Data!B:B,A2,Data!J:J) | MAXIFS(Data!J:J,Data!B:B,A2) |