Results 1 to 3 of 3

Cell content formatted somehow and messing with my formatting formula

Threaded View

  1. #1
    Registered User
    Join Date
    01-20-2013
    Location
    England
    MS-Off Ver
    Excel 2013
    Posts
    18

    Cell content formatted somehow and messing with my formatting formula

    Hi guys,

    I got an excel file from an extract of a database contained in another application.
    It looks like the entries have been formatted in someway.
    What is displayed is not the same thing as the cell content.

    For example:
    In cell A1, I see "0165723130"
    but when I select the cell, it shows "165723130" in the formula bar.

    As the external application has added a zero at the end of each entry and that each entry is supposed to be only 9 digits, I was looking at removing the last zero by using formula in B1=LEFT(A1,9)
    But it gives 165723130 instead of 016572123. Just like if it was using what is in the formula bar when selecting A1.
    In the format list, the cell is shown as "Custom" format. Whatever I changed it to, it does not keep the leading 0.
    The only solution I found is to copy all value to the block note and remove the last 0, one by one... But there are more than 2000 entries

    I am not quite sure what sort of evil magic is happening to my cells. Any suggestion will be greatly appreciated.
    Last edited by ctrc; 11-21-2016 at 07:53 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy formatted cell content to email body
    By Alsiro in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-02-2014, 04:14 PM
  2. [SOLVED] Formula in cell messing up logical test
    By lumberjim in forum Excel General
    Replies: 4
    Last Post: 02-09-2013, 08:24 PM
  3. Replies: 3
    Last Post: 11-19-2012, 11:48 AM
  4. tarnsferring the formatted cell content to Pivots
    By Shadmani in forum Excel - New Users/Basics
    Replies: 0
    Last Post: 07-21-2009, 10:57 AM
  5. Bringing formatted word content into excel cell
    By zkazi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-15-2009, 02:33 PM
  6. Replies: 2
    Last Post: 08-03-2006, 05:45 AM
  7. Conditional Formatting if cell content is a formula
    By oldsambvca in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-06-2006, 05:30 PM

Tags for this Thread

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