excellingatnothing
New Member
- Joined
- Mar 14, 2018
- Messages
- 4
Find | Return | 2 | 0 | Header1 | Header2 | Header3 | Header 4 | Header 5 | |
hotel | Header2 | alpha | beta | beta | alpha | beta | |||
Header4 | beta | charlie | echo | hotel | golf | ||||
hotel | |||||||||
<tbody>
</tbody>
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 = ...