WildBurrow
New Member
- Joined
- Apr 5, 2021
- Messages
- 41
- Office Version
- 365
- Platform
- Windows
I'm circling the drain here.
I have a table with 53 columns and 302 rows. Column A is populated with sequential serial numbers, while Columns B through BC are blank.
Once a record is created, Columns B through BC are populated with specific information.
I need to create a filter that will;
1) filter out blank rows (determined by Column B cell being empty), then
2) filter those records based upon a value in a specific cell (BQ1) that matches table values in Column BC, then
3) filter those records based upon an array value (e.g. "Assessment", "Response", "Stabilization", etc.), then finally
4) display those results and show only eight specific columns (column numbers 1,2,4,7,14,15,17,41)
What I've tried so far:
Any suggestions?
I have a table with 53 columns and 302 rows. Column A is populated with sequential serial numbers, while Columns B through BC are blank.
Once a record is created, Columns B through BC are populated with specific information.
I need to create a filter that will;
1) filter out blank rows (determined by Column B cell being empty), then
2) filter those records based upon a value in a specific cell (BQ1) that matches table values in Column BC, then
3) filter those records based upon an array value (e.g. "Assessment", "Response", "Stabilization", etc.), then finally
4) display those results and show only eight specific columns (column numbers 1,2,4,7,14,15,17,41)
What I've tried so far:
1). If I write the formula to only include records that I know have values in Column B, I can get it to return a list which is filtered by Column BC and the specific array explained in item 3 above, and finally filtered to show the eight columns noted in item 4 above. This is the closest I have gotten to getting the desired results.
=FILTER(FILTER(A2:BC116,(BC2:BC116=BQ1)*(ISNUMBER(MATCH(B2:B116,{"Assessment","Response","Stabilization","Remediation / Recovery"},0)))),{1,1,0,1,0,0,1,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0})
I've tried to include (B2:B302:<>"") in various locations of the above formula, but get one of the infamous error messages, such as #Calc! and #Value! (please don't ask which one, I've tried so many ways, that I can't recall which position triggered which error).
2). Conversely, I can get it to filter blank rows(based upon empty cells in Column B) and show only the eight columns noted in item 4 above.
=FILTER(FILTER(A2:BC302,(B2:B302<>""),"No Records"),{1,1,0,1,0,0,1,0,0,0,0,0,0,1,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0})
I've tried to include (BC2:BC116=BQ1) in various locations but it would also return with error messages.
My mind tells me that I need to remove the blank rows first, then filter the data based upon the values in Column BC matching the cell value in BQ1, then finally filtering out unwanted columns. I just can't seem to figure out the language and/or order.Any suggestions?