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".

Example:
Intel_CI_City_VisitCI_300x250_Flash.swf



Output Result:
Intel_CI_City_VisitCI

Example 2:
1x1_AMD.gif


Output Result:
Text/Logo



I appreciate any help that anyone can give me. Thanks!