I am hoping you excel geniuses can help me with a formula that will look for the 3rd underscore in a string and truncate all the text after the the 3rd underscore. I need to retain the format before the 3rd underscore though. Note: I may not have the same amount of underscores in each cell, so if there's not enough "underscore", it should return "Text/Logo".
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=293><COLGROUP><COL style="WIDTH: 220pt; mso-width-source: userset; mso-width-alt: 8334" width=293><TBODY><TR style="HEIGHT: 16.5pt" height=22><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 220pt; HEIGHT: 16.5pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl385 height=22 width=293>Example:
Intel_CI_City_VisitCI_300x250_Flash.swf
</TD></TR></TBODY></TABLE>
Output Result:
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=293><COLGROUP><COL style="WIDTH: 220pt; mso-width-source: userset; mso-width-alt: 8334" width=293><TBODY><TR style="HEIGHT: 16.5pt" height=22><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 220pt; HEIGHT: 16.5pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl385 height=22 width=293>Intel_CI_City_VisitCI
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=293><COLGROUP><COL style="WIDTH: 220pt; mso-width-source: userset; mso-width-alt: 8334" width=293><TBODY><TR style="HEIGHT: 16.5pt" height=22><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 220pt; HEIGHT: 16.5pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl385 height=22 width=293>Example 2:
1x1_AMD.gif
</TD></TR></TBODY></TABLE>
Output Result:
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=293><COLGROUP><COL style="WIDTH: 220pt; mso-width-source: userset; mso-width-alt: 8334" width=293><TBODY><TR style="HEIGHT: 16.5pt" height=22><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 220pt; HEIGHT: 16.5pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl385 height=22 width=293>Text/Logo</TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>
I appreciate any help that anyone can give me. Thanks!
<!-- / message -->
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=293><COLGROUP><COL style="WIDTH: 220pt; mso-width-source: userset; mso-width-alt: 8334" width=293><TBODY><TR style="HEIGHT: 16.5pt" height=22><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 220pt; HEIGHT: 16.5pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl385 height=22 width=293>Example:
Intel_CI_City_VisitCI_300x250_Flash.swf
</TD></TR></TBODY></TABLE>
Output Result:
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=293><COLGROUP><COL style="WIDTH: 220pt; mso-width-source: userset; mso-width-alt: 8334" width=293><TBODY><TR style="HEIGHT: 16.5pt" height=22><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 220pt; HEIGHT: 16.5pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl385 height=22 width=293>Intel_CI_City_VisitCI
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=293><COLGROUP><COL style="WIDTH: 220pt; mso-width-source: userset; mso-width-alt: 8334" width=293><TBODY><TR style="HEIGHT: 16.5pt" height=22><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 220pt; HEIGHT: 16.5pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl385 height=22 width=293>Example 2:
1x1_AMD.gif
</TD></TR></TBODY></TABLE>
Output Result:
<TABLE style="WIDTH: 220pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=293><COLGROUP><COL style="WIDTH: 220pt; mso-width-source: userset; mso-width-alt: 8334" width=293><TBODY><TR style="HEIGHT: 16.5pt" height=22><TD style="BORDER-BOTTOM: #d4d0c8; BORDER-LEFT: #d4d0c8; BACKGROUND-COLOR: transparent; WIDTH: 220pt; HEIGHT: 16.5pt; BORDER-TOP: #d4d0c8; BORDER-RIGHT: #d4d0c8" class=xl385 height=22 width=293>Text/Logo</TD></TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE>
I appreciate any help that anyone can give me. Thanks!
<!-- / message -->