Hello and Happy New Year
I would like to change this formula to a UDF or Sub if possible:
IF($D16=0,"0",IF(INDEX(STDRATE,MATCH($C16,Resource_Code_LIST,0))>$AV16,
INDEX(STDRATE,MATCH($C16,Resource_Code_LIST,0)),IF(OR($C16=0,INDEX(
TOTAL_WAGES,MATCH($C16,Resource_Code_LIST,0),MATCH(...