excellingatnothing
New Member
- Joined
- Mar 14, 2018
- Messages
- 4
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Find[/TD]
[TD]Return[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD][/TD]
[TD]Header1[/TD]
[TD]Header2[/TD]
[TD]Header3[/TD]
[TD]Header 4[/TD]
[TD]Header 5[/TD]
[/TR]
[TR]
[TD]hotel[/TD]
[TD]Header2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]alpha[/TD]
[TD]beta[/TD]
[TD]beta[/TD]
[TD]alpha[/TD]
[TD]beta[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Header4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]beta[/TD]
[TD]charlie[/TD]
[TD]echo[/TD]
[TD]hotel[/TD]
[TD]golf[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]hotel[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
copied this from somewhere but can't implement it on mine. i'm a total excel noob, excuse the absolute $ signs.
basically i have a large excel with different products, each product could potentially contain the same documents, and i want to be able to find one document and have it output all of the products it is included in. i got it to work but it stopped working when the documents list exceeded 20.
C1 = COUNTIF($F$2:AF20,"="&A2)
B2 = IF(COLUMNS($B$2:$B$2)>($C$1-$D$1)," ",INDEX($F$1:$AF$1,SMALL(IF($F$2:$AF$2=$A$1,COLUMN($F$2:$AF$99)-COLUMN($F$2)+1),COLUMNS($B$2:B2))))
B3 = IF(COLUMNS($B$2:$B$2)>($C$1-$D$1)," ",INDEX($F$1:$AF$1,SMALL(IF($F$2:$AF$2=$A$1,COLUMN($F$2:$AF$99)-COLUMN($F$2)+1),COLUMNS($B$2:C2))))
B4 = ...
<tbody>[TR]
[TD]Find[/TD]
[TD]Return[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD][/TD]
[TD]Header1[/TD]
[TD]Header2[/TD]
[TD]Header3[/TD]
[TD]Header 4[/TD]
[TD]Header 5[/TD]
[/TR]
[TR]
[TD]hotel[/TD]
[TD]Header2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]alpha[/TD]
[TD]beta[/TD]
[TD]beta[/TD]
[TD]alpha[/TD]
[TD]beta[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Header4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]beta[/TD]
[TD]charlie[/TD]
[TD]echo[/TD]
[TD]hotel[/TD]
[TD]golf[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]hotel[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
copied this from somewhere but can't implement it on mine. i'm a total excel noob, excuse the absolute $ signs.
basically i have a large excel with different products, each product could potentially contain the same documents, and i want to be able to find one document and have it output all of the products it is included in. i got it to work but it stopped working when the documents list exceeded 20.
C1 = COUNTIF($F$2:AF20,"="&A2)
B2 = IF(COLUMNS($B$2:$B$2)>($C$1-$D$1)," ",INDEX($F$1:$AF$1,SMALL(IF($F$2:$AF$2=$A$1,COLUMN($F$2:$AF$99)-COLUMN($F$2)+1),COLUMNS($B$2:B2))))
B3 = IF(COLUMNS($B$2:$B$2)>($C$1-$D$1)," ",INDEX($F$1:$AF$1,SMALL(IF($F$2:$AF$2=$A$1,COLUMN($F$2:$AF$99)-COLUMN($F$2)+1),COLUMNS($B$2:C2))))
B4 = ...