+ Reply to Thread
Results 1 to 3 of 3

Format problem

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Format problem

    All of my part numbers start with 7 digits. Some continue with a dash(-) and up to 4 additional characters. I have a vendor that does not include my dash, plus they add 4 characters to the front of my part number. I used some LEFT,MID and LEN formula's but could not get it correct. Here is an example of what I start with and how I need it to end up. Thank you!
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Format problem

    Please try this formula

    =IF(LEN(A2)=11,MID(A2,FIND("-",A2)+1,7),MID(A2,FIND("-",A2)+1,7)&"-"&RIGHT(A2,LEN(A2)-11))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Contributor
    Join Date
    07-18-2014
    Location
    Missouri, USA
    MS-Off Ver
    2010
    Posts
    175

    Re: Format problem

    Perfect Thank you!!

+ 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. Format Problem
    By aschwalge in forum Excel General
    Replies: 5
    Last Post: 01-24-2014, 05:50 PM
  2. XX,XX format problem
    By bhavin12300 in forum Excel General
    Replies: 7
    Last Post: 12-17-2009, 10:25 PM
  3. Format problem
    By wwoody in forum Excel General
    Replies: 3
    Last Post: 03-12-2008, 04:56 PM
  4. Format-Having a problem with a format column.
    By Bob W in forum Excel General
    Replies: 2
    Last Post: 01-23-2008, 05:54 PM
  5. [SOLVED] Format Problem
    By Amjad in forum Excel General
    Replies: 1
    Last Post: 09-12-2005, 06:05 AM

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