Results 1 to 5 of 5

String extraction

Threaded View

pytheus String extraction 09-17-2014, 06:43 PM
mehmetcik Re: String extraction 09-17-2014, 06:56 PM
mehmetcik Re: String extraction 09-17-2014, 06:57 PM
pytheus Re: String extraction 09-17-2014, 07:03 PM
Richard Buttrey Re: String extraction 09-17-2014, 07:19 PM
  1. #1
    Registered User
    Join Date
    11-08-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2013/10/07/03
    Posts
    33

    String extraction

    Good morning all,

    Working on a string extraction formula using a couple cells that i need to have in a defined format. Essentially i need the format to be the same as the following : IIMS:2014-08-01-00001
    The string extraction needs to look up 2 different cells to get this data. One which contains the date (C2), the other contains the last number (D2).

    What i have been working with so far is ="IIMS:"&year(C2)&"-"&Month(C2)&"-"&Day(C2)&"-"&MID(D2,FIND("S",D2)+1,FIND(":",D2)-FIND("S",D2)-1)

    The mid part isnt the most elegant so i imagine i can tidy that up, but the main issue is the output format is not right as per below.

    Result - IIMS:2014-8-1-1
    Expected - IIMS:2014-08-01-00001

    See attached for a probably less confusing explanation.

    Cheers,

    Pytheus
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. multiple criteria search and extraction from string!
    By oasafox in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-28-2014, 07:27 AM
  2. Replies: 6
    Last Post: 12-08-2013, 06:23 AM
  3. [SOLVED] URL extraction help
    By mecutemecute in forum Excel General
    Replies: 10
    Last Post: 06-10-2013, 01:18 AM
  4. String Extraction
    By qcity in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-27-2011, 10:58 PM
  5. String Extraction...
    By iceberg27 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2005, 12: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