I have this formula that creates hyperlinks based on the contents in C8. This works fine but it looks rather ugly. It seems like the ))))) characters look clunky. Is there a more elegant way of doing this?
VBA Code:
=IF(COUNTIF($C8,"*1072*"),HYPERLINK("mailto:chadd.willson@blahblahblah","Chadd Willson"),
IF(COUNTIF($C8,"*1076*"),HYPERLINK("mailto:michael.zaski@blahblahblah","Mike Zaski"),
IF(COUNTIF($C8,"*1079*"),HYPERLINK("mailto:scott.bennett@blahblahblah","Scott Bennett"),
IF(COUNTIF($C8,"*1080*"),HYPERLINK("mailto:brian.curry@blahblahblah","Brian Curry"),
IF(COUNTIF($C8,"*1081*"),HYPERLINK("mailto:kyle.trombley@blahblahblah","Kyle Trombley"),
IF(COUNTIF($C8,"*1083*"),HYPERLINK("mailto:scott.bennett@blahblahblah","Scott Bennett"),
IF(COUNTIF($C8,"*1084*"),HYPERLINK("mailto:scott.bennett@blahblahblah","Scott Bennett"),
IF(COUNTIF($C8,"*1085*"),HYPERLINK("mailto:davor.zubac@blahblahblah","Davor Zubac"),
IF(COUNTIF($C8,"*1086*"),HYPERLINK("mailto:davor.zubac@blahblahblah","Davor Zubac"),
IF(COUNTIF($C8,"*1087*"),HYPERLINK("mailto:michael.zaski@blahblahblah","Mike Zaski"),
IF(COUNTIF($C8,"*1089*"),HYPERLINK("mailto:nicholas.surma@blahblahblah","Nicholas Surma"),
IF(COUNTIF($C8,"*1090*"),HYPERLINK("mailto:kevin.demeere@blahblahblah","Kevin DeMeere"),
IF(COUNTIF($C8,"*1091*"),HYPERLINK("mailto:nicholas.surma@blahblahblah","Nicholas Surma"),
IF(COUNTIF($C8,"*1092*"),HYPERLINK("mailto:ali.taha@blahblahblah","Ali Taha"),
IF(COUNTIF($C8,"*1093*"),HYPERLINK("mailto:adam.goldberg@blahblahblah","Adam Goldberg"),
IF(COUNTIF($C8,"*1094*"),HYPERLINK("mailto:adam.goldberg@blahblahblah","Adam Goldberg"),
IF(COUNTIF($C8,"*1095*"),HYPERLINK("mailto:michael.zaski@blahblahblah","Mike Zaski"),
IF(COUNTIF($C8,"*1096*"),HYPERLINK("mailto:eric.henderson@blahblahblah","Eric Henderson"),
IF(COUNTIF($C8,"*1097*"),HYPERLINK("mailto:eric.henderson@blahblahblah","Eric Henderson"),
IF(COUNTIF($C8,"*1098M*"),HYPERLINK("mailto:nicholas.surma@blahblahblah","Nicholas Surma"),
IF(COUNTIF($C8,"*1099*"),HYPERLINK("mailto:michael.zaski@blahblahblah","Mike Zaski"),
IF(COUNTIF($C8,"*1100*"),HYPERLINK("mailto:brian.curry@blahblahblah","Brian Curry"),
IF(COUNTIF($C8,"*1101*"),HYPERLINK("mailto:wally.hedemark@blahblahblah","Wally Hedemark"),
IF(COUNTIF($C8,"*1102*"),HYPERLINK("mailto:garrett.vermeersch@blahblahblah","Garrett Vermeersch"),
IF(COUNTIF($C8,"*1103*"),HYPERLINK("mailto:jason.poag@blahblahblah","Jason Poag"),
IF(COUNTIF($C8,"*1104*"),HYPERLINK("mailto:adam.goldberg@blahblahblah","Adam Goldberg"),
IF(COUNTIF($C8,"*1105*"),HYPERLINK("mailto:davor.zubac@blahblahblah","Davor Zubac"),
IF(COUNTIF($C8,"*1106*"),HYPERLINK("mailto:timothy.clemens@blahblahblah","Tim Clemens"),
IF(COUNTIF($C8,"*1107*"),HYPERLINK("mailto:chadd.willson@blahblahblah","Chadd Willson"),
IF(COUNTIF($C8,"*1108*"),HYPERLINK("mailto:shaun.jaward@blahblahblah","Shaun Jaward"),
IF(COUNTIF($C8,"*1109M*"),HYPERLINK("mailto:shaun.jaward@blahblahblah","Shaun Jaward"),
IF(COUNTIF($C8,"*1110*"),HYPERLINK("mailto:eric.henderson@blahblahblah","Eric Henderson"),
IF(COUNTIF($C8,"*1111*"),HYPERLINK("mailto:michael.zaski@blahblahblah","Mike Zaski"),
IF(COUNTIF($C8,"*1112M*"),HYPERLINK("mailto:kyle.trombley@blahblahblah","Kyle Trombley"),
IF(COUNTIF($C8,"*1113*"),HYPERLINK("mailto:adam.goldberg@blahblahblah","Adam Goldberg"),
IF(COUNTIF($C8,"*1114M*"),HYPERLINK("mailto:eric.henderson@blahblahblah","Eric Henderson"),
IF(COUNTIF($C8,"*1115M*"),HYPERLINK("mailto:scott.bennett@blahblahblah","Scott Bennett"),
IF(COUNTIF($C8,"*1116*"),HYPERLINK("mailto:kirk.peffers@blahblahblah","Kirk Peffers"),
IF(COUNTIF($C8,"*1117*"),HYPERLINK("mailto:kyle.trombley@blahblahblah","Kyle Trombley"),
IF(COUNTIF($C8,"*1118*"),HYPERLINK("mailto:chadd.willson@blahblahblah","Chadd Willson"),
IF(COUNTIF($C8,"*1119*"),HYPERLINK("mailto:michael.zaski@blahblahblah","Mike Zaski"),
IF(COUNTIF($C8,"*1120*"),HYPERLINK("mailto:davor.zubac@blahblahblah","Davor Zubac"),
IF(COUNTIF($C8,"*1121*"),HYPERLINK("mailto:jamie.celestini@blahblahblah","Jamie Celestini"),
IF(COUNTIF($C8,"*1122M*"),HYPERLINK("mailto:timothy.clemens@blahblahblah","Tim Clemens"),
IF(COUNTIF($C8,"*1123*"),HYPERLINK("mailto:michael.zaski@blahblahblah","Mike Zaski"),
IF(COUNTIF($C8,"*1124*"),HYPERLINK("mailto:shaun.jaward@blahblahblah","Shaun Jaward"),
IF(COUNTIF($C8,"*1125*"),HYPERLINK("mailto:shaun.jaward@blahblahblah","Shaun Jaward"),
IF(COUNTIF($C8,"*1126*"),HYPERLINK("mailto:Jacob.Johnson@blahblahblah","Jacob Johnson"),
IF(COUNTIF($C8,"*1127*"),HYPERLINK("mailto:michael.mcgraw@blahblahblah","Mike McGraw"),
IF(COUNTIF($C8,"*1128*"),HYPERLINK("mailto:jamie.celestini@blahblahblah","Jamie Celestini"),
"Z"))))))))))))))))))))))))))))))))))))))))))))))))))