#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 516
Default 11 digits

I am using a cordless scanner to scan barcodes into Excel. The barcodes have
12 digits but my Point Of Sale system only reads the first 11. To import
this information into my POS system I need to drop the last digit. Also some
of the numbers have a leading zero which I must keep as well. Any help on
how to do this would be greatly appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,240
Default 11 digits

Matt wrote:
I am using a cordless scanner to scan barcodes into Excel. The barcodes have
12 digits but my Point Of Sale system only reads the first 11. To import
this information into my POS system I need to drop the last digit. Also some
of the numbers have a leading zero which I must keep as well. Any help on
how to do this would be greatly appreciated.



Not completely sure I understand your problem, but try this:

=LEFT(RIGHT(REPT("0",12)&A1,12),11)
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default 11 digits

If your data comes as text:

=LEFT(A1,11)

If it comes as a number:

=TEXT(INT(A10/10),"00000000000")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Matt" wrote in message
...
I am using a cordless scanner to scan barcodes into Excel. The barcodes
have
12 digits but my Point Of Sale system only reads the first 11. To import
this information into my POS system I need to drop the last digit. Also
some
of the numbers have a leading zero which I must keep as well. Any help on
how to do this would be greatly appreciated.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default 11 digits

Hi Matt
Have you got a software for your scanner ?
Check out this site, there's more then one software.check Home page.
Do a Google search for Barcode software or Barcode readers, many sell software
you can buy.
Usually the first character is a start character and the last one is a CheckSum
character.
HTH
Johm
http://www.taltech.com/products/winwedge.html
HTH
John

"Matt" wrote in message
...
I am using a cordless scanner to scan barcodes into Excel. The barcodes have
12 digits but my Point Of Sale system only reads the first 11. To import
this information into my POS system I need to drop the last digit. Also some
of the numbers have a leading zero which I must keep as well. Any help on
how to do this would be greatly appreciated.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to customize number to 10 digits including 2 digits after deci Carina Excel Worksheet Functions 3 September 20th 07 02:50 AM
last 2 digits rexmann Excel Discussion (Misc queries) 2 March 6th 07 09:40 AM
16 digits Jane Excel Discussion (Misc queries) 10 January 20th 06 11:51 AM
2 DIGITS OUT OF 4 gregork Excel Discussion (Misc queries) 9 February 20th 05 03:30 PM
2 DIGITS OUT OF 4 Knoxi Excel Discussion (Misc queries) 0 February 19th 05 05:54 PM


All times are GMT +1. The time now is 07:15 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"