+ Reply to Thread
Results 1 to 5 of 5

Help with Find and Left Functions

  1. #1
    Forum Contributor
    Join Date
    12-09-2015
    Location
    Virginia, USA
    MS-Off Ver
    2007
    Posts
    123

    Help with Find and Left Functions

    I'm struggling with a formula that will return all the charachters to the left of a "-", but I am having issues with #value when a "-" is not present in the lookup cell...

    When the vlookup cell is blank I need the returned value to be blank (first part of the formula). The second criteria is to find "-". If "-" exists, return all text to the left. If "-" does not exist, then return all text.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Help with Find and Left Functions

    Hi rjj920- try this:
    Please Login or Register  to view this content.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  3. #3
    Forum Contributor
    Join Date
    12-09-2015
    Location
    Virginia, USA
    MS-Off Ver
    2007
    Posts
    123

    Re: Help with Find and Left Functions

    Wow...that worked! Thanks, leelnich! What exactly is that formula saying? I don't understand what the & does...

    Thanks again. this really threw me for a loop!

  4. #4
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Help with Find and Left Functions

    It just tacks a "-" onto the end of the return value, insuring that FIND will succeed when the original value doesn't have a hyphen.

    You're most welcome, I'm glad I could help. If concluded, please mark your thread as SOLVED (Thread Tools above post #1). Regards – Lee
    Last edited by leelnich; 03-25-2018 at 04:59 PM.

  5. #5
    Forum Contributor
    Join Date
    12-09-2015
    Location
    Virginia, USA
    MS-Off Ver
    2007
    Posts
    123

    Re: Help with Find and Left Functions

    Ah...smart! Thanks again.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Using Left and Find functions
    By excelhelpguy123 in forum Excel General
    Replies: 6
    Last Post: 06-07-2017, 11:46 AM
  2. [SOLVED] Combo of right/left/mid and find functions
    By Nickopopolo in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 05-22-2016, 03:28 AM
  3. [SOLVED] Left, Mid, Right Functions
    By mborde3 in forum Excel General
    Replies: 5
    Last Post: 01-21-2015, 10:52 AM
  4. [SOLVED] Help with LEFT/RIGHT VBA Functions?
    By chewedbacca in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2013, 01:56 PM
  5. Find/Left Functions
    By highwyre237 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-19-2009, 11:39 AM
  6. Using LEN and LEFT functions together
    By iamvicann in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-31-2009, 01:56 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1