+ Reply to Thread
Results 1 to 12 of 12

Split String based on Date Format

  1. #1
    Registered User
    Join Date
    08-21-2012
    Location
    Modesto, CA
    MS-Off Ver
    Excel 2007
    Posts
    45

    Split String based on Date Format

    Ciao All ~

    Would like to chart/visualize item trends based on final auction prices. Not sure how to split a String based on the Date format.

    Here's the original String : "$1,334.00May-21 17:19or Best OfferFree Shipping"

    The date format is consistent throughout all the strings. Simply looking to split a column these in three parts.

    Dollar Amount | Date Format | "Rest of String"

    Appreciate your help in advance.

    Artikyulashun

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Split String based on Date Format

    Please also show other rows as an example.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    08-21-2012
    Location
    Modesto, CA
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Split String based on Date Format

    Here are a few more relative string examples if needed :

    $109.00Apr-9 18:57or Best Offer+$4.20 shipping
    $112.50Apr-30 09:0421 bids+$4.20 shipping
    $164.95Apr-21 12:30or Best Offer+$3.80 shipping
    $2,299.99May-22 15:00or Best OfferFree Shipping
    $25.00Mar-27 10:55Buy It NowFree Shipping

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Split String based on Date Format

    B1 =LEFT($A1,SEARCH(".",$A1,1)+2) and drag down

    C1 =MID($A1,LEN($B1)+1,SEARCH(":",$A1;1)-LEN(B1)+2) and drag down

    D1 =RIGHT($A1,LEN(A1)-(LEN(B1)+LEN(C1))) and drag down

  5. #5
    Registered User
    Join Date
    08-21-2012
    Location
    Modesto, CA
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Split String based on Date Format

    The C1 Formula appears to be amiss. Is it the SEARCH function?

  6. #6
    Registered User
    Join Date
    08-21-2012
    Location
    Modesto, CA
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Split String based on Date Format

    Looks like : =MID($A1,LEN($B1)+1,SEARCH(":",$A1;1)-LEN(B1)+2)

    Should be : =MID($A1,LEN($B1)+1,SEARCH(":",$A1,1)-LEN(B1)+2)

  7. #7
    Registered User
    Join Date
    08-21-2012
    Location
    Modesto, CA
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Split String based on Date Format

    Perfect. Thank you for very much for the assist!

    Wij houden van Oranje! [ Father was born in the small town of Monster. :-) ]

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Split String based on Date Format

    Typo ; instead of ,

    Looks like : =MID($A1,LEN($B1)+1,SEARCH(":",$A1,1)-LEN(B1)+2)

  9. #9
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Split String based on Date Format

    Oh the well known town Monster in the area of The Hague.

  10. #10
    Registered User
    Join Date
    08-21-2012
    Location
    Modesto, CA
    MS-Off Ver
    Excel 2007
    Posts
    45

    Re: Split String based on Date Format

    That'd be the one ... not sure what it is well known for outside of the name though.

  11. #11
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Split String based on Date Format

    I am just joking. It is a small village, so of course it is not well know to other people.

  12. #12
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Split String based on Date Format

    Thanks for the rep.

    Glad I could help.

    If you are satisfied with the solution, please mark the question solved.

+ 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. Conditional Format a Calendar based on Date Values and Text String
    By djwhite2710 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-23-2019, 04:12 PM
  2. Split the string based on delimiters
    By Reddiiiiii in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-05-2017, 07:47 AM
  3. [SOLVED] Split a string into 3 parts based on _ sybol
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-31-2016, 06:00 PM
  4. How to split a string based on a sub string
    By dippa in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 11-24-2014, 08:04 PM
  5. [SOLVED] Split string based on character count
    By cedric_dranreb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-19-2013, 05:14 AM
  6. Need Formula/VBA Code to convert date in String Format to Normal Date format
    By Karthik Sen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-18-2012, 04:54 AM
  7. Split String into many columns according to Format criteria
    By wali in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 05-23-2010, 01:50 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