I have a master database that lists the company with associated products and the clinical trial phase the product is in for different diseases. I am trying to only pull in columns that have values in them from the master tab. If there are no values, that column should not show (I do not want a blank column to appear). I also want to add the column header to be included.
1 Answer
You could try using the following formula:
=TOROW(IF(($H3=$A3)*($I3=$B$3:$B$6)*($C$3:$E$6<>""),$C$2:$E$2&" "&$C$3:$E$6,NA()),2)