• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

IF...OR...AND.. - Whatever it takes to solve this

Hi All:

Attached is a sample file with two columns (Incoming Ticket and Result Ticket). The Incoming Ticket cell is the ‘raw’ data and the Result Ticket cell is desired results, Using an IF/OR or any other applicable operator to get the Result Ticket value, as shown in the sample file, is the goal. As an example, if the Incoming ticket cell has https://Y2I5.sys.Interest.net/browse/ABCEDF-45134, I would like the Result ticket cell to have ABCEDF-45134. Blanks in both cells should return blanks (not ‘False’).

Please let me know if you have any questions. Thanks.

frank
 

Attachments

  • Chandoo_Sample.xlsx
    9.5 KB · Views: 8
Hi:

If your incoming ticket column will not take any other format than what you have in your attached file, you can use the following formula.
Code:
=IF(A2="","",IF(ISNUMBER(VALUE(A2))=TRUE,"ABCDEF-"&A2,"ABCDEF-"&RIGHT(A2,LEN(A2)-SEARCH("-",A2))))

Thanks
 
Back
Top