• Remove Redundant Characters (Excel 2003)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Remove Redundant Characters (Excel 2003)

    Author
    Topic
    #454106

    Greetings All

    I used this formula to remove redundant characters from a Range
    =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,”(“,””),”)”,””),”,”,””),”‘”,””),”-“,””))
    it remove all except ” from the cells. What is need to place in the formula to remove ”

    Thanks

    regards,

    Viewing 1 reply thread
    Author
    Replies
    • #1126457

      Try

      =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"""",""),"(",""),")",""),",",""),"'",""),"-",""))

      Note: this is a single formula even if your browser wraps the text.

    • #1126468

      Another option :

      =MID(A1,ISNUMBER(FIND(“(“,A1))+1,SUMPRODUCT(–(CODE(RIGHT(A1,ROW(INDIRECT(“1:”&LEN(A1)))))>64)))

      Regards
      Bosco

      • #1126817

        appreciate if you can explain this interesting formula

        thanks, francis

      • #1126826

        Your formula doesn’t handle non-alphabetic characters that are not at the end of a string. For example, (Power+Point) becomes Power+Poin, and “123 Go” becomes “1

        • #1126879

          1] Good catch, thanks Hans

          2] Or try ………

          =SUBSTITUTE(LEFT(A1,LOOKUP(” “,T(INDIRECT(MID(A1,ROW($1:$255),1)&255)),ROW($1:$255))),”(“,””)

          or

          =SUBSTITUTE(LEFT(A1,LOOKUP(1,N(INDIRECT(MID(A1,ROW($1:$255),1)&255)),ROW($1:$255))),”(“,””)

          Regard
          Bosco

    Viewing 1 reply thread
    Reply To: Remove Redundant Characters (Excel 2003)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: