+ Reply to Thread
Results 1 to 5 of 5

How do I indicate a cell that doesnt contain an actual telephone number

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    How do I indicate a cell that doesnt contain an actual telephone number

    Hi i am putting together a sheet that uses exported information from another software package, the information contains a column of telehpone numbers, some cells in the column appear to be blank, however when I use =code to signify an occupied cell (either 48 or 32), this helps however I want to use a helper column to either indcvate a 1 for an actual telephone number or a 2 for what appears to be a blank cell.

    Due to the sensitive nature of the number I cannot post an example.

    Any ideas welcome.

    John

  2. #2
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: How do I indicate a cell that doesnt contain an actual telephone number

    Hi John

    You could use
    =IF(ISBLANK(A1),2,1)

    Alternatively, if your data is in a Table, or if you apply Autofilter to your list, you could use the dropdown on the relevant column > De-Select All > Select Blank
    --
    Regards
    Roger Govier
    Microsoft Excel MVP

  3. #3
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: How do I indicate a cell that doesnt contain an actual telephone number

    Hi Roger, thanks for the response, I have applied your formula but it still returns a 1 on a cell that appears blank but isnt.

    John

  4. #4
    Valued Forum Contributor
    Join Date
    07-17-2005
    Location
    Abergavenny, Wales, UK
    MS-Off Ver
    XL2003, XL2007, XL2010, XL2013, XL2016
    Posts
    608

    Re: How do I indicate a cell that doesnt contain an actual telephone number

    Hi John

    then the "blank" cell has a space character or some hidden character.
    On the assumption it is likely to be a single space, then try the following
    =IF(ISBLANK(A1),2,IF(LEN(A1)=1,3,1))

  5. #5
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: How do I indicate a cell that doesnt contain an actual telephone number

    Brilliant mate, works a treat.

    JD

+ 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. Replies: 9
    Last Post: 06-14-2013, 04:38 AM
  2. entering a telephone number
    By GarryHearts in forum Excel General
    Replies: 2
    Last Post: 11-19-2007, 09:32 AM
  3. [SOLVED] Can you dial a telephone number located in an cell?
    By Steve D. in forum Excel General
    Replies: 1
    Last Post: 11-20-2005, 01:10 AM
  4. Replies: 1
    Last Post: 01-27-2005, 12:06 PM
  5. [SOLVED] Telephone number format
    By MarkT in forum Excel General
    Replies: 6
    Last Post: 01-18-2005, 07:06 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