+ Reply to Thread
Results 1 to 2 of 2

Function resulting errors

  1. #1
    Forum Contributor
    Join Date
    06-24-2012
    Location
    Australia
    MS-Off Ver
    Office365
    Posts
    302

    Function resulting errors

    Hello Experts,,
    Yesterday Pete_UK helped me to extract Fax and Tel number it wored well ; I have modified same function to extract names, post code, but failed miserably!
    Please see attached Excel 2007 file
    Could you please review for errors...
    Thanks
    Karnik
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Function resulting errors

    You only gave 1 sample to work with, but based on that, try this Manager, copied down...
    =IF(ISNUMBER(SEARCH(M$1,A3,1)),MID(A3,LEN(M$1)+3,SEARCH("Lic",A3,1)-2-LEN(M$1)-2),"")

    and for Licence, use this, copied down...
    =IF(ISNUMBER(SEARCH("Lic",A3,1)),MID(A3,SEARCH("Lic",A3,1)+12,SEARCH(" ",A3,SEARCH("Lic",A3,1)+14)-(SEARCH("Lic",A3,1)+12)),"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. Looping using left function resulting in Concatenate
    By jaimie1664 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-12-2010, 08:12 AM
  2. IF function resulting from two different cells......or LOOKUP????
    By Jen12345 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-20-2008, 12:12 PM
  3. Replies: 10
    Last Post: 02-28-2006, 09:45 PM
  4. [SOLVED] How to replace a function with its resulting reference in a formula?
    By Dmitry Kopnichev in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-13-2005, 05:05 PM
  5. [SOLVED] Eliminating Errors Resulting from If Functions with Multiple Conditions
    By Stephanie in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-25-2005, 03:43 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