Hello All,
I have a table "CompanyTBL" (A2:B10) and a Named List "TradeLST" (B2:B10). I want to collate a list of company names (the green coloured list) that match the criteria (as shown below). The function shown in inserted into the green list D2 etc. and copied to all cells. It returns the correct values but I want to exclude the "null" values (spaces) in the list. This list will be used later by another dependent dropdown selection so don't want any empty cells. How do modify my function to remove the null cell values and group the returned values to the top of each column? Any help much appreciated.
=IF(COUNTIF(INDEX(CompanyTBL,MATCH($B2,TradeLST,0),2),D$1),$A2,"")
I have a table "CompanyTBL" (A2:B10) and a Named List "TradeLST" (B2:B10). I want to collate a list of company names (the green coloured list) that match the criteria (as shown below). The function shown in inserted into the green list D2 etc. and copied to all cells. It returns the correct values but I want to exclude the "null" values (spaces) in the list. This list will be used later by another dependent dropdown selection so don't want any empty cells. How do modify my function to remove the null cell values and group the returned values to the top of each column? Any help much appreciated.
=IF(COUNTIF(INDEX(CompanyTBL,MATCH($B2,TradeLST,0),2),D$1),$A2,"")