+ Reply to Thread
Results 1 to 2 of 2

Formula to delete any blank spaces in a UPC code

  1. #1
    Registered User
    Join Date
    01-01-2014
    Location
    United States
    MS-Off Ver
    O365 (v2204)
    Posts
    82

    Formula to delete any blank spaces in a UPC code

    I am trying to remove spaces fro a list of UPC codes and =trim does not work. I have also tried to replace the space and whn I do excell removes the leading zero on skus that have them and gives me 6.5407E+11 on the first sample sku below and 26715204991 on the second sku below (missing leading zero now)

    Here is a sample two skus:
    6 56407 03125 5
    0 26715 20499 1

    How can I do this correctly?

    Happy Thanksgiving

  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 2406
    Posts
    44,426

    Re: Formula to delete any blank spaces in a UPC code

    Hi again and thanks for opeing your own thread. Is this it?

    =SUBSTITUTE(A1," ","")
    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

+ 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: 8
    Last Post: 11-26-2015, 12:46 PM
  2. [SOLVED] Delete rows with blank spaces in column A in multiple worksheets
    By alice2011 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-25-2015, 09:06 AM
  3. [SOLVED] VBA Code to delete trailing spaces:
    By Chad Bateman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2015, 05:56 PM
  4. Delete blank spaces from a named range
    By Taemex in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-10-2014, 04:02 PM
  5. Replies: 1
    Last Post: 10-17-2014, 02:16 AM
  6. VBA code to delete the space at the first or end and one of tow spaces together
    By s_samira_21 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-17-2011, 12:46 AM
  7. Replies: 1
    Last Post: 06-20-2009, 03:43 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