Results 1 to 2 of 2
  1. #1
    5 Star Lounger
    Join Date
    Jul 2001
    Location
    Terneuzen, Netherlands
    Posts
    895
    Thanks
    0
    Thanked 0 Times in 0 Posts

    get rid of spaces AND points in a cell (EX 97/2000)

    Need to compar two cells but ignore any spaces and/or '.' (points). Can get rid of one using e.g. SUBSTITUTE but need an extra cell to also get rid of the other (using another substitute).

    Anyone with a more elegant solution (non VBA please as that would be too obvious).

    Erik Jan

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: get rid of spaces AND points in a cell (EX 97/2000)

    Not sure about elegance, but a nested SUBSTITUTE should work :<pre> =SUBSTITUTE(SUBSTITUTE(A1,".","")," ","")</pre>


    Andrew C

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •