Can I use SWITCH() to streamline the below? This workbook is very large so I'm trying to keep efficiency at the top of the list.
Basically, I'm matching one cell to a range and need the header name of the corresponding match.
Basically, I'm matching one cell to a range and need the header name of the corresponding match.
Excel Formula:
=IFERROR(IF([@[Priced as]]=[@[Like Mdl Pricing]], pricebook[[#Headers],[Like Mdl Pricing]],
IF([@[Priced as]]=[@[AvgRL Price Device]],pricebook[[#Headers],[AvgRL Price Device]],
IF([@[Priced as]]=[@[Avg RL Price Model]],pricebook[[#Headers],[Avg RL Price Model]],
IF([@[Priced as]]=[@[Standard Price]],pricebook[[#Headers],[Standard Price]],
IF([@[Priced as]]=[@[Avg Budget (Exp rpt)]],pricebook[[#Headers],[Avg Budget (Exp rpt)]],
IF([@[Priced as]]=[@[RFP FSWP Avg.]],pricebook[[#Headers],[RFP FSWP Avg.]])))))),
"nada")