+ Reply to Thread
Results 1 to 2 of 2

Cell Formatting not working - breaks INDEX/Match

  1. #1
    Registered User
    Join Date
    08-07-2013
    Location
    Sparta
    MS-Off Ver
    Excel 2010
    Posts
    7

    Cell Formatting not working - breaks INDEX/Match

    I am trying to build a template for testing and I have to use about 95000 zipcodes. this is in it's own sheet (say, zipcodes)

    I am predominently using index/match to look up values but because the zipcode column is in text format to preserve the leading zero's I always get a #N/A error because the format in the zipcode cell; in the results sheet is in number (special custom) format.

    My solution is to convert the 95000 zipcodes to number format.

    I have tried the following and it hasn't worked:
    - highlighted the column (all cells) - changed format to number. But when i use the =istext function against any of these cells, the outcome is "true", as in "it's still text format"
    - copied the entire zipcode column, pasted it to another column formatted as a number. Pasted special by keeping number format. This didn't work

    The only that does work is if I:
    - Convert the column to number format, double click on each cell - but this is not viable to me as I have large amount of data

    Is there another way where I can mass the change format of this zipcode column from text to number?

    Thanks in advance

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,813

    Re: Cell Formatting not working - breaks INDEX/Match

    Highlight the column with the zipcodes in, click on Data | Text-to-columns, then click Finish.

    Note that you will loose leading zeros, and if these are significant it may be better to amend your formula so that you do not need to change the zip codes. Post an example of the formula that you are using.

    Hope this helps.

    Pete

+ 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] Index/match with breaks in collums
    By tahuhali in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-10-2014, 09:07 AM
  2. [SOLVED] Working INDEX MATCH with SEARCH, but I need to add another MATCH to the formula!
    By DaveBre in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-11-2014, 01:03 AM
  3. Correct/Working (Index,Match) formula not working between cells
    By barnerd in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 02-11-2014, 01:20 PM
  4. [SOLVED] Index + Match not working beyond one cell
    By Poliuy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-04-2013, 05:29 PM
  5. [SOLVED] display last non empty cell text - VLOOKUP, INDEX, MATCH not working :(
    By salomip13 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-26-2013, 03:17 AM
  6. INDEX MATCH MATCH working great and then failing on me.
    By HeikEve in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-25-2013, 01:40 PM
  7. Replies: 2
    Last Post: 05-24-2013, 09:32 AM

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