+ Reply to Thread
Results 1 to 5 of 5

Text function will not TRIM!

Hybrid View

  1. #1
    Registered User
    Join Date
    05-06-2014
    Location
    Cali or philly
    MS-Off Ver
    Excel 2003
    Posts
    60

    Wink Text function will not TRIM!

    for example
    A1 = " unit message is message 19 + (P_TGT_WFI_QTY – U_INFLIGHT_AMNT) + message 2"

    A1 also Equals IF(AQ4="",AM4,IFERROR(MID(AM4,1,AR4),AM4))


    So it is a formula not a plain text

    How do I get rid of the space infront of the A1 ( " unit.....")


    TRIM FUNCTION DOES NOT WORK

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Text function will not TRIM!

    Find out what the character is.

    What result do you get with this formula:

    =CODE(A1)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    05-06-2014
    Location
    Cali or philly
    MS-Off Ver
    Excel 2003
    Posts
    60

    Re: Text function will not TRIM!

    Oh **** thank you I got it!

    Why is there a ASCII space in my formula...?

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Text function will not TRIM!

    Where does the data come from?

    Does it come from the web? Web data is notoriously full of html "junk"!

  5. #5
    Registered User
    Join Date
    05-06-2014
    Location
    Cali or philly
    MS-Off Ver
    Excel 2003
    Posts
    60

    Re: Text function will not TRIM!

    so essentially and automated program

+ 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. Function to trim a specific "words" in a text
    By Ericng in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 03-03-2014, 06:45 AM
  2. [SOLVED] Using Trim Function to remove excess space in Sumif function
    By st_judeu@yahoo.com in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-08-2013, 05:10 PM
  3. [SOLVED] Trim text
    By rizmomin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-15-2013, 02:34 PM
  4. Trying to trim a trailing space char and the Trim function isn't working
    By Psychochook in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2007, 11:28 PM
  5. trim function-how would one incorporate the trim function within the if statement?
    By specter@doom.com in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-29-2005, 11:10 PM

Tags for this Thread

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