In the attached sample I have two cells for search parameters: a site code to tell my formula which site column to looked through, and a budget code that needs to be validated from that selected column. If the search finds a matching budget code in the column it should echo back that valid budget code in cell B4. If it cannot find the budget code it would return “Error.” Some of the data has strike-through formatting which can be ignored but should still be returned to B4 if it matched the users parameter.
I thought a match and index function/formula would be a good place to start, but I can’t seem to get the syntax right. Any suggestions? Would a SUMPRODUCT be better? Thank you!