Hello!
I am trying to extract data in the following set with only the month columns in the array as return columns.
In the two examples below the top left 2 values of CO# and Data are my variables and the yellow row of each array is what I want it to find as well as the corresponding month in the top row. The transposed example "answers" I want to get are in the green boxes to the left of the data sets.
However, I keep getting the #value! response with my formula - =TRANSPOSE(FILTER(FILTER(D1:J21,(D1:D21=B1)*(E1:E21=B2)*(F2:J21>0),"0"),{0,0,1,1,1,1,1})) which seems to indicate my include arguments are wrong. I don't know how to change them so they are correct.
I appreciate your help!
Shalon
I am trying to extract data in the following set with only the month columns in the array as return columns.
In the two examples below the top left 2 values of CO# and Data are my variables and the yellow row of each array is what I want it to find as well as the corresponding month in the top row. The transposed example "answers" I want to get are in the green boxes to the left of the data sets.
- For the first data set I want to know which months have closings for CO# 56068 and how many closings are in each month.
- For the second data set I'm looking for which months have starts for CO# 56058 and how many in each month.
However, I keep getting the #value! response with my formula - =TRANSPOSE(FILTER(FILTER(D1:J21,(D1:D21=B1)*(E1:E21=B2)*(F2:J21>0),"0"),{0,0,1,1,1,1,1})) which seems to indicate my include arguments are wrong. I don't know how to change them so they are correct.
I appreciate your help!
Shalon
Book1 | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | |||
1 | Co# | 56068 | Co# | Data | OCT 2021 | NOV 2021 | DEC 2021 | JAN 2022 | FEB 2022 | Co# | 56058 | Co# | Data | OCT 2021 | NOV 2021 | DEC 2021 | JAN 2022 | FEB 2022 | |||||
2 | Data | Closings | 56058 | Sales | 8 | 7 | 12 | 7 | 8 | Data | Starts | 56058 | Sales | 8 | 7 | 12 | 7 | 8 | |||||
3 | 56058 | Starts | 14 | 8 | 7 | 8 | 8 | 56058 | Starts | 14 | 8 | 7 | 8 | 8 | |||||||||
4 | OCT 2021 | 5 | 56058 | Closings | 8 | 6 | 9 | 8 | 6 | OCT 2021 | 14 | 56058 | Closings | 8 | 6 | 9 | 8 | 6 | |||||
5 | DEC 2021 | 4 | 56063 | Sales | 0 | 0 | 0 | 0 | 0 | NOV 2021 | 8 | 56063 | Sales | 0 | 0 | 0 | 0 | 0 | |||||
6 | 56063 | Starts | 0 | 0 | 0 | 0 | 0 | DEC 2021 | 7 | 56063 | Starts | 0 | 0 | 0 | 0 | 0 | |||||||
7 | #VALUE! | 56063 | Closings | 0 | 1 | 1 | 0 | 0 | JAN 2022 | 8 | 56063 | Closings | 0 | 1 | 1 | 0 | 0 | ||||||
8 | 56068 | Sales | 1 | 0 | 0 | 0 | 0 | FEB 2022 | 8 | 56068 | Sales | 1 | 0 | 0 | 0 | 0 | |||||||
9 | 56068 | Starts | 0 | 0 | 0 | 0 | 0 | 56068 | Starts | 0 | 0 | 0 | 0 | 0 | |||||||||
10 | 56068 | Closings | 5 | 0 | 4 | 0 | 0 | 56068 | Closings | 5 | 0 | 4 | 0 | 0 | |||||||||
11 | 56723 | Sales | 6 | 5 | 9 | 5 | 5 | 56723 | Sales | 6 | 5 | 9 | 5 | 5 | |||||||||
12 | 56723 | Starts | 10 | 8 | 9 | 13 | 5 | 56723 | Starts | 10 | 8 | 9 | 13 | 5 | |||||||||
13 | 56723 | Closings | 6 | 5 | 6 | 4 | 4 | 56723 | Closings | 6 | 5 | 6 | 4 | 4 | |||||||||
14 | 56726 | Sales | 6 | 3 | 7 | 8 | 7 | 56726 | Sales | 6 | 3 | 7 | 8 | 7 | |||||||||
15 | 56726 | Starts | 8 | 9 | 7 | 8 | 8 | 56726 | Starts | 8 | 9 | 7 | 8 | 8 | |||||||||
16 | 56726 | Closings | 1 | 5 | 2 | 6 | 3 | 56726 | Closings | 1 | 5 | 2 | 6 | 3 | |||||||||
17 | 56071 | Sales | 6 | 8 | 5 | 5 | 5 | 56071 | Sales | 6 | 8 | 5 | 5 | 5 | |||||||||
18 | 56071 | Starts | 13 | 3 | 8 | 6 | 7 | 56071 | Starts | 13 | 3 | 8 | 6 | 7 | |||||||||
19 | 56071 | Closings | 0 | 0 | 0 | 0 | 0 | 56071 | Closings | 0 | 0 | 0 | 0 | 0 | |||||||||
20 | 56043 | Sales | 8 | 6 | 11 | 6 | 6 | 56043 | Sales | 8 | 6 | 11 | 6 | 6 | |||||||||
21 | 56043 | Starts | 12 | 6 | 8 | 6 | 10 | 56043 | Starts | 12 | 6 | 8 | 6 | 10 | |||||||||
22 | |||||||||||||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A7 | A7 | =TRANSPOSE(FILTER(FILTER(D1:J21,(D1:D21=B1)*(E1:E21=B2)*(F2:J21>0),"0"),{0,0,1,1,1,1,1})) |
Named Ranges | ||
---|---|---|
Name | Refers To | Cells |
_FilterDatabase | =Sheet1!$D$1:$J$72 | A7 |