+ Reply to Thread
Results 1 to 2 of 2

Remove leading space

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    127

    Remove leading space

    Hi all,

    Can someone please help me how can I use formula in data validation in such a way that user can not enter leading space in front of the text.
    I need an error alert pop up kind of notification.

    Regards,
    Vikas

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Remove leading space

    You could use this as the DV formula:

    =NOT(LEFT(A1,1)=" ")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. [SOLVED] Remove leading space
    By Karidre in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-05-2015, 12:18 AM
  2. Replies: 8
    Last Post: 11-09-2013, 11:21 AM
  3. [SOLVED] If Cell Starts with a Space, remove that space
    By Ocean Zhang in forum Excel General
    Replies: 2
    Last Post: 09-29-2012, 01:52 PM
  4. remove leading space in cell?
    By djarcadian in forum Excel General
    Replies: 2
    Last Post: 04-01-2008, 02:55 PM
  5. Remove Leading Space
    By edwardpestian in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-11-2006, 10:23 PM

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