+ Reply to Thread
Results 1 to 5 of 5

Combined Functions

  1. #1
    Registered User
    Join Date
    08-19-2005
    Posts
    6

    Combined Functions

    Hello,

    I am trying to streamline my work. I am trying to apply two functions to the same data at once. Is this possible?

    1. PROPER(A1)
    2. TRIM(A1)

    How would I combine the above two and have the result appear in one cell?

    Thanks,

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good afternoon fncuis

    Try this:

    =TRIM(PROPER(A1))

    HTH

    DominicB

  3. #3
    Registered User
    Join Date
    08-19-2005
    Posts
    6
    worked beautifully...


    ...thank you.

  4. #4
    Registered User
    Join Date
    08-19-2005
    Posts
    6
    Does the same relative syntax apply throughout?

    In other words, can I group commands like that just as long as my parans are in place?

  5. #5
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Hi fncuis

    You're welcome. And to answer your other question, yes you can "mix and match" all of the functions, but how easy it is depends on the parameters. This one was easy because each function requires only one parameter so you're asking for the result of "proper" A1 "trimmed". I usually find it easier to write the function with the most parameters first, and once it's working OK add the other functions to it one at a time.

    Glad you found the answer useful.

    DominicB

+ 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