+ Reply to Thread
Results 1 to 7 of 7

Converting Custom Formatted Cells into raw Data

  1. #1
    Registered User
    Join Date
    10-16-2020
    Location
    Bolton, Ontario
    MS-Off Ver
    MS Office 2016
    Posts
    3

    Exclamation Converting Custom Formatted Cells into raw Data

    Hi everyone!

    I currently have custom formatted Cells all in C1:C300. The Custom Format is in sections, so C1:C100 would have "US" as the custom format, followed by numbers, it looks like:

    US1
    US2
    US3
    etc.

    But the data inside is actually just the numbers 1,2,3. C101:C200 would have a new letter combination, like M or O, like:

    O1
    O2
    etc.

    I want the data to be copy and pasted with the lettering inside. I want to use vlookup formulas to find these "Unique Identifying" numbers, but the vlookup only sees the numerical values and not the unique lettering attached.
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Converting Custom Formatted Cells into raw Data

    See: https://docs.microsoft.com/en-us/off...cel.range.text
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    10-16-2020
    Location
    Bolton, Ontario
    MS-Off Ver
    MS Office 2016
    Posts
    3

    Re: Converting Custom Formatted Cells into raw Data

    Hello TMS!

    I have tried copying the codes and modifying it, but still cannot get the end result of having the formatted cells appear as raw data.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Converting Custom Formatted Cells into raw Data

    Try this

    Please Login or Register  to view this content.

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Converting Custom Formatted Cells into raw Data

    Here's the updated workbook.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-16-2020
    Location
    Bolton, Ontario
    MS-Off Ver
    MS Office 2016
    Posts
    3

    Re: Converting Custom Formatted Cells into raw Data

    AMAZING. Thank you very much TMS! Its perfect. I will analyze this code so I can build more in the future. Thanks again!

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Converting Custom Formatted Cells into raw Data

    You're welcome.

+ 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. Converting data in formatted cells into shapes
    By snipe in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 08-17-2020, 03:31 AM
  2. [SOLVED] Code needed to replace all Custom formatted cells with currency formatted cells
    By dsrt16 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-27-2018, 02:15 AM
  3. [SOLVED] Some cells can't be formatted after converting from Quattro Pro.
    By Bob Umlas, Excel MVP in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  4. [SOLVED] Some cells can't be formatted after converting from Quattro Pro.
    By slock@muccipac in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  5. [SOLVED] Some cells can't be formatted after converting from Quattro Pro.
    By slock@muccipac in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM
  6. [SOLVED] Some cells can't be formatted after converting from Quattro Pro.
    By slock@muccipac in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-04-2005, 05:05 PM
  7. Converting 'General' formatted cells to Text formatted cell using.
    By Zahid Khan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2005, 04:06 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