• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 289
  • Last Modified:

Pull Characters Before Specific Character

I have a values like this:

CISCO2611XM-DC | Network Hardware Resale

in a column

I need to pull out everything before the |

If there is no | I want to leave the cell blank.

How can I do this
0
cstormer
Asked:
cstormer
1 Solution
 
nutschCommented:
Try this:

=iferror(left(a1,find("|",a1)-1),"")
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now