如图:
让F3单元格下拉选择后,A2单元格自动带出相对应数据
例如:F2=海天 A2=海天酱油
你这张图里的SQL写错了,应该这么写
sql("mysql/Yy","select DWMC from B1 where DWMC like '%"+A3+"%'",1,1)
参考
https://help.fanruan.com/finereport/doc-view-608.html
https://help.fanruan.com/finereport/doc-view-534.html