+ Reply to Thread
Results 1 to 2 of 2

Creating charts with custom data formats

  1. #1
    Registered User
    Join Date
    08-16-2011
    Location
    Nowhere, Frosty
    MS-Off Ver
    Excel 2003
    Posts
    1

    Creating charts with custom data formats

    I want to create a chart with data generated from another program. My problem is that Excel won't recognize the data as numbers because the unit is appended to each value (ex: 50km, 5s, etc.). Is there a way to tell excel to just use the numeric values and ignore the letters?

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Creating charts with custom data formats

    one way is to strip the text via formula. Assumes a number/text value in B2

    this is an array formula so comit with CTRL+SHIFT+ENTER

    =LEFT(B2,MIN(IF(ISERROR(FIND(CHAR(ROW(65:90)),UPPER(B2))),LEN(B2)+1,FIND(CHAR(ROW(65:90)),UPPER(B2))-1)))*1
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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