Criteria List

default_name

Board Regular
Joined
May 16, 2018
Messages
180
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
  2. MacOS
Hello all,

It was kind of tricky to come up with the best way to title this thread...my apologies for vagueness.

I have a pretty big spreadsheet with a lot of detailed items.
Rows A:CV are a bunch of details about an item.
Rows CV:DH are a list of categories...if the item meets certain Category characteristics, then it is listed as TRUE.
Basically, the table looks something like this:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B to CV[/TD]
[TD]CW[/TD]
[TD]CX[/TD]
[TD]CY[/TD]
[TD]CZ[/TD]
[TD]DA[/TD]
[TD]DB[/TD]
[TD]DC[/TD]
[TD]DD[/TD]
[TD]DE[/TD]
[TD]DF[/TD]
[TD]DG[/TD]
[TD]DH[/TD]
[TD]DI[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]Category A
[/TD]
[TD]Category B[/TD]
[TD]Category C[/TD]
[TD]Category D[/TD]
[TD]Category E[/TD]
[TD]Category F[/TD]
[TD]Category G[/TD]
[TD]Category H[/TD]
[TD]Category I[/TD]
[TD]Category J[/TD]
[TD]Category K
[/TD]
[TD]Category L[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Item 1[/TD]
[TD]a bunch of details about the item[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Item 2[/TD]
[TD]a bunch of details about the item[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Item 3[/TD]
[TD]a bunch of details about the item[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Item 4[/TD]
[TD]a bunch of details about the item[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Item 5[/TD]
[TD]a bunch of details about the item[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7...
[/TD]
[TD]...thousands of items...[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I am trying to figure out how to break down the results into a list on the same cell...something like this:

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B to CV[/TD]
[TD]CW[/TD]
[TD]CX[/TD]
[TD]CY[/TD]
[TD]CZ[/TD]
[TD]DA[/TD]
[TD]DB[/TD]
[TD]DC[/TD]
[TD]DD[/TD]
[TD]DE[/TD]
[TD]DF[/TD]
[TD]DG[/TD]
[TD]DH[/TD]
[TD]DI[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]Category A
[/TD]
[TD]Category B
[/TD]
[TD]Category C
[/TD]
[TD]Category D
[/TD]
[TD]Category E
[/TD]
[TD]Category F
[/TD]
[TD]Category G
[/TD]
[TD]Category H
[/TD]
[TD]Category I
[/TD]
[TD]Category J
[/TD]
[TD]Category K
[/TD]
[TD]Category L
[/TD]
[TD]Possible Categories
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Item 1[/TD]
[TD]a bunch of details about the item[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]Category A, Category D, Category H[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Item 2[/TD]
[TD]a bunch of details about the item[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]Category B, Category C, Category G, Category H, Category I[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Item 3[/TD]
[TD]a bunch of details about the item[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]Category E, Category F, Category J[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Item 4[/TD]
[TD]a bunch of details about the item[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]Category D, Category L[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Item 5[/TD]
[TD]a bunch of details about the item[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]Category A, Category E, Category F, Category I[/TD]
[/TR]
[TR]
[TD]7...[/TD]
[TD]...thousands of items...[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Interpretation: Item 1 belongs Category A, Category D, and Category H.

Hope that makes sense.

Thanks in advance for your help!
 
Last edited:
It's whether you want a "carriage return" between each value or a coma, see posts 4 & 5
 
Upvote 0

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Turning on WrapText with the carriage return/NL looks great.
However, I am not able to get the correct results in the all FALSE instances.
See below in red for an example:


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B to CV[/TD]
[TD]CW[/TD]
[TD]CX[/TD]
[TD]CY[/TD]
[TD]CZ[/TD]
[TD]DA[/TD]
[TD]DB[/TD]
[TD]DC[/TD]
[TD]DD[/TD]
[TD]DE[/TD]
[TD]DF[/TD]
[TD]DG[/TD]
[TD]DH[/TD]
[TD]DI[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD]Category A
[/TD]
[TD]Category B
[/TD]
[TD]Category C
[/TD]
[TD]Category D
[/TD]
[TD]Category E
[/TD]
[TD]Category F
[/TD]
[TD]Category G
[/TD]
[TD]Category H
[/TD]
[TD]Category I
[/TD]
[TD]Category J
[/TD]
[TD]Category K
[/TD]
[TD]Category L
[/TD]
[TD]Possible Categories
[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Item 1[/TD]
[TD]a bunch of details about the item[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]Category A
Category D
Category H
[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Item 2[/TD]
[TD]a bunch of details about the item[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]Category B
Category C
Category G
Category H
Category I
[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Item 3[/TD]
[TD]a bunch of details about the item[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]Category E Category F Category J
[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Item 4[/TD]
[TD]a bunch of details about the item[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]Category D
Category L
[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Item 5[/TD]
[TD]a bunch of details about the item[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]TRUE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]FALSE[/TD]
[TD]Category A Category E Category F Category I
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]Item 6
[/TD]
[TD]a bunch of details about the item
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]FALSE
[/TD]
[TD]#VALUE!
[/TD]
[/TR]
[TR]
[TD]8...
[/TD]
[TD]...thousands of items...[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

Thanks for your patience and help!
You're great!
 
Upvote 0
Not sure why that doesn't work for you as it works for me

Book1
ABCDEFGHIJKLMNO
1Category ACategory BCategory CCategory DCategory ECategory FCategory GCategory HCategory ICategory JCategory KCategory L
2Item 1a bunch of details about the itemTRUEFALSEFALSETRUEFALSEFALSEFALSETRUEFALSEFALSEFALSEFALSECategory A Category D Category H
3Item 2a bunch of details about the itemFALSETRUETRUEFALSEFALSEFALSETRUETRUETRUEFALSEFALSEFALSECategory B Category C Category G Category H Category I
4Item 3a bunch of details about the itemFALSEFALSEFALSEFALSETRUETRUEFALSEFALSEFALSETRUEFALSEFALSECategory E Category F Category J
5Item 4a bunch of details about the itemFALSEFALSEFALSETRUEFALSEFALSEFALSEFALSEFALSEFALSEFALSETRUECategory D Category L
6Item 5a bunch of details about the itemTRUEFALSEFALSEFALSETRUETRUEFALSEFALSETRUEFALSEFALSEFALSECategory A Category E Category F Category I
7Item 6a bunch of details about the itemFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSEFALSENA
Sheet1
Cell Formulas
RangeFormula
O2=DefaultName(C2:N2,$C$1:$N$1)
 
Upvote 0

Forum statistics

Threads
1,223,918
Messages
6,175,365
Members
452,638
Latest member
Oluwabukunmi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top